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

WordPress Trac noreply at wordpress.org
Mon Oct 24 00:31:22 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 commit  |     Focuses:
------------------------------+---------------------
Changes (by pento):

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


Comment:

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

 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.

 Props christophherr.
 Fixes #35272.
 }}}

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


More information about the wp-trac mailing list