From 90aeee2ce47c9bced940416db6a0762c79b7925c Mon Sep 17 00:00:00 2001 From: azaozz Date: Sat, 14 Feb 2009 02:37:10 +0000 Subject: [PATCH] Fix highlighting for custom taxonomies menus git-svn-id: http://svn.automattic.com/wordpress/trunk@10569 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/edit-tags.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/wp-admin/edit-tags.php b/wp-admin/edit-tags.php index a0dcf81445..7c4effd784 100644 --- a/wp-admin/edit-tags.php +++ b/wp-admin/edit-tags.php @@ -19,6 +19,9 @@ if ( empty($taxonomy) ) if ( !is_taxonomy($taxonomy) ) wp_die(__('Invalid taxonomy')); +$parent_file = 'edit.php'; +$submenu_file = "edit-tags.php?taxonomy=$taxonomy"; + if ( isset( $_GET['action'] ) && isset($_GET['delete_tags']) && ( 'delete' == $_GET['action'] || 'delete' == $_GET['action2'] ) ) $action = 'bulk-delete';