From 774e51c04cdbebba9d8e8be0032c1ddfdd7c3a11 Mon Sep 17 00:00:00 2001 From: nacin Date: Mon, 23 Jan 2012 20:10:01 +0000 Subject: [PATCH] Correct logic inversion. #19275. git-svn-id: http://svn.automattic.com/wordpress/trunk@19742 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/taxonomy.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-includes/taxonomy.php b/wp-includes/taxonomy.php index 820d66c1f..f04892619 100644 --- a/wp-includes/taxonomy.php +++ b/wp-includes/taxonomy.php @@ -29,12 +29,12 @@ function create_initial_taxonomies() { 'category' => array( 'hierarchical' => true, 'slug' => get_option('category_base') ? get_option('category_base') : 'category', - 'with_front' => get_option('category_base') || $wp_rewrite->using_index_permalinks(), + 'with_front' => ! get_option('category_base') || $wp_rewrite->using_index_permalinks(), 'ep_mask' => EP_CATEGORIES, ), 'post_tag' => array( 'slug' => get_option('tag_base') ? get_option('tag_base') : 'tag', - 'with_front' => get_option('tag_base') || $wp_rewrite->using_index_permalinks(), + 'with_front' => ! get_option('tag_base') || $wp_rewrite->using_index_permalinks(), 'ep_mask' => EP_TAGS, ), 'post_format' => $post_format_base ? array( 'slug' => $post_format_base ) : false,