[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 18:59:35 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):

 Replying to [comment:52 jhodgdon]:
 > I'm not sure about that. We'd have to check all callers of the function
 and see whether they already stripped slashes prior to calling this
 function (stripping them again could get rid of legitimate slashes).

 Almost all of our functions expect slashed data. wp_set_object_terms()
 expects slashed data when it calls wp_insert_term().

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


More information about the wp-trac mailing list