From a957c38eca03b1941fd42e5bf3c83fab7787472d Mon Sep 17 00:00:00 2001 From: Mark Jaquith 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: https://develop.svn.wordpress.org/trunk@17789 602fd350-edb4-49c9-b593-d223f7449a82 --- 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 1d368e3359..e20312fcde 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,