[wp-trac] [WordPress Trac] #55428: Improve cache priming in wp_get_nav_menu_items

WordPress Trac noreply at wordpress.org
Mon Mar 21 01:30:24 UTC 2022


#55428: Improve cache priming in wp_get_nav_menu_items
--------------------------+-----------------------------
 Reporter:  spacedmonkey  |      Owner:  (none)
     Type:  enhancement   |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Menus         |    Version:  3.0
 Severity:  normal        |   Keywords:
  Focuses:  performance   |
--------------------------+-----------------------------
 In the `wp_get_nav_menu_items`, there are calls to get_terms and get_posts
 to prime object caches. There are new and better functions calls,
 `_prime_post_caches` and `_prime_term_caches` to prime caches.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/55428>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list