From a8af962f882c30fb69ba239e4785627d4cfc99c8 Mon Sep 17 00:00:00 2001 From: nacin Date: Wed, 14 Jul 2010 04:53:45 +0000 Subject: [PATCH] Fix admin memu link for tax assigned to pages. props SeyelentEco, fixes #13560 for trunk. git-svn-id: http://svn.automattic.com/wordpress/trunk@15424 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/menu.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-admin/menu.php b/wp-admin/menu.php index 2175f4a36..91e4c0306 100644 --- a/wp-admin/menu.php +++ b/wp-admin/menu.php @@ -113,7 +113,7 @@ $menu[20] = array( __('Pages'), 'edit_pages', 'edit.php?post_type=page', '', 'me if ( ! $tax->show_ui || ! in_array('page', (array) $tax->object_type, true) ) continue; - $submenu['edit.php?post_type=page'][$i++] = array( esc_attr( $tax->labels->name ), $tax->cap->manage_terms, 'edit-tags.php?taxonomy=' . $tax->name ); + $submenu['edit.php?post_type=page'][$i++] = array( esc_attr( $tax->labels->name ), $tax->cap->manage_terms, 'edit-tags.php?post_type=page&taxonomy=' . $tax->name ); } unset($tax);