[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
Tue Nov 1 19:15:42 UTC 2016


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

Comment (by westonruter):

 @curdin backwards compatibility is not a big concern for this Ajax
 handler. But I don't think we have to break backwards compatibility do we?
 I mean, the existing ajax handler is taking a `type` and `object` params.
 Could not the request to fetch multiple items just omit these and pass an
 array of item types instead?

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


More information about the wp-trac mailing list