[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
Mon Apr 6 07:28:17 UTC 2026
#39473: get_routes() called multiple times within single REST request causing the
rest_endpoints() filter to also fire more than once
-------------------------------------------------+-------------------------
Reporter: ruud@… | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting
| Review
Component: REST API | Version: 4.4
Severity: normal | Resolution:
Keywords: needs-unit-tests good-first-bug | Focuses:
dev-feedback |
-------------------------------------------------+-------------------------
Changes (by motylanogha):
* Attachment "39473.diff" added.
Refreshed patch for current trunk with route map caching and 4 unit tests.
Cache is invalidated on register_route(). All 1052 REST API tests pass
--
Ticket URL: <https://core.trac.wordpress.org/ticket/39473>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list