[wp-trac] [WordPress Trac] #36745: _wp_menu_item_classes_by_context

WordPress Trac noreply at wordpress.org
Tue May 3 22:28:26 UTC 2016


#36745: _wp_menu_item_classes_by_context
--------------------------+-----------------------------
 Reporter:  spacedmonkey  |      Owner:
     Type:  enhancement   |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Menus         |    Version:  3.0
 Severity:  normal        |   Keywords:
  Focuses:  performance   |
--------------------------+-----------------------------
 _wp_menu_item_classes_by_context currently uses wp_get_object_terms.
 wp_get_object_terms has no caching in the function. get_the_terms function
 does have caching and should be used in this context.

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


More information about the wp-trac mailing list