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:
ryan 2010-02-20 22:24:47 +00:00
parent 94a42d9ba2
commit f120e4319d
1 changed files with 5 additions and 4 deletions

View File

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