From 81a54e048fb2b2f3dbacbc1755810ae85ccbe698 Mon Sep 17 00:00:00 2001 From: Ryan Boren 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: https://develop.svn.wordpress.org/trunk@17041 602fd350-edb4-49c9-b593-d223f7449a82 --- 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 6e502a1f7b..cfaba6ce5a 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";