mirror of
git://develop.git.wordpress.org/
synced 2025-02-27 10:02:43 +01:00
Fix admin memu link for tax assigned to pages. props SeyelentEco, fixes #13560 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@15424 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
44bc91eedd
commit
26e4490a6b
@ -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);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user