WordPress/wp-includes/rest-api/endpoints
TimothyBlynJacobs e9b5b1a5bc REST API: Allow for string ids in the search controller.
Previously, the search controller infrastructure required that the id property was an integer. This prevents data models that use a string id from utilizing the search infrastructure.

This commit lifts the restraint that search handlers return integer ids. This will allow for the Post Formats search handler coming in 5.6 to use slugs instead of creating fake ids.

Props stoyangeorgiev.
Fixes #51131.

Built from https://develop.svn.wordpress.org/trunk@49088


git-svn-id: http://core.svn.wordpress.org/trunk@48850 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-10-02 17:47:09 +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-22 01:54:11 +00:00
class-wp-rest-block-renderer-controller.php i18n: Ensure block type strings in the REST API end with a full stop. 2020-09-16 19:23:07 +00:00
class-wp-rest-block-types-controller.php i18n: Ensure block type strings in the REST API end with a full stop. 2020-09-16 19:23: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 Docs: Consistently use third-person singular verbs for various filter descriptions, per the documentation standards. 2020-08-11 00:34:08 +00:00
class-wp-rest-controller.php REST API: Extract `WP_REST_Controller::get_endpoint_args_for_item_schema()` to a standalone function. 2020-09-07 02:37:07 +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 Docs: Consistently use third-person singular verbs for various filter descriptions, per the documentation standards. 2020-08-11 00:34:08 +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 REST API: Allow for string ids in the search controller. 2020-10-02 17:47:09 +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 Taxonomy: Allow for `wp_count_terms( $args )` signature, making passing a taxonomy optional. 2020-08-21 22:32:06 +00:00
class-wp-rest-themes-controller.php Docs: Consistently use third-person singular verbs for various filter descriptions, per the documentation standards. 2020-08-11 00:34:08 +00:00
class-wp-rest-users-controller.php Docs: Consistently use third-person singular verbs for various filter descriptions, per the documentation standards. 2020-08-11 00:34:08 +00:00