[wp-trac] [WordPress Trac] #51636: REST API: Remove trailing slashes when preloading requests
WordPress Trac
noreply at wordpress.org
Mon Oct 26 18:39:23 UTC 2020
#51636: REST API: Remove trailing slashes when preloading requests
--------------------------+------------------------------------------
Reporter: swissspidy | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: REST API | Version: 5.0
Severity: normal | Keywords: needs-patch needs-unit-tests
Focuses: |
--------------------------+------------------------------------------
Other than `rest_api_loaded`, `rest_preload_api_request` does not
currently remove trailing slashes from the requested path.
For consistency, let's call `untrailingslashit()` there as well.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/51636>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list