From d1a8b1bdb6b58274000572393745593bcffc8464 Mon Sep 17 00:00:00 2001 From: Dion Hulse Date: Tue, 26 Jan 2010 11:37:25 +0000 Subject: [PATCH] Remove accidental capability testing code. See #12035 git-svn-id: https://develop.svn.wordpress.org/trunk@12834 602fd350-edb4-49c9-b593-d223f7449a82 --- 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(