[wp-trac] [WordPress Trac] #38956: Customize Menus: menus assigned to locations with limited depths should not allow deeper depths

WordPress Trac noreply at wordpress.org
Sat Nov 26 22:16:55 UTC 2016


#38956: Customize Menus: menus assigned to locations with limited depths should not
allow deeper depths
------------------------------+----------------------------
 Reporter:  celloexpressions  |      Owner:
     Type:  enhancement       |     Status:  new
 Priority:  normal            |  Milestone:  Future Release
Component:  Customize         |    Version:  4.3
 Severity:  normal            |   Keywords:  needs-patch
  Focuses:                    |
------------------------------+----------------------------
 `wp_nav_menu()` allows themes to control how many levels of depth will be
 displayed in the menu hierarchy. However, the menus UI doesn't reflect
 this or explain why submenu items may not always be visible. There are
 often valid situations where menus can only accept one level of hierarchy
 (such as social menus), and the API allows this on the theme side but
 doesn't address the usability side of the issue.

 This may be tricky because depth is defined here a menu is displayed, not
 where a location is registered. Menus can also be assigned to multiple
 locations. A better API for menu locations may facilitate this
 improvement.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/38956>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list