[wp-trac] [WordPress Trac] #39758: menu-item-home does not get class current-menu-item (not consistent with live page)

WordPress Trac noreply at wordpress.org
Fri May 12 20:34:45 UTC 2017


#39758: menu-item-home does not get class current-menu-item (not consistent with
live page)
-------------------------------------+------------------------------
 Reporter:  Liddika                  |       Owner:  adamsilverstein
     Type:  defect (bug)             |      Status:  closed
 Priority:  normal                   |   Milestone:  4.8
Component:  Customize                |     Version:  4.7
 Severity:  normal                   |  Resolution:  fixed
 Keywords:  needs-testing has-patch  |     Focuses:
-------------------------------------+------------------------------
Changes (by adamsilverstein):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"40658"]:
 {{{
 #!CommitTicketReference repository="" revision="40658"
 Customizer: Fix an issue with menu classes in the customizer preview.

 In customizer preview, strip changeset uuid in menu urls before comparing
 with current url to determine menu item classes.

 In the customizer, menu items now contain a changeset uuid as part of
 their urls. Strip the changeset uuid off the url before comparing with
 current url (which lacks the changeset uuid).

 Props priyankabehera155, jipmoors.
 Fixes #39758.
 }}}

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


More information about the wp-trac mailing list