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:
ryan 2010-10-15 14:53:55 +00:00
parent 3706be0956
commit 3df9f849ce

View File

@ -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' => '',