From cb077a55ed7af140c182c5783bdb1b10e4270e9e Mon Sep 17 00:00:00 2001 From: markjaquith Date: Mon, 2 May 2011 21:34:33 +0000 Subject: [PATCH] Use the presence of manually set tax_base, not category_base, to determine whether tags use with_front to craft URLs. fixes #17308 git-svn-id: http://svn.automattic.com/wordpress/trunk@17789 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/taxonomy.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/taxonomy.php b/wp-includes/taxonomy.php index 1d368e335..e20312fcd 100644 --- a/wp-includes/taxonomy.php +++ b/wp-includes/taxonomy.php @@ -36,7 +36,7 @@ function create_initial_taxonomies() { 'query_var' => 'tag', 'rewrite' => did_action( 'init' ) ? array( 'slug' => get_option('tag_base') ? get_option('tag_base') : 'tag', - 'with_front' => ( get_option('category_base') && ! $wp_rewrite->using_index_permalinks() ) ? false : true ) : false, + 'with_front' => ( get_option('tag_base') && ! $wp_rewrite->using_index_permalinks() ) ? false : true ) : false, 'public' => true, 'show_ui' => true, '_builtin' => true,