[wp-trac] [WordPress Trac] #55620: Prime caches linked objects in menu item REST API

WordPress Trac noreply at wordpress.org
Fri Oct 7 09:58:46 UTC 2022


#55620: Prime caches linked objects in menu item REST API
-------------------------------------------------+-------------------------
 Reporter:  spacedmonkey                         |       Owner:
                                                 |  spacedmonkey
     Type:  enhancement                          |      Status:  reopened
 Priority:  normal                               |   Milestone:  6.1
Component:  REST API                             |     Version:  5.9
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch needs-unit-tests needs-    |     Focuses:  rest-api,
  dev-note                                       |  performance
-------------------------------------------------+-------------------------

Comment (by spacedmonkey):

 In [changeset:"54410" 54410]:
 {{{
 #!CommitTicketReference repository="" revision="54410"
 Query: Move call to `update_menu_item_cache` in `WP_Query`

 Move call to `update_menu_item_cache` in `WP_Query` to after post meta
 caches for menu items are primed.

 Props spacedmonkey, peterwilsoncc, mukesh27.
 See #55620.
 }}}

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


More information about the wp-trac mailing list