[wp-trac] [WordPress Trac] #55716: Prime users in cache in WP_Query

WordPress Trac noreply at wordpress.org
Fri Jun 10 15:15:23 UTC 2022

#55716: Prime users in cache in WP_Query
 Reporter:  spacedmonkey              |       Owner:  spacedmonkey
     Type:  enhancement               |      Status:  closed
 Priority:  normal                    |   Milestone:  Future Release
Component:  Query                     |     Version:  1.5
 Severity:  normal                    |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests  |     Focuses:  performance

Comment (by SergeyBiryukov):

 In [changeset:"53483" 53483]:
 #!CommitTicketReference repository="" revision="53483"
 Query: Some documentation and test improvements for

 * Make the descriptions for `update_post_author_caches()` and
 `update_post_caches()` more specific.
 * Move the unit test into its own file, for consistency with
 `update_post_cache()` tests. This also allows for using shared fixtures in
 case more tests are added in the future.

 Follow-up to [53482].

 See #55716.

Ticket URL: <https://core.trac.wordpress.org/ticket/55716#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform

More information about the wp-trac mailing list