diff --git a/wp-admin/categories.php b/wp-admin/categories.php index fe428f645..c06333dcf 100644 --- a/wp-admin/categories.php +++ b/wp-admin/categories.php @@ -54,7 +54,7 @@ case 'addcat': $wpdb->query("INSERT INTO $tablecategories (cat_ID, cat_name, category_nicename, category_description, category_parent) VALUES ('0', '$cat_name', '$category_nicename', '$category_description', '$cat')"); - header('Location: categories.php#addcat'); + header('Location: categories.php?message=1#addcat'); break; @@ -79,7 +79,7 @@ case 'Delete': $wpdb->query("UPDATE $tablecategories SET category_parent=$cat_parent WHERE category_parent=$cat_ID"); $wpdb->query("UPDATE $tablepost2cat SET category_id='1' WHERE category_id='$cat_ID'"); - header('Location: categories.php'); + header('Location: categories.php?message=2'); break; @@ -106,7 +106,7 @@ case 'edit':