WordPress/wp-includes/rest-api/endpoints
hellofromTonya 27d239d01b REST API: Improve translations, comments, and readability in URL Details endpoint.
Improvements:
* Removes HTML tags from translatable strings. Uses `sprintf` with placeholder and translators comment.
* Spells out "OG" to "Open Graph" to help translators.
* Adds `@since` param to new filters.
* Improves comments for code standards and consistency.
* Improves readability by making multiple args multiline.
* Micro-optimizations to avoid unnecessary variable assignments.

Follow-up to [51973].

Props hellofromTonya, sergeybiryukov, swissspidy.
Fixes #54358.
Built from https://develop.svn.wordpress.org/trunk@52008


git-svn-id: http://core.svn.wordpress.org/trunk@51599 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-11-04 12:44:01 +00:00
..
class-wp-rest-application-passwords-controller.php Application Passwords: Various docblock improvements. 2021-10-30 20:26:59 +00:00
class-wp-rest-attachments-controller.php Code Modernization: Fix parameter name mismatches for parent/child classes in WP_REST_Controller::prepare_item_for_response(). 2021-09-09 18:36:57 +00:00
class-wp-rest-autosaves-controller.php REST API: Support custom namespaces for custom post types. 2021-10-31 23:16:58 +00:00
class-wp-rest-block-directory-controller.php Code Modernization: Fix parameter name mismatches for parent/child classes in WP_REST_Controller::prepare_item_for_response(). 2021-09-09 18:36:57 +00:00
class-wp-rest-block-renderer-controller.php Docs: Document the globals used in some REST API methods. 2021-06-30 12:34:56 +00:00
class-wp-rest-block-types-controller.php Code Modernization: Fix parameter name mismatches for parent/child classes in WP_REST_Controller::prepare_item_for_response(). 2021-09-09 18:36:57 +00:00
class-wp-rest-blocks-controller.php
class-wp-rest-comments-controller.php Code Modernization: Fix parameter name mismatches for parent/child classes in WP_REST_Controller::prepare_item_for_response(). 2021-09-09 18:36:57 +00:00
class-wp-rest-controller.php Coding Standards: Use static closures when not using $this. 2021-08-26 12:59:02 +00:00
class-wp-rest-pattern-directory-controller.php Code Modernization: Fix parameter name mismatches for parent/child classes in WP_REST_Controller::prepare_item_for_response(). 2021-09-09 18:36:57 +00:00
class-wp-rest-plugins-controller.php Coding Standards: Use static closures when not using $this. 2021-08-26 12:59:02 +00:00
class-wp-rest-post-statuses-controller.php REST API: Support custom namespaces for custom post types. 2021-10-31 23:16:58 +00:00
class-wp-rest-post-types-controller.php REST API: Support custom namespaces for custom post types. 2021-10-31 23:16:58 +00:00
class-wp-rest-posts-controller.php REST API: Support custom namespaces for taxonomies. 2021-11-01 03:27:55 +00:00
class-wp-rest-revisions-controller.php REST API: Support custom namespaces for custom post types. 2021-10-31 23:16:58 +00:00
class-wp-rest-search-controller.php Code Modernization: Fix parameter name mismatches for parent/child classes in WP_REST_Controller::prepare_item_for_response(). 2021-09-09 18:36:57 +00:00
class-wp-rest-settings-controller.php
class-wp-rest-sidebars-controller.php Widgets: Revert [51705]. 2021-09-09 21:40:57 +00:00
class-wp-rest-site-health-controller.php
class-wp-rest-taxonomies-controller.php Docs: Add a @since note for the rest_namespace argument of register_post_type() and register_taxonomy(). 2021-11-01 14:31:00 +00:00
class-wp-rest-templates-controller.php REST API: Support custom namespaces for custom post types. 2021-10-31 23:16:58 +00:00
class-wp-rest-terms-controller.php REST API: Support custom namespaces for taxonomies. 2021-11-01 03:27:55 +00:00
class-wp-rest-themes-controller.php Code Modernization: Fix parameter name mismatches for parent/child classes in WP_REST_Controller::prepare_item_for_response(). 2021-09-09 18:36:57 +00:00
class-wp-rest-url-details-controller.php REST API: Improve translations, comments, and readability in URL Details endpoint. 2021-11-04 12:44:01 +00:00
class-wp-rest-users-controller.php Role/Capability: Add support for capability queries in WP_User_Query. 2021-10-27 18:43:57 +00:00
class-wp-rest-widget-types-controller.php REST API: Sort widget types by their id. 2021-10-02 21:45:03 +00:00
class-wp-rest-widgets-controller.php Widgets: Revert [51705]. 2021-09-09 21:40:57 +00:00