[wp-trac] [WordPress Trac] #2614: wptexturize screwing some urls

WordPress Trac wp-trac at lists.automattic.com
Fri Mar 31 05:09:16 GMT 2006


#2614: wptexturize screwing some urls
----------------------------+-----------------------------------------------
       Id:  2614            |      Status:  new                     
Component:  Administration  |    Modified:  Fri Mar 31 05:09:16 2006
 Severity:  normal          |   Milestone:                          
 Priority:  normal          |     Version:  2.1                     
    Owner:  anonymous       |    Reporter:  MattRead                
----------------------------+-----------------------------------------------
 wptexturize screwing some urls, the line in wptexturize is:

 $curl = preg_replace('/(\d+)x(\d+)/', "$1×$2", $curl);

 for some urls like http://4x4blah.com/ etc., it replaces the 'x' with
 ×, which obviously screws up some links. So urls should not be
 filtered through that func or remove that line...

-- 
Ticket URL: <http://trac.wordpress.org/ticket/2614>
WordPress Trac <http://wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list