[wp-trac] [WordPress Trac] #39692: Fix missing assignment of menus on theme switch

WordPress Trac noreply at wordpress.org
Mon Jun 26 08:30:30 UTC 2017


#39692: Fix missing assignment of menus on theme switch
-------------------------------------+-----------------------
 Reporter:  melchoyce                |       Owner:
     Type:  enhancement              |      Status:  assigned
 Priority:  normal                   |   Milestone:  4.8.1
Component:  Menus                    |     Version:
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-testing  |     Focuses:
-------------------------------------+-----------------------

Comment (by obenland):

 In [attachment:39692.2.diff]:

 * Added `header` to primary group.
 * Hardened string comparisons to check for `false` and not be case
 sensitive.
 * Maps menus on top of existing menu locations if theme was previously
 active.
 * Added unit tests.

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


More information about the wp-trac mailing list