[wp-trac] [WordPress Trac] #41583: Menus Administration screen, menu items are always loaded even when not needed

WordPress Trac noreply at wordpress.org
Tue Oct 10 01:39:19 UTC 2017


#41583: Menus Administration screen, menu items are always loaded even when not
needed
------------------------------------------------+--------------------------
 Reporter:  webgeekconsulting                   |       Owner:
     Type:  enhancement                         |      Status:  new
 Priority:  normal                              |   Milestone:  Awaiting
Component:  Menus                               |  Review
 Severity:  normal                              |     Version:  4.8.1
 Keywords:  has-patch dev-feedback 2nd-opinion  |  Resolution:
                                                |     Focuses:  performance
------------------------------------------------+--------------------------
Changes (by welcher):

 * keywords:   => has-patch dev-feedback 2nd-opinion


Old description:

> On the Menus Administration scree menu items are always loaded. For
> performance, menu items should only be loaded when editing an existing
> menu and not on the locations tabs or when adding a new menu item. I've
> attached a patch that fixes this.

New description:

 On the Menus Administration screen menu items are always loaded. For
 performance, menu items should only be loaded when editing an existing
 menu and not on the locations tabs or when adding a new menu item. I've
 attached a patch that fixes this.

--

Comment:

 @webgeekconsulting thanks for the ticket and the patch!

 The patch applied cleanly for me and the unit tests pass as well. I would
 like to have @westonruter review it for any potential Customizer issues
 before moving it forward.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/41583#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list