[wp-trac] [WordPress Trac] #27120: Add object cache to wp_nav_menu() items

WordPress Trac noreply at wordpress.org
Thu Feb 13 09:46:03 UTC 2014


#27120: Add object cache to wp_nav_menu() items
-------------------------+------------------------------------
 Reporter:  Clorith      |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Menus        |     Version:  trunk
 Severity:  normal       |  Resolution:
 Keywords:               |     Focuses:  template, performance
-------------------------+------------------------------------

Comment (by Clorith):

 There seems to be an object cache for the default fallback, so if your
 `theme_location` isn't found, when nobody picked a menu location in the
 admin-ui, caching occurs as it should.

 If someone has defined the menu location and it matches `theme_location`,
 there is no caching done pre-patch.

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


More information about the wp-trac mailing list