diff --git a/wp-admin/categories.php b/wp-admin/categories.php index 525435f5d8..49ae994f56 100644 --- a/wp-admin/categories.php +++ b/wp-admin/categories.php @@ -51,7 +51,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'); + header('Location: categories.php#addcat'); break; @@ -92,9 +92,10 @@ case 'edit':

Category name:

Category parent:
- + cat_ID, $category->category_parent); ?>

- +

Description:

@@ -134,22 +135,6 @@ default: } ?> -
-

Add New Category

-
- -

Name:
-

-

Category parent:
- -

Description: (optional)
-

-

-
-
-

Current Categories

@@ -173,10 +158,27 @@ cat_rows();

+
+

Add New Category

+
+ +

Name:
+

+

Category parent:
+ +

Description: (optional)
+

+

+ +
+ */ include('admin-footer.php'); -?> \ No newline at end of file +?> \ No newline at end of file