WordPress/wp-includes/rest-api/endpoints
spacedmonkey 2237f67458 Prime users cache in WP_Query and post REST API controller.
For a call to `WP_Query` or a post REST API request that contains posts from multiple authors, call the `cache_users` function, to ensure that all user data for post authors is primed in 
a single database query. This results in far fewer database queries on multiple author sites. 

Props spacedmonkey, timothyblynjacobs, peterwilsoncc.
Fixes #55716.

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


git-svn-id: http://core.svn.wordpress.org/trunk@53071 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-06-10 13:39:11 +00:00
..
class-wp-rest-application-passwords-controller.php
class-wp-rest-attachments-controller.php
class-wp-rest-autosaves-controller.php
class-wp-rest-block-directory-controller.php REST API: Correct the schema for the wp/v2/block-directory/search endpoint. 2022-04-29 16:55:13 +00:00
class-wp-rest-block-pattern-categories-controller.php Docs: Various docblock corrections and improvements for changes introduced in 6.0. 2022-04-28 09:59:13 +00:00
class-wp-rest-block-patterns-controller.php Docs: Various docblock corrections and improvements for changes introduced in 6.0. 2022-04-28 09:59:13 +00:00
class-wp-rest-block-renderer-controller.php
class-wp-rest-block-types-controller.php Coding Standards: Correct alignment in various files. 2022-04-17 15:07:08 +00:00
class-wp-rest-blocks-controller.php
class-wp-rest-comments-controller.php REST API: Fix the wrong name in the comments controller 2022-04-11 15:37:09 +00:00
class-wp-rest-controller.php
class-wp-rest-edit-site-export-controller.php Theme: Use a better method to determine the theme name during export 2022-05-17 12:10:14 +00:00
class-wp-rest-global-styles-controller.php Coding Standards: Correct alignment in various files. 2022-04-17 15:07:08 +00:00
class-wp-rest-menu-items-controller.php General: Replace all esc_url_raw() calls in core with sanitize_url(). 2022-06-01 18:14:10 +00:00
class-wp-rest-menu-locations-controller.php
class-wp-rest-menus-controller.php
class-wp-rest-pattern-directory-controller.php REST API: Fixes /wp/v2/pattern-directory/patterns endpoint response for slug parameter. 2022-05-02 14:00:09 +00:00
class-wp-rest-plugins-controller.php
class-wp-rest-post-statuses-controller.php
class-wp-rest-post-types-controller.php REST API: Correct the wording for show_in_nav_menus property description in post type visibility settings. 2022-03-08 14:51:07 +00:00
class-wp-rest-posts-controller.php Prime users cache in WP_Query and post REST API controller. 2022-06-10 13:39:11 +00:00
class-wp-rest-revisions-controller.php
class-wp-rest-search-controller.php
class-wp-rest-settings-controller.php
class-wp-rest-sidebars-controller.php
class-wp-rest-site-health-controller.php
class-wp-rest-taxonomies-controller.php
class-wp-rest-templates-controller.php
class-wp-rest-terms-controller.php
class-wp-rest-themes-controller.php Docs: Replace "Current theme" with "Active theme" in various DocBlocks. 2022-01-20 23:53:05 +00:00
class-wp-rest-url-details-controller.php General: Replace all esc_url_raw() calls in core with sanitize_url(). 2022-06-01 18:14:10 +00:00
class-wp-rest-users-controller.php Administration: Replace contracted verb forms for better consistency. 2022-03-22 16:25:03 +00:00
class-wp-rest-widget-types-controller.php
class-wp-rest-widgets-controller.php Docs: Capitalize "ID", when referring to a widget ID or sidebar ID, in a more consistent way. 2021-12-13 10:21:07 +00:00