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

WordPress Trac wp-trac at lists.automattic.com
Wed Apr 29 12:45:26 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 2nd-opinion
--------------------------+-------------------------------------------------

Comment(by hakre):

 Replying to [comment:18 ryan]:
 > That's a lot of work for a class.  Why do we need split_utf8()?  It
 creates and returns an array that is ignored by seems_utf8(), it's only
 consumer.

 Thats only for not having code duplication. both functions can contain the
 same code having seems_utf8() return a true at the end while split_utf8()
 already has the splitted byte squences.

 split_utf8() is then used later on, seems you have overlooked that.

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


More information about the wp-trac mailing list