[wp-trac] [WordPress Trac] #55593: Prime caches for post parents in post rest api controller

WordPress Trac noreply at wordpress.org
Wed Jun 15 10:41:46 UTC 2022


#55593: Prime caches for post parents in post rest api controller
--------------------------------------+------------------------------------
 Reporter:  spacedmonkey              |       Owner:  spacedmonkey
     Type:  enhancement               |      Status:  closed
 Priority:  normal                    |   Milestone:  6.1
Component:  REST API                  |     Version:  4.7
 Severity:  normal                    |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests  |     Focuses:  rest-api, performance
--------------------------------------+------------------------------------
Changes (by spacedmonkey):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"53506" 53506]:
 {{{
 #!CommitTicketReference repository="" revision="53506"
 REST API: Prime caches for post parents in post REST API controller.

 Prime caches for all post parents in the post REST API controller using
 the `_prime_post_caches` function. Post parent objects are required as
 part of the `check_read_permission` method’s permission check in post REST
 API controller.

 Props spacedmonkey, furi3r, peterwilsoncc, mitogh, madpixels.
 Fixes #55593.
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/55593#comment:13>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list