[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 19:41:21 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:  closed    
 Priority:  normal                          |    Milestone:  2.8       
Component:  i18n                            |      Version:  2.8       
 Severity:  normal                          |   Resolution:  fixed     
 Keywords:  has-patch tested needs-testing  |  
--------------------------------------------+-------------------------------
Changes (by ryan):

  * status:  new => closed
  * resolution:  => fixed


Comment:

 (In [10702]) Use mb_substr instead of mb_strcut in wp_html_excerpt. Props
 demetris. fixes #9055

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


More information about the wp-trac mailing list