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

WordPress Trac wp-trac at lists.automattic.com
Sun Apr 26 12:24:38 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:  has-patch 
--------------------------+-------------------------------------------------

Comment(by hakre):

 New Patch added. clean_css_classnames now fully handles utf8 encoded
 strings as slugs. I have not checked with non latin1-existing chars from
 the utf8 range, but will give a try. there might be the need to urldecode
 $tag->slug first, but this can be applied fast.

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


More information about the wp-trac mailing list