[wp-trac] [WordPress Trac] #34647: Don't return route URL in WP_REST_Request:get_params()
WordPress Trac
noreply at wordpress.org
Tue Nov 17 06:21:50 UTC 2015
#34647: Don't return route URL in WP_REST_Request:get_params()
-----------------------------+-----------------------
Reporter: danielbachhuber | Owner: rmccue
Type: defect (bug) | Status: accepted
Priority: normal | Milestone: 4.4
Component: REST API | Version: trunk
Severity: normal | Resolution:
Keywords: needs-patch | Focuses:
-----------------------------+-----------------------
Comment (by rmccue):
Yup, this is from the `preg_match` inside `WP_REST_Server::dispatch`.
There's no way to have `preg_match` return only the named groups from
here; apart from being useless, is there any issue with having this?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/34647#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list