nav_menu and post_format taxonomies should not be public. fixes #15107
git-svn-id: https://develop.svn.wordpress.org/trunk@15818 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
fe2b97b594
commit
227e02298a
|
@ -37,6 +37,7 @@ function create_initial_taxonomies() {
|
|||
) );
|
||||
|
||||
register_taxonomy( 'nav_menu', 'nav_menu_item', array(
|
||||
'public' => false,
|
||||
'hierarchical' => false,
|
||||
'labels' => array(
|
||||
'name' => __( 'Navigation Menus' ),
|
||||
|
@ -73,6 +74,7 @@ function create_initial_taxonomies() {
|
|||
) ) ;
|
||||
|
||||
register_taxonomy( 'post_format', array('post', 'page', 'attachment'), array(
|
||||
'public' => false,
|
||||
'hierarchical' => false,
|
||||
'labels' => array(
|
||||
'name' => '',
|
||||
|
|
Loading…
Reference in New Issue