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

WordPress Trac wp-trac at lists.automattic.com
Mon May 11 19:28:40 GMT 2009


#7559: strip_tags() breaks category names with left angle brackets
-------------------------------------+--------------------------------------
 Reporter:  squirreling              |        Owner:  ryan    
     Type:  defect (bug)             |       Status:  reopened
 Priority:  high                     |    Milestone:  2.8     
Component:  Taxonomy                 |      Version:  2.6     
 Severity:  minor                    |   Resolution:          
 Keywords:  needs-patch 2nd-opinion  |  
-------------------------------------+--------------------------------------
Changes (by Denis-de-Bernardy):

  * keywords:  has-patch 2nd-opinion commit => needs-patch 2nd-opinion


Comment:

 my bad sorry. I was trying to apply it to wp-includes/taxonomy.php instead
 of wp-admin/includes/taxonomy.php

 one slight issue I ran into: it allowed to create a category called
 foo<br^"\!'bar?#, but it denied the same for tags and link categories. a
 filter should likely apply to all terms on a pre_term_name hook or
 something like that.

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


More information about the wp-trac mailing list