WordPress/wp-includes/rest-api/endpoints
Sergey Biryukov fa9d78cc8c REST API: In WP_REST_Block_Directory_Controller::get_items(), make sure the blocks data for a plugin is not empty before proceeding.
This avoids a PHP notice if the API returns a plugin with empty data for `blocks` key.

Props khag7, TwentyZeroTwo, justinahinon, TimothyBlynJacobs, dd32, SergeyBiryukov.
Merges [48842] to the 5.5 branch.
Fixes #51018.
Built from https://develop.svn.wordpress.org/branches/5.5@48849


git-svn-id: http://core.svn.wordpress.org/branches/5.5@48611 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-08-24 10:35:07 +00:00
..
class-wp-rest-attachments-controller.php Media: Pass the attachment ID to the wp_image_file_matches_image_meta filter. 2020-07-21 16:55:08 +00:00
class-wp-rest-autosaves-controller.php Docs: Remove an empty line between @param and @return tags, per the documentation standards. 2020-06-20 11:18:09 +00:00
class-wp-rest-block-directory-controller.php REST API: In WP_REST_Block_Directory_Controller::get_items(), make sure the blocks data for a plugin is not empty before proceeding. 2020-08-24 10:35:07 +00:00
class-wp-rest-block-renderer-controller.php REST API: Sanitize block renderer attributes. 2020-07-11 20:34:05 +00:00
class-wp-rest-block-types-controller.php REST API: Introduce Block Types endpoint. 2020-06-26 00:46:07 +00:00
class-wp-rest-blocks-controller.php Role/Capability: Use meta caps edit_post, read_post, and delete_post directly. 2020-05-23 15:24:07 +00:00
class-wp-rest-comments-controller.php Comments: Make wp_update_comment() return a WP_Error object for a canceled update, if $wp_error parameter is true. 2020-06-29 23:42:03 +00:00
class-wp-rest-controller.php REST API: Add uniqueItems as a permitted endpoint argument JSON Schema keyword. 2020-08-17 01:42:05 +00:00
class-wp-rest-plugins-controller.php REST API: Install plugin translations after the plugin install. This only installs for the plugin in question, not all plugins. 2020-07-27 18:31:06 +00:00
class-wp-rest-post-statuses-controller.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
class-wp-rest-post-types-controller.php REST API: Issue a _doing_it_wrong when registering a route without a permission callback. 2020-07-21 12:03:05 +00:00
class-wp-rest-posts-controller.php I18N: Remove <code> tags in an error message in WP_REST_Posts_Controller::get_item_schema() for consistency with other strings. 2020-07-25 16:41:02 +00:00
class-wp-rest-revisions-controller.php Role/Capability: Use meta caps edit_post, read_post, and delete_post directly. 2020-05-23 15:24:07 +00:00
class-wp-rest-search-controller.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
class-wp-rest-settings-controller.php General: Remove “whitelist” and “blacklist” in favor of more clear and inclusive language. 2020-06-22 17:26:13 +00:00
class-wp-rest-taxonomies-controller.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
class-wp-rest-terms-controller.php Docs: Spell "falsey" in a consistent way. 2020-07-02 11:30:02 +00:00
class-wp-rest-themes-controller.php REST API: Use a consistent description for the textdomain schema property between plugins and themes controllers. 2020-07-26 21:54:03 +00:00
class-wp-rest-users-controller.php REST API: Issue a _doing_it_wrong when registering a route without a permission callback. 2020-07-21 12:03:05 +00:00