[wp-trac] [WordPress Trac] #15067: Deprecate exiting admin menu functions and add new ones that accept an $args parameter instead

WordPress Trac wp-trac at lists.automattic.com
Mon May 9 07:34:35 UTC 2011


#15067: Deprecate exiting admin menu functions and add new ones that accept an
$args parameter instead
----------------------------+-----------------------
 Reporter:  mikeschinkel    |       Owner:
     Type:  enhancement     |      Status:  reopened
 Priority:  normal          |   Milestone:  3.2
Component:  Administration  |     Version:
 Severity:  normal          |  Resolution:
 Keywords:                  |
----------------------------+-----------------------

Comment (by westi):

 I'm not a big fan of using an array for arguments when they are all
 required.

 It actually breaks the whole point of having a named argument list.

 With this change you loose all the IDE hinting you get from having named
 arguments.

 I don't see a strong benefit from this change.

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


More information about the wp-trac mailing list