[wp-trac] [WordPress Trac] #39692: Fix missing assignment of menus on theme switch
WordPress Trac
noreply at wordpress.org
Wed Jan 25 21:02:15 UTC 2017
#39692: Fix missing assignment of menus on theme switch
-------------------------+------------------
Reporter: melchoyce | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 4.8
Component: Menus | Version:
Severity: normal | Resolution:
Keywords: | Focuses:
-------------------------+------------------
Comment (by melchoyce):
Replying to [comment:2 lukecavanagh]:
> @melchoyce
>
> So if a similar menu names exists on the new theme, then the memu
connection would remain?
>
> Would there be an option for mapping the existing menus names, to the
new menu names in the new theme easily?
I think there's a couple things we could do:
1. If your old theme only has one menu and your new theme only has one
menu, just map them automatically
2. If your old theme and new theme share a similar IDs or names, map them
automatically
3. If your old theme has more than one menu, or your new theme has more
than one menu, map the menu in the first menu location in your old theme
to the first menu location in the new theme.
FWIW I hate menu locations :)
--
Ticket URL: <https://core.trac.wordpress.org/ticket/39692#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list