From f80381d9a5734f34c590e50349207cb8b66fc4c2 Mon Sep 17 00:00:00 2001 From: dd32 Date: Tue, 26 Jan 2010 11:37:25 +0000 Subject: [PATCH] Remove accidental capability testing code. See #12035 git-svn-id: http://svn.automattic.com/wordpress/trunk@12834 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/taxonomy.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/wp-includes/taxonomy.php b/wp-includes/taxonomy.php index ce34d40e2a..1a5609a1c1 100644 --- a/wp-includes/taxonomy.php +++ b/wp-includes/taxonomy.php @@ -19,8 +19,7 @@ function create_initial_taxonomies() { 'update_count_callback' => '_update_post_term_count', 'label' => __('Categories'), 'query_var' => false, - 'rewrite' => false, - 'edit_cap' => 'no_priv' + 'rewrite' => false ) ) ; register_taxonomy( 'post_tag', 'post', array(