[wp-trac] Re: [WordPress Trac] #8446: Using Slug-Data in CSS
Classes does not work
WordPress Trac
wp-trac at lists.automattic.com
Fri May 22 21:27:43 GMT 2009
#8446: Using Slug-Data in CSS Classes does not work
-------------------------------------+--------------------------------------
Reporter: lilyfan | Owner: westi
Type: defect (bug) | Status: reopened
Priority: high | Milestone: 2.8
Component: i18n | Version: 2.7
Severity: major | Resolution:
Keywords: has-patch tested commit |
-------------------------------------+--------------------------------------
Comment(by westi):
Replying to [comment:61 Denis-de-Bernardy]:
> the reasoning behind esc_css is that it could also be used to sanitize
(with a "z") a css ID.
It should not be used for a ID as ID's have different rules from classes.
ID sanitisation would need to be much tighter than this can be.
Working on a better name and more documentation improvements as I write
this.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/8446#comment:63>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list