Don't double escape.

git-svn-id: http://svn.automattic.com/wordpress/trunk@2925 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2005-09-28 20:41:53 +00:00
parent e2b904c714
commit 9531b6328b
1 changed files with 0 additions and 1 deletions

View File

@ -18,7 +18,6 @@ if ( !$category_nicename = sanitize_title($cat_name) )
if ( $already = category_exists($cat_name) ) if ( $already = category_exists($cat_name) )
die((string) $already); die((string) $already);
$cat_name = $wpdb->escape($cat_name);
$new_cat_id = wp_create_category($cat_name); $new_cat_id = wp_create_category($cat_name);
die((string) $new_cat_id); die((string) $new_cat_id);
?> ?>