[wp-trac] [WordPress Trac] #40878: Adding menus route
WordPress Trac
noreply at wordpress.org
Fri Jun 7 22:06:02 UTC 2019
#40878: Adding menus route
-------------------------------------------------+-------------------------
Reporter: dingo_d | Owner:
| spacedmonkey
Type: feature request | Status: assigned
Priority: normal | Milestone: Future
| Release
Component: REST API | Version: 4.7
Severity: normal | Resolution:
Keywords: has-patch dev-feedback needs-unit- | Focuses: rest-api
tests |
-------------------------------------------------+-------------------------
Comment (by spacedmonkey):
Spent some time on this PR - https://github.com/WP-API/wp-api-menus-
widgets-endpoints/pull/22 . I think it has a future, as it is pretty
simple and easy to implement.
These endpoints, use override `WP_REST_Terms_Controller` and
`WP_REST_Posts_Controller`, with some slight modifications.
If someone else from the REST API team could review, that would be
extremely useful.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/40878#comment:33>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list