[wp-trac] [WordPress Trac] #25698: Speed up slow Menus Panel for menus with many items
WordPress Trac
noreply at wordpress.org
Tue Mar 3 21:13:40 UTC 2015
#25698: Speed up slow Menus Panel for menus with many items
-------------------------------------+-------------------------------------
Reporter: sevenspark | Owner: helen
Type: enhancement | Status: closed
Priority: normal | Milestone: 4.2
Component: Menus | Version: 3.6
Severity: normal | Resolution: fixed
Keywords: has-patch 2nd-opinion | Focuses: accessibility,
commit | javascript
-------------------------------------+-------------------------------------
Changes (by helen):
* owner: => helen
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"31604"]:
{{{
#!CommitTicketReference repository="" revision="31604"
Nav menus: Better JS performance on initial load of edit screen.
The accessibility helpers previously processed all items when editing a
menu, which was quite slow to the point of being unresponsive for large
menus. They now only process items when they are expanded or a user comes
near them in some way, such as hover or focus.
Also simplifies a redundant set of click event handlers down to one, which
further enhances performance.
props atimmer, sevenspark.
fixes #25698.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/25698#comment:23>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list