Fix admin memu link for tax assigned to pages. props SeyelentEco, fixes #13560 for 3.0.

git-svn-id: http://svn.automattic.com/wordpress/branches/3.0@15423 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
nacin 2010-07-14 04:53:20 +00:00
parent c80a399064
commit 1e8ec2a1a9
1 changed files with 1 additions and 1 deletions

View File

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