[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
Wed Feb 1 14:11:36 UTC 2017


#39758: menu-item-home does not get class current-menu-item (not consistent with
live page)
--------------------------+------------------------------
 Reporter:  Liddika       |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Customize     |     Version:  4.7.2
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------------------

Comment (by adamsilverstein):

 @Liddika Thanks for the bug report.

 I tried to reproduce this issue and I actually see the `current-menu-item`
 class added to the homepage menu item when I have the homepage set to a
 specific page. I don't see the `current_page_item` class in the customizer
 however.

 Can you please try to reproduce with a bundled theme, and also provide
 some additional details about your settings - do you have the homepage set
 to a static page or your latest posts? What does your menu item link to
 exactly, is it a custom link?

 Here are some screenshots of what I see -

 Front end:
 [[Image(https://cl.ly/1v3w2c0g1k0D/wpdev__Just_another_WordPress_site_2017-02-01_09-03-16.jpg)]]

 Customizer:
 [[Image(https://cl.ly/3N0u0n3J2x2P/Customize_wpdev__Just_another_WordPress_site_2017-02-01_09-05-39.jpg)]]

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


More information about the wp-trac mailing list