[wp-trac] [WordPress Trac] #43401: Support urldecoded URLs in current menu item detection logic

WordPress Trac noreply at wordpress.org
Sat Feb 24 13:43:09 UTC 2018


#43401: Support urldecoded URLs in current menu item detection logic
--------------------------------------+-----------------------------
 Reporter:  soulseekah                |       Owner:  SergeyBiryukov
     Type:  enhancement               |      Status:  closed
 Priority:  normal                    |   Milestone:  5.0
Component:  Menus                     |     Version:
 Severity:  normal                    |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+-----------------------------
Changes (by SergeyBiryukov):

 * owner:   => SergeyBiryukov
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"42732"]:
 {{{
 #!CommitTicketReference repository="" revision="42732"
 Menus: When checking if a Custom Link matches the current URL to add the
 `current-menu-item` class, check for decoded URL as well.

 Props soulseekah, campusboy1987.
 Fixes #43401.
 }}}

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


More information about the wp-trac mailing list