[wp-trac] [WordPress Trac] #30967: $fallback in sanitize_html_class() is not sanitized

WordPress Trac noreply at wordpress.org
Tue Sep 22 04:30:13 UTC 2015


#30967: $fallback in sanitize_html_class() is not sanitized
-------------------------------+-----------------------------
 Reporter:  mighty_mt          |       Owner:  wonderboymusic
     Type:  defect (bug)       |      Status:  closed
 Priority:  normal             |   Milestone:  4.4
Component:  Posts, Post Types  |     Version:  trunk
 Severity:  normal             |  Resolution:  fixed
 Keywords:  has-patch          |     Focuses:
-------------------------------+-----------------------------
Changes (by wonderboymusic):

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


Comment:

 In [changeset:"34377"]:
 {{{
 #!CommitTicketReference repository="" revision="34377"
 Sanitization: when falling back to (wait for it...) `$fallback` in
 `sanitize_html_class()`, sanitize it as well.

 Props MikeHansenMe, wonderboymusic.
 Fixes #30967.
 }}}

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


More information about the wp-trac mailing list