[wp-trac] Re: [WordPress Trac] #8446: post_class() outputs invalid css class

WordPress Trac wp-trac at lists.automattic.com
Thu Apr 30 01:15:05 GMT 2009


#8446: post_class() outputs invalid css class
--------------------------+-------------------------------------------------
 Reporter:  lilyfan       |       Owner:  nbachiyski 
     Type:  defect (bug)  |      Status:  new        
 Priority:  high          |   Milestone:  2.8        
Component:  i18n          |     Version:  2.7        
 Severity:  major         |    Keywords:  needs-patch
--------------------------+-------------------------------------------------

Comment(by hakre):

 then you need to reduce the classes of tags etc. to ids as well. the
 clean_css_classnames() function is for general usage. if you only built
 them upon numerical values, there must be no need to validate against
 utf-8 mutlibyte sequences.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/8446#comment:33>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list