From f120e4319d514047cdb2f56f4e48b558034a7674 Mon Sep 17 00:00:00 2001 From: ryan Date: Sat, 20 Feb 2010 22:24:47 +0000 Subject: [PATCH] Don't show menu for menu taxonomy. see #11817 git-svn-id: http://svn.automattic.com/wordpress/trunk@13259 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/taxonomy.php | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/wp-includes/taxonomy.php b/wp-includes/taxonomy.php index 2036017576..c51e548581 100644 --- a/wp-includes/taxonomy.php +++ b/wp-includes/taxonomy.php @@ -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'),