Fix highlighting for custom taxonomies menus
git-svn-id: http://svn.automattic.com/wordpress/trunk@10569 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
ebe3ed8d69
commit
90aeee2ce4
|
@ -19,6 +19,9 @@ if ( empty($taxonomy) )
|
||||||
if ( !is_taxonomy($taxonomy) )
|
if ( !is_taxonomy($taxonomy) )
|
||||||
wp_die(__('Invalid 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'] ) )
|
if ( isset( $_GET['action'] ) && isset($_GET['delete_tags']) && ( 'delete' == $_GET['action'] || 'delete' == $_GET['action2'] ) )
|
||||||
$action = 'bulk-delete';
|
$action = 'bulk-delete';
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue