Make WordPress Core

Opened 10 years ago

Closed 15 months ago

Last modified 12 months ago

#39091 closed defect (bug) (maybelater)

Customize: Nav menu item controls should be inactive when items are excluded from preview

Reported by: westonruter Owned by:
Priority: normal Milestone:
Component: Customize Version: 4.3
Severity: normal Keywords: needs-patch
Cc: Focuses:

Description

Plugins can exclude nav menu items from displaying in nav menus in a plugin like Nav Menu Roles. This is similar to how widgets can be conditionally excluded from sidebars via a plugin like Jetpack's Widget Visibility module. This is currently implemented for widgets, where a widget that is not shown in the preview will have its control's active state set to false (causing it to become partially-opaque rather than fully hidden). Something similar should be done for nav menu item controls that are excluded from the preview.

Attachments (1)

39091.wip.diff​ (1.6 KB ) - added by westonruter 10 years ago.

Download all attachments as: .zip

Change History (5)

#1 @westonruter
10 years ago

39091.wip.diff​ almost gets us there, except it is then not possible to expand the nav menu item when it is inactive.

#2 @celloexpressions
10 years ago

This would be a good usability improvement.

#3 @westonruter
15 months ago

  • Resolution → maybelater
  • Status new → closed

#4 @sabernhardt
12 months ago

  • Milestone Future Release
Note: See TracTickets for help on using tickets.