[wp-trac] [WordPress Trac] #37094: wp_get_nav_menu_items should use tax_query

WordPress Trac noreply at wordpress.org
Wed Jun 21 21:36:27 UTC 2017


#37094: wp_get_nav_menu_items should use tax_query
-----------------------------------+--------------------------
 Reporter:  spacedmonkey           |       Owner:
     Type:  enhancement            |      Status:  new
 Priority:  normal                 |   Milestone:  4.9
Component:  Menus                  |     Version:  3.0
 Severity:  normal                 |  Resolution:
 Keywords:  has-patch 2nd-opinion  |     Focuses:  performance
-----------------------------------+--------------------------

Comment (by spacedmonkey):

 You make some good points. I think we should go ahead with
 get_objects_in_term caching found in 37094.diff. get_objects_in_term is
 only used 2 places in core, one of each is here. It is a very low impact
 change for the rest of core.

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


More information about the wp-trac mailing list