Opened 7 months ago

#22364 new defect (bug)

Add Theme Location Arg to Custom Menu Widget

Reported by: wpsmith Owned by:
Priority: normal Milestone: Awaiting Review
Component: Menus Version:
Severity: normal Keywords:
Cc:

Description

Currently, there is no way to differentiate between a custom menu placed in two different widget areas with wp_nav_menu_args. Since there is no real effect on themes or the use of wp_nav_menu, I propose that WP_Nav_Menu_Widget applies the widget ID as the theme location.

Attachments (2)

22364.patch (562 bytes) - added by wpsmith 7 months ago.
22364.2.patch (575 bytes) - added by wpsmith 7 months ago.
Added '-sidebar' to ensure no conflicts.

Download all attachments as: .zip

Change History (2)

Added '-sidebar' to ensure no conflicts.

Note: See TracTickets for help on using tickets.