Don't show menu for menu taxonomy. see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13259 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
63238b1667
commit
8c3feb431b
@ -38,10 +38,11 @@ function create_initial_taxonomies() {
|
||||
'_builtin' => true
|
||||
) ) ;
|
||||
|
||||
register_taxonomy( 'menu', 'post', array( 'hierarchical' => false,
|
||||
'query_var' => false,
|
||||
'rewrite' => false
|
||||
) ) ;
|
||||
register_taxonomy( 'menu', 'post', array( 'hierarchical' => false,
|
||||
'query_var' => false,
|
||||
'rewrite' => false,
|
||||
'show_ui' => false,
|
||||
) ) ;
|
||||
|
||||
register_taxonomy( 'link_category', 'link', array( 'hierarchical' => false,
|
||||
'label' => __('Categories'),
|
||||
|
Loading…
Reference in New Issue
Block a user