[wp-trac] Re: [WordPress Trac] #6593: Tags with custom slugs get recreated on post edit screen

WordPress Trac wp-trac at lists.automattic.com
Fri May 1 19:09:01 GMT 2009


#6593: Tags with custom slugs get recreated on post edit screen
-------------------------------------------------+--------------------------
 Reporter:  jhodgdon                             |        Owner:  ryan
     Type:  defect (bug)                         |       Status:  new 
 Priority:  normal                               |    Milestone:  2.8 
Component:  Taxonomy                             |      Version:  2.5 
 Severity:  major                                |   Resolution:      
 Keywords:  tag custom slug duplicity has-patch  |  
-------------------------------------------------+--------------------------

Comment(by ryan):

 AFAICT, all uses of is_term() are passing slashed data.  This didn't
 matter back when we checked against just that ID and slug, but since we
 started checking against name this is a problem.  As do other functions, I
 think is_term() should stripslashes before it prepare()s.  Any function
 not documented as accepting unslashed data should expect slashes.

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


More information about the wp-trac mailing list