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

WordPress Trac noreply at wordpress.org
Tue May 10 20:06:33 UTC 2016


#36745: _wp_menu_item_classes_by_context
-------------------------------------------------+-------------------------
 Reporter:  spacedmonkey                         |       Owner:
     Type:  enhancement                          |      Status:  new
 Priority:  normal                               |   Milestone:  Awaiting
Component:  Menus                                |  Review
 Severity:  normal                               |     Version:  3.0
 Keywords:  has-patch dev-feedback has-unit-     |  Resolution:
  tests                                          |     Focuses:
                                                 |  performance
-------------------------------------------------+-------------------------

Comment (by spacedmonkey):

 Looking at this patch, a couple of line above it, it checks it
 is_taxonomy_hierarchical. It should really also check to see if the
 taxonomy is public. I can't think of a example where an underline would be
 needed for a non public taxonomy.

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


More information about the wp-trac mailing list