[wp-trac] [WordPress Trac] #35272: .menu-item-home class not applying to static front pages

WordPress Trac noreply at wordpress.org
Wed Oct 26 01:57:58 UTC 2016


#35272: .menu-item-home class not applying to static front pages
---------------------------------------------+---------------------
 Reporter:  RachieVee                        |       Owner:  pento
     Type:  defect (bug)                     |      Status:  closed
 Priority:  normal                           |   Milestone:  4.7
Component:  Menus                            |     Version:  4.4
 Severity:  normal                           |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests commit  |     Focuses:
---------------------------------------------+---------------------
Changes (by pento):

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


Comment:

 In [changeset:"38940"]:
 {{{
 #!CommitTicketReference repository="" revision="38940"
 Menus: Add the `menu-item-home` class to the static front page item.

 When a site is using a static front page, and that page is in a menu, it
 isn't given the CSS class `menu-item-home`, contrary to the developer
 documentation.

 An incorrect solution was originally added in [35272], and is now gone.
 Let us never speak of it again.

 Props mdgl, adamsilverstein, welcher, pento.
 Fixes #35272.
 }}}

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


More information about the wp-trac mailing list