mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-22 17:18:32 +01:00
nav_menu and post_format taxonomies should not be public. fixes #15107
git-svn-id: http://svn.automattic.com/wordpress/trunk@15818 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
3706be0956
commit
3df9f849ce
@ -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
Block a user