Fix page taxonomy query string. Props t31os_. fixes #14591
git-svn-id: http://svn.automattic.com/wordpress/trunk@15556 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
ca7bec26be
commit
dadb673d2f
|
@ -97,7 +97,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) )
|
if ( ! $tax->show_ui || ! in_array('page', (array) $tax->object_type, true) )
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
$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 );
|
$submenu['edit.php?post_type=page'][$i++] = array( esc_attr( $tax->labels->name ), $tax->cap->manage_terms, 'edit-tags.php?taxonomy=' . $tax->name . '&post_type=page' );
|
||||||
}
|
}
|
||||||
unset($tax);
|
unset($tax);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue