[wp-trac] [WordPress Trac] #12718: Better structure for admin $menu
WordPress Trac
wp-trac at lists.automattic.com
Thu Oct 7 22:48:05 UTC 2010
#12718: Better structure for admin $menu
-------------------------+--------------------------------------------------
Reporter: scribu | Owner:
Type: enhancement | Status: closed
Priority: normal | Milestone:
Component: Plugins | Version:
Severity: normal | Resolution: fixed
Keywords: |
-------------------------+--------------------------------------------------
Comment(by mikeschinkel):
Replying to [comment:38 scribu]:
> [15753] was supposed to reference #14666. Sorry, again.
One thing my code implicitly addressed that we didn't cover in IRC (my
bad) was moving to an`$args` based solution for what is currently
`add_menu_page()` and `add_submenu_page()`.
The fact that there 6 or 7 parameters that are hard to remember and must
be called in the correct order makes the current API less approachable
than if it were to use args instead.
Can we discuss that on this ticket before closure?
--
Ticket URL: <http://core.trac.wordpress.org/ticket/12718#comment:40>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list