]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-admin/includes/taxonomy.php
Wordpress 3.6
[autoinstalls/wordpress.git] / wp-admin / includes / taxonomy.php
index 7423cf9214919c186fba6b08634ef701a2c80118..fdc6d64d554439de4a6da39d4a1ee1e0aeef7abf 100644 (file)
@@ -158,7 +158,7 @@ function wp_update_category($catarr) {
        $category = get_category($cat_ID, ARRAY_A);
 
        // Escape data pulled from DB.
-       $category = add_magic_quotes($category);
+       $category = wp_slash($category);
 
        // Merge old and new fields with new fields overwriting old ones.
        $catarr = array_merge($category, $catarr);