[wp-trac] [WordPress Trac] #40359: allow arbitrary HTML attributes on <a> produced by Walker_Page

WordPress Trac noreply at wordpress.org
Thu Mar 21 10:44:27 UTC 2019


#40359: allow arbitrary HTML attributes on <a> produced by Walker_Page
--------------------------------------+-----------------------------
 Reporter:  pbiron                    |       Owner:  SergeyBiryukov
     Type:  enhancement               |      Status:  closed
 Priority:  normal                    |   Milestone:  4.8
Component:  Menus                     |     Version:
 Severity:  normal                    |  Resolution:  fixed
 Keywords:  has-patch needs-dev-note  |     Focuses:  accessibility
--------------------------------------+-----------------------------

Comment (by SergeyBiryukov):

 In [changeset:"44958" 44958]:
 {{{
 #!CommitTicketReference repository="" revision="44958"
 Menus: Use `esc_url()` for the `href` value of page link attributes in
 `Walker_Page::start_el()`, for consistency with `Walker_Nav_Menu` and
 `Walker_Category`.

 See #40666, #40359.
 }}}

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


More information about the wp-trac mailing list