Opened 2 years ago
Last modified 2 years ago
#16301 new enhancement
set limits to nesting of menus
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | Future Release |
| Component: | Menus | Version: | |
| Severity: | normal | Keywords: | 2nd-opinion |
| Cc: |
Description
It would be great to be able to limit/control the nesting depth of menus. I'm using menus to let my editors control where posts show up in various spots in our theme, and don't want them to accidentally nest a link deeper than it should be.
Change History (1)
Note: See
TracTickets for help on using
tickets.

Currently, nesting depth is abstracted to a JavaScript variable, which should be accessible at the JS level. You can do that for now, but there's no guarantee we won't break that in a future release.
I would not mind it if this variable can be made accessible through a filter in PHP (and thus via localize()).