WordPress.org

Make WordPress Core

Changeset 6267


Ignore:
Timestamp:
10/17/2007 08:41:43 PM (12 years ago)
Author:
markjaquith
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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);
Note: See TracChangeset for help on using the changeset viewer.