[wp-trac] [WordPress Trac] #40878: Adding menus route
WordPress Trac
noreply at wordpress.org
Thu Oct 26 12:43:33 UTC 2017
#40878: Adding menus route
------------------------------------+------------------------------
Reporter: dingo_bastard | Owner:
Type: feature request | Status: new
Priority: normal | Milestone: Awaiting Review
Component: REST API | Version: 4.7
Severity: normal | Resolution:
Keywords: has-patch dev-feedback | Focuses: rest-api
------------------------------------+------------------------------
Comment (by dingo_bastard):
Oh right, my bad. I was working on a theme some time ago and we added
additional menus via customizer settings, but those get saved in the
database. Totally forgot about that.
We could add an option `${theme_name}_registered_menu_locations` that
could be saved for each theme and would contain menu locations. Although
that would probably be a case for another ticket (one concerning
registering menu locations and saving them in the database
programmatically).
--
Ticket URL: <https://core.trac.wordpress.org/ticket/40878#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list