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

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


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

Comment (by SergeyBiryukov):

 In [changeset:"44414" 44414]:
 {{{
 #!CommitTicketReference repository="" revision="44414"
 Taxonomy: Escape CSS classes in `Walker_Category::start_el()` after the
 `category_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.
 See #44880.
 }}}

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


More information about the wp-trac mailing list