[wp-trac] [WordPress Trac] #18875: CSS classes for WP List Table are not properly sanitized

WordPress Trac wp-trac at lists.automattic.com
Thu Oct 6 17:09:47 UTC 2011


#18875: CSS classes for WP List Table are not properly sanitized
----------------------------+-----------------------------
 Reporter:  sbressler       |      Owner:  scottbre
     Type:  defect (bug)    |     Status:  new
 Priority:  normal          |  Milestone:  Awaiting Review
Component:  Administration  |    Version:  3.1
 Severity:  normal          |   Keywords:  has-patch
----------------------------+-----------------------------
 The output of a WP List Table uses the singular and plural names of the
 table (provided as arguments to the constructor) as the CSS classes output
 for the table and tbody. Those names aren't sanitized at all. The biggest
 concern I have is that spaces aren't turned into dashes, though the lack
 of sanitization is bad practice in general.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/18875>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list