WordPress.org

Make WordPress Core


Ignore:
Timestamp:
03/01/2013 05:00:25 PM (9 years ago)
Author:
ryan
Message:

Use wp_unslash() instead of stripslashes() and stripslashes_deep(). Use wp_slash() instead of add_magic_quotes().

see #21767

File:
1 edited

Legend:

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

    r23554 r23563  
    159159
    160160    // Escape data pulled from DB.
    161     $category = add_magic_quotes($category);
     161    $category = wp_slash($category);
    162162
    163163    // Merge old and new fields with new fields overwriting old ones.
Note: See TracChangeset for help on using the changeset viewer.