[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
Wed Jan 18 08:31: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 ruud@…):

 @jnylen0. I agree with your assessment about the naming issues. Do you
 also mean to change all references to $endpoints (except the
 $this->endpoints) to $route_map in get_routes() ?

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


More information about the wp-trac mailing list