WordPress/wp-includes/rest-api/endpoints
K. Adam White 96cd4c4224 REST API: Remove misleading comment in WP_REST_Blocks_Controller->get_item_schema.
In r56093 schema caching was added above a comment instructing developers not to cache that controller's schema. However, there is no obvious penalty for re-caching schema that is partially derived from a parent.

Caching schema in the same way in every controller is beneficial consistency, and discussion at WCUS2023 contributor day concluded we could remove this comment.

Props ahardyjpl, davidbinda, johnjamesjacoby, TimothyBlynJacobs.

Fixes #59193. See #58657.

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


git-svn-id: http://core.svn.wordpress.org/trunk@55971 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-08-24 20:23:16 +00:00
..
class-wp-rest-application-passwords-controller.php
class-wp-rest-attachments-controller.php Docs: Replace multiple single line comments with multi-line comments. 2023-07-10 23:00:22 +00:00
class-wp-rest-autosaves-controller.php Docs: Replace multiple single line comments with multi-line comments. 2023-07-10 23:00:22 +00:00
class-wp-rest-block-directory-controller.php
class-wp-rest-block-pattern-categories-controller.php REST API: Cache schema in block pattern and menu item endpoints. 2023-06-28 15:53:26 +00:00
class-wp-rest-block-patterns-controller.php REST API: Cache schema in block pattern and menu item endpoints. 2023-06-28 15:53:26 +00:00
class-wp-rest-block-renderer-controller.php
class-wp-rest-block-types-controller.php Editor: Add selectors field to block type definition 2023-04-21 10:43:25 +00:00
class-wp-rest-blocks-controller.php REST API: Remove misleading comment in WP_REST_Blocks_Controller->get_item_schema. 2023-08-24 20:23:16 +00:00
class-wp-rest-comments-controller.php Docs: Replace multiple single line comments with multi-line comments. 2023-07-10 23:00:22 +00:00
class-wp-rest-controller.php Docs: Replace multiple single line comments with multi-line comments. 2023-07-10 23:00:22 +00:00
class-wp-rest-edit-site-export-controller.php
class-wp-rest-global-styles-controller.php Docs: Replace multiple single line comments with multi-line comments. 2023-07-10 23:00:22 +00:00
class-wp-rest-global-styles-revisions-controller.php Docs: Fix indentation issue in WP_REST_Global_Styles_Revisions_Controller class. 2023-07-19 22:53:23 +00:00
class-wp-rest-menu-items-controller.php REST API: Correct the docblocks for various permission related methods. 2023-08-18 17:46:18 +00:00
class-wp-rest-menu-locations-controller.php REST API: Correct the docblocks for various permission related methods. 2023-08-18 17:46:18 +00:00
class-wp-rest-menus-controller.php REST API: Correct the docblocks for various permission related methods. 2023-08-18 17:46:18 +00:00
class-wp-rest-navigation-fallback-controller.php Docs: Various docblocks corrections. 2023-07-18 07:37:21 +00:00
class-wp-rest-pattern-directory-controller.php Editor: Support the block_types and viewport_width props for remote patterns fetched from Pattern Directory. 2023-02-06 19:40:16 +00:00
class-wp-rest-plugins-controller.php Code Modernization: Replace usage of strpos() with str_contains(). 2023-06-22 14:36:26 +00:00
class-wp-rest-post-statuses-controller.php
class-wp-rest-post-types-controller.php REST API: Fix check for has_archive inclusion. 2022-09-22 11:33:13 +00:00
class-wp-rest-posts-controller.php REST API: Correct the docblocks for various permission related methods. 2023-08-18 17:46:18 +00:00
class-wp-rest-revisions-controller.php Coding Standards: Bring some consistency to REST API revisions initialization. 2023-04-28 15:06:21 +00:00
class-wp-rest-search-controller.php Docs: Miscellaneous improvements and corrections to docblocks. 2023-02-07 21:21:18 +00:00
class-wp-rest-settings-controller.php REST API: Add support for settings to specify their own additionalProperties. 2022-09-11 23:30:10 +00:00
class-wp-rest-sidebars-controller.php Docs: Replace multiple single line comments with multi-line comments. 2023-07-10 23:19:23 +00:00
class-wp-rest-site-health-controller.php I18N: Always pass $locale to load_textdomain(). 2022-11-10 19:40:11 +00:00
class-wp-rest-taxonomies-controller.php Taxonomy: Correct an invalid @param tag. 2022-10-11 09:56:11 +00:00
class-wp-rest-templates-controller.php Editor: Fix a PHP notice appearing when adding a new template part. 2023-07-17 14:22:24 +00:00
class-wp-rest-terms-controller.php REST API: Correct the docblocks for various permission related methods. 2023-08-18 17:46:18 +00:00
class-wp-rest-themes-controller.php REST API: Correct the docblocks for various permission related methods. 2023-08-18 17:46:18 +00:00
class-wp-rest-url-details-controller.php
class-wp-rest-users-controller.php Docs: Replace multiple single line comments with multi-line comments. 2023-07-10 23:19:23 +00:00
class-wp-rest-widget-types-controller.php Docs: Replace multiple single line comments with multi-line comments. 2023-07-10 23:19:23 +00:00
class-wp-rest-widgets-controller.php Code Modernization: Rename parameters that use reserved keywords in wp-includes/rest-api/endpoints/class-wp-rest-widgets-controller.php. 2022-12-14 14:31:11 +00:00