Ticket #7559: patch.diff

File patch.diff, 374 bytes (added by MattyRob, 4 years ago)
  • taxonomy.php

     
    127127        else 
    128128                $update = false; 
    129129 
    130         $name = $cat_name; 
     130        $name = $cat_name = wp_specialchars($cat_name); 
    131131        $description = $category_description; 
    132132        $slug = $category_nicename; 
    133133        $parent = $category_parent;