[wp-trac] Re: [WordPress Trac] #7559: strip_tags() breaks category names with left angle brackets

WordPress Trac wp-trac at lists.automattic.com
Tue Nov 18 17:15:38 GMT 2008


#7559: strip_tags() breaks category names with left angle brackets
----------------------------------------------------------------------------+
 Reporter:  squirreling                                                     |        Owner:  ryan
     Type:  defect                                                          |       Status:  new 
 Priority:  high                                                            |    Milestone:  2.7 
Component:  Taxonomy                                                        |      Version:  2.6 
 Severity:  minor                                                           |   Resolution:      
 Keywords:  category, bracket, special character, has-patch, needs-testing  |  
----------------------------------------------------------------------------+
Changes (by slushpilejs):

  * owner:  slushpilejs => ryan
  * status:  assigned => new

Comment:

 Yes, wp_specialchars encodes the lone greater than symbol.  This merely
 dodges the broken behaviour of strip_tags.

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


More information about the wp-trac mailing list