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

WordPress Trac noreply at wordpress.org
Wed Jun 15 13:35:43 UTC 2022


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

Comment (by SergeyBiryukov):

 In [changeset:"53508" 53508]:
 {{{
 #!CommitTicketReference repository="" revision="53508"
 REST API: Some documentation and test improvements for
 `update_menu_item_cache()`:

 * Make the function description more specific, for consistency with other
 similar functions.
 * Add a `@since` note for the `$update_menu_item_cache` parameter of
 `WP_Query::parse_query()`.
 * Add missing `@covers` tags for the unit tests.

 Follow-up to [53504].

 See #55620.
 }}}

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


More information about the wp-trac mailing list