From 8c3feb431be489b63b245a40c5843b169acab8cb Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Sat, 20 Feb 2010 22:24:47 +0000 Subject: [PATCH] Don't show menu for menu taxonomy. see #11817 git-svn-id: https://develop.svn.wordpress.org/trunk@13259 602fd350-edb4-49c9-b593-d223f7449a82 --- 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'),