[wp-trac] [WordPress Trac] #12718: Better structure for admin menu
WordPress Trac
wp-trac at lists.automattic.com
Mon Jul 30 22:58:30 UTC 2012
#12718: Better structure for admin menu
------------------------------------+-----------------------
Reporter: scribu | Owner:
Type: enhancement | Status: reopened
Priority: normal | Milestone: 3.5
Component: Plugins | Version:
Severity: normal | Resolution:
Keywords: has-patch dev-feedback |
------------------------------------+-----------------------
Comment (by scribu):
[attachment:12718.5.diff]:
* move function definitions from class-wp-admin-menu.php and
includes/menu.php to includes/menu-functions.php
* move private methods from WP_Admin_Menu to includes/functions.php
* move high-level logic from wp-admin/menu.php into includes/menu.php
Oh, and needless to say, I like azaozz' proposal of asking plugin authors
to start using the new API instead of doing crazy hacks to make the code
100% backwards-compatible.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/12718#comment:63>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list