[wp-trac] [WordPress Trac] #23834: Menus: add visual Indicator for menu items with children

WordPress Trac noreply at wordpress.org
Sat Aug 17 15:46:50 UTC 2013


#23834: Menus: add visual Indicator for menu items with children
---------------------------+------------------
 Reporter:  downstairsdev  |       Owner:
     Type:  enhancement    |      Status:  new
 Priority:  normal         |   Milestone:  3.7
Component:  Menus          |     Version:  3.6
 Severity:  normal         |  Resolution:
 Keywords:  has-patch      |
---------------------------+------------------

Comment (by nacin):

 Nice! At a glance, [attachment:23834.2.diff] looks good. I will note that
 if we're going to store our data in the key (for speed and easier reduced
 duplication), we should use isset() rather than array_key_exists(). The
 latter is only necessary when were are possibly dealing with a `null`
 value. In this case, the values are all booleans.

--
Ticket URL: <http://core.trac.wordpress.org/ticket/23834#comment:10>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list