[wp-trac] [WordPress Trac] #18588: Auto-select "Primary Menu " when switching themes

WordPress Trac noreply at wordpress.org
Sun Aug 30 03:00:47 UTC 2015


#18588: Auto-select "Primary Menu " when switching themes
-------------------------+-----------------------------
 Reporter:  azaozz       |       Owner:  wonderboymusic
     Type:  enhancement  |      Status:  closed
 Priority:  normal       |   Milestone:  4.4
Component:  Menus        |     Version:
 Severity:  normal       |  Resolution:  fixed
 Keywords:  has-patch    |     Focuses:
-------------------------+-----------------------------
Changes (by wonderboymusic):

 * owner:   => wonderboymusic
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"33808"]:
 {{{
 #!CommitTicketReference repository="" revision="33808"
 Switching themes: if the new theme doesn't have `nav_menu_locations`
 defined, but the old theme does, copy the old theme's `nav_menu_locations`
 into the new theme's theme mods.

 cc melchoyce

 Fixes #18588.
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/18588#comment:11>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list