[wp-trac] [WordPress Trac] #11573: sanitize_text_field() leaves extra whitespace when stripping octets

WordPress Trac wp-trac at lists.automattic.com
Wed Dec 23 11:00:33 UTC 2009


#11573: sanitize_text_field() leaves extra whitespace when stripping octets
--------------------------+-------------------------------------------------
 Reporter:  westi         |        Owner:  westi 
     Type:  defect (bug)  |       Status:  closed
 Priority:  normal        |    Milestone:  3.0   
Component:  Formatting    |      Version:  2.9   
 Severity:  normal        |   Resolution:  fixed 
 Keywords:                |  
--------------------------+-------------------------------------------------
Changes (by westi):

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


Comment:

 (In [12504]) Only run a second spaces strip if we replaced some octets.
 Also only replace spaces and we have already removed the other whitespace
 chars. Fixes #11573 props azaozz.

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


More information about the wp-trac mailing list