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

WordPress Trac wp-trac at lists.automattic.com
Sat Apr 18 11:19:25 GMT 2009


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

  * keywords:  has-patch, tested, 2nd-opinion => has-patch needs-testing


Comment:

 {{{
 $slug = wp_specialchars($category_nicename);
 }}}

 won't we end up with special chars in the slug?

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


More information about the wp-trac mailing list