From 0a2e59988d547f0952b272117db53358eb53b326 Mon Sep 17 00:00:00 2001 From: ryan Date: Sat, 18 Dec 2010 16:48:20 +0000 Subject: [PATCH] Fix menu highlight for link category edit. Props duck_. fixes #15877 git-svn-id: http://svn.automattic.com/wordpress/trunk@17041 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 6e502a1f7..cfaba6ce5 100644 --- a/wp-admin/edit-tags.php +++ b/wp-admin/edit-tags.php @@ -19,6 +19,9 @@ $title = $tax->labels->name; if ( 'post' != $post_type ) { $parent_file = "edit.php?post_type=$post_type"; $submenu_file = "edit-tags.php?taxonomy=$taxonomy&post_type=$post_type"; +} else if ( 'link_category' == $tax->name ) { + $parent_file = 'link-manager.php'; + $submenu_file = 'edit-tags.php?taxonomy=link_category'; } else { $parent_file = 'edit.php'; $submenu_file = "edit-tags.php?taxonomy=$taxonomy";