[wp-trac] [WordPress Trac] #44880: Missing sanitization

WordPress Trac noreply at wordpress.org
Mon Jan 7 12:53:26 UTC 2019


#44880: Missing sanitization
-------------------------------------+-------------------------------
 Reporter:  abhijitrakas             |       Owner:  SergeyBiryukov
     Type:  enhancement              |      Status:  closed
 Priority:  normal                   |   Milestone:  5.1
Component:  Taxonomy                 |     Version:
 Severity:  normal                   |  Resolution:  fixed
 Keywords:  has-patch needs-testing  |     Focuses:  coding-standards
-------------------------------------+-------------------------------
Changes (by SergeyBiryukov):

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


Comment:

 In [changeset:"44415" 44415]:
 {{{
 #!CommitTicketReference repository="" revision="44415"
 Pages, Post Types: Escape CSS classes in `Walker_Page::start_el()` after
 the `page_css_class` filter runs.

 Don't add an empty `class` attribute if there are no classes, for
 consistency with `Walker_Nav_Menu::start_el()`.

 Props abhijitrakas, mukesh27.
 Fixes #44880.
 }}}

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


More information about the wp-trac mailing list