[wp-trac] [WordPress Trac] #25698: Speed up slow Menus Panel for menus with many items

WordPress Trac noreply at wordpress.org
Sat Nov 16 19:12:32 UTC 2013


#25698: Speed up slow Menus Panel for menus with many items
-------------------------------------+------------------------------
 Reporter:  sevenspark               |       Owner:
     Type:  enhancement              |      Status:  new
 Priority:  normal                   |   Milestone:  Awaiting Review
Component:  Menus                    |     Version:
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-testing  |
-------------------------------------+------------------------------

Comment (by sevenspark):

 Came on to respond and I see atimmer already covered that - sounds like a
 case of not clearing the cache.

 But in the meantime I also realized that the code should be modified to
 handle Microsoft's touch events as well (MSPointerUp and pointerup).  So I
 think this code should be modified


 {{{
 //Setup the refresh on hover/focus/touch event
 $( '#menu-management' ).on( 'mouseenter.refreshAccessibility
 focus.refreshAccessibility touchstart.refreshAccessibility' , '.menu-item'
 , function(){
                   api.refreshAdvancedAccessibilityLazy( $( this ).find(
 '.item-edit' ) );
 });
 }}}

 to this

 {{{
 //Setup the refresh on hover/focus/touch event
 $( '#menu-management' ).on( 'mouseenter.refreshAccessibility
 focus.refreshAccessibility touchstart.refreshAccessibility
 MSPointerUp.refreshAccessibility pointerup.refreshAccessibility' , '.menu-
 item' , function(){
                   api.refreshAdvancedAccessibilityLazy( $( this ).find(
 '.item-edit' ) );
 });
 }}}

 to ensure this will work in Internet Explorer as well on Windows 8 touch-
 enabled devices.

--
Ticket URL: <http://core.trac.wordpress.org/ticket/25698#comment:11>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list