mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 20:30:23 +00:00
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:
@@ -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' => '',
|
||||
|
||||
Reference in New Issue
Block a user