[wp-trac] [WordPress Trac] #13551: Classes Menu Item Property Should be array

WordPress Trac wp-trac at lists.automattic.com
Wed May 26 15:24:31 UTC 2010


#13551: Classes Menu Item Property Should be array
--------------------------+-------------------------------------------------
 Reporter:  filosofo      |       Owner:           
     Type:  defect (bug)  |      Status:  new      
 Priority:  normal        |   Milestone:  3.0      
Component:  Menus         |     Version:  3.0      
 Severity:  normal        |    Keywords:  has-patch
--------------------------+-------------------------------------------------
 * We use it as an array almost everywhere.
  * PHP array functions are pretty quick.
  * This reduces some of the kludgy parts of the code and makes it
 consistent.
  * There are a ton of classes on the public menu items that no doubt
 people will be filtering.  Best not to make them have to explode by
 whitespace and then do array-handling: let's just make it arrays all the
 way.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/13551>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list