Fix highlighting for custom taxonomies menus

git-svn-id: https://develop.svn.wordpress.org/trunk@10569 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Ozz 2009-02-14 02:37:10 +00:00
parent 7262e368ac
commit 0d7d164dd9
1 changed files with 3 additions and 0 deletions

View File

@ -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';