[wp-trac] [WordPress Trac] #36891: Saving large menus is super slow
WordPress Trac
noreply at wordpress.org
Fri May 20 01:37:56 UTC 2016
#36891: Saving large menus is super slow
-----------------------------------------+----------------------------
Reporter: pento | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Future Release
Component: Menus | Version:
Severity: normal | Keywords:
Focuses: administration, performance |
-----------------------------------------+----------------------------
When saving menus, `wp-admin/includes/nav-menu.php` calls
`wp_update_nav_menu_item()` for every menu item. This function call can
take 0.1-0.4s, when multiplied by 50 (or more!) menu items, is a less than
pleasant experience.
Because of the length of time this takes, it's also quite likely that an
interrupted connection could cause the menu to be saved in a weird state.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/36891>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list