[wp-trac] [WordPress Trac] #39473: get_routes() called multiple times within single REST request causing the rest_endpoints() filter to also fire more than once

WordPress Trac noreply at wordpress.org
Tue Jan 17 05:34:34 UTC 2017


#39473: get_routes() called multiple times within single REST request causing the
rest_endpoints() filter to also fire more than once
------------------------------------+------------------------------
 Reporter:  ruud@…                  |       Owner:
     Type:  enhancement             |      Status:  new
 Priority:  normal                  |   Milestone:  Awaiting Review
Component:  REST API                |     Version:  4.4
 Severity:  normal                  |  Resolution:
 Keywords:  has-patch dev-feedback  |     Focuses:
------------------------------------+------------------------------

Comment (by rmccue):

 This seems OK, but could potentially break when switching between sites
 with multisite. I'd be curious to hear from @jnylen0 on that point.

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


More information about the wp-trac mailing list