[wp-trac] [WordPress Trac] #11669: There's a problem to show one letter, and it cuts taxonomies names

WordPress Trac wp-trac at lists.automattic.com
Sun Jan 3 06:20:18 UTC 2010


#11669: There's a problem to show one letter, and it cuts taxonomies names
--------------------------+-------------------------------------------------
 Reporter:  maorb         |       Owner:  hakre            
     Type:  defect (bug)  |      Status:  new              
 Priority:  high          |   Milestone:  2.9.1            
Component:  Charset       |     Version:  2.9              
 Severity:  major         |    Keywords:  reporter-feedback
--------------------------+-------------------------------------------------

Comment(by azaozz):

 As @nacin points out, here was a problem with one Cyrillic letter replaced
 by that regex. Could somebody that can reproduce this run the following
 test (from Tomer's comment):
 {{{
 echo preg_replace('/\s+/', ' ', 'אבגדהוזחטיכלמנסעפצקרשת') . '<br />';
 echo preg_replace('/[\r\n\t ]+/', ' ', 'אבגדהוזחטיכלמנסעפצקרשת') . '<br
 />';
 echo 'אבגדהוזחטיכלמנסעפצקרשת'; // for comparison
 }}}

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


More information about the wp-trac mailing list