[wp-trac] [WordPress Trac] #36697: Combining the HTTP requests for obtaining the available nav menu items into a single request

WordPress Trac noreply at wordpress.org
Mon Sep 12 05:29:04 UTC 2016


#36697: Combining the HTTP requests for obtaining the available nav menu items into
a single request
--------------------------------------------------+------------------
 Reporter:  nguyencongtuan                        |       Owner:
     Type:  defect (bug)                          |      Status:  new
 Priority:  normal                                |   Milestone:  4.7
Component:  Customize                             |     Version:  4.5
 Severity:  normal                                |  Resolution:
 Keywords:  has-patch needs-testing dev-feedback  |     Focuses:
--------------------------------------------------+------------------

Comment (by westonruter):

 [attachment:36697.individually-deferred.diff] is an initial patch that
 loads the items for a given type the first time that the accordion section
 is opened. Seems like some refactoring should be done to move the `data`
 attributes to the top `li` so that a secondary query for `.available-menu-
 items-list` could be avoided.

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


More information about the wp-trac mailing list