[wp-trac] [WordPress Trac] #35507: Pass routing information to rest_dispatch_request hook
WordPress Trac
noreply at wordpress.org
Mon Jan 18 07:54:30 UTC 2016
#35507: Pass routing information to rest_dispatch_request hook
-------------------------+-----------------------
Reporter: rmccue | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 4.5
Component: REST API | Version: 4.4
Severity: normal | Keywords: has-patch
Focuses: |
-------------------------+-----------------------
`rest_dispatch_request` is designed to allow hijacking the request
dispatching to implement middleware/etc, however right now, there's not
enough information to actually handle the dispatching.
Attached patch adds the `$route` and `$handler` parameters to allow
dispatching correctly.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/35507>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list