[wp-trac] [WordPress Trac] #16799: Bloated Custom Menus
WordPress Trac
wp-trac at lists.automattic.com
Wed Sep 21 12:38:51 UTC 2011
#16799: Bloated Custom Menus
-------------------------+------------------
Reporter: kingkool68 | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 3.3
Component: Menus | Version: 3.1
Severity: normal | Resolution:
Keywords: has-patch |
-------------------------+------------------
Comment (by duck_):
16799.remove-inputs.diff pulls out some more hidden inputs from
WP_Nav_Menu_Checklist. menu-item-object and menu-item-type are required
for the code in admin-ajax.php to retrieve the objects to convert to menu
items. menu-item-url is necessary for no-JS as it's used in
wp_save_nav_menu_items().
Savings on a site with 200 posts, 51 pages, 20 cats and tags. nav-
menus.php with no menus drops from 259KB to 144KB.
See #14415 ("but there's [no] reason we couldn't omit a couple of
others"), [16096]
--
Ticket URL: <http://core.trac.wordpress.org/ticket/16799#comment:11>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list