Make WordPress Core

Changeset 6294


Ignore:
Timestamp:
10/26/2007 07:44:57 PM (17 years ago)
Author:
ryan
Message:

Strip term name and description before preparing for DB.

File:
1 edited

Legend:

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

    r6290 r6294  
    10341034    // expected_slashed ($name)
    10351035    $name = stripslashes($name);
     1036    $description = stripslashes($description);
    10361037
    10371038    if ( empty($slug) )
     
    12421243    $args = sanitize_term($args, $taxonomy, 'db');
    12431244    extract($args, EXTR_SKIP);
     1245
     1246    // expected_slashed ($name)
     1247    $name = stripslashes($name);
     1248    $description = stripslashes($description);
    12441249
    12451250    $empty_slug = false;
Note: See TracChangeset for help on using the changeset viewer.