Don't show menu for menu taxonomy. see #11817
git-svn-id: http://svn.automattic.com/wordpress/trunk@13259 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
94a42d9ba2
commit
f120e4319d
|
@ -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