Changeset 6267

Show
Ignore:
Timestamp:
10/17/07 20:41:43 (1 year ago)
Author:
markjaquith
Message:

Stripslashes tag names to prevent double slashing in wp_insert_term(). fixes #5202

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/wp-includes/taxonomy.php

    r6254 r6267  
    10271027    extract($args, EXTR_SKIP); 
    10281028 
     1029    // expected_slashed ($name) 
     1030    $name = stripslashes($name); 
     1031 
    10291032    if ( empty($slug) ) 
    10301033        $slug = sanitize_title($name);