diff --git a/wp-admin/categories.php b/wp-admin/categories.php index a1e6c91b1c..ea7a80be5b 100644 --- a/wp-admin/categories.php +++ b/wp-admin/categories.php @@ -10,11 +10,10 @@ require_once('admin.php'); $title = __('Categories'); -$parent_file = 'edit.php'; wp_reset_vars(array('action', 'cat')); -if ( isset($_GET['deleteit']) && isset($_GET['delete']) ) +if ( $_GET['action'] == 'delete' && isset($_GET['delete']) ) $action = 'bulk-delete'; switch($action) { @@ -127,11 +126,7 @@ endif; ?>