[wp-trac] Re: [WordPress Trac] #9055: mb_strcut in wp_html_excerpt seems to count bytes (not characters). Use mb_substr instead?

WordPress Trac wp-trac at lists.automattic.com
Wed Mar 4 20:24:14 GMT 2009


#9055: mb_strcut in wp_html_excerpt seems to count bytes (not characters).  Use
mb_substr instead?
--------------------------------------------+-------------------------------
 Reporter:  demetris                        |        Owner:  nbachiyski
     Type:  defect (bug)                    |       Status:  reopened  
 Priority:  normal                          |    Milestone:  2.8       
Component:  i18n                            |      Version:  2.8       
 Severity:  normal                          |   Resolution:            
 Keywords:  has-patch tested needs-testing  |  
--------------------------------------------+-------------------------------

Comment(by ryan):

 Add mb_substr() to compat.php and have it use _mb_strcut()?

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


More information about the wp-trac mailing list