From c9e6e7af19a9919f43029dd89f5ef704da433559 Mon Sep 17 00:00:00 2001 From: markjaquith Date: Tue, 14 Dec 2010 16:27:03 +0000 Subject: [PATCH] Recreate initial taxonomies after updating their URL base. props nacin. fixes #15815 git-svn-id: http://svn.automattic.com/wordpress/trunk@16917 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/options-permalink.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/wp-admin/options-permalink.php b/wp-admin/options-permalink.php index 36ef64d8e..0ed9e7368 100644 --- a/wp-admin/options-permalink.php +++ b/wp-admin/options-permalink.php @@ -97,6 +97,8 @@ if ( isset($_POST['permalink_structure']) || isset($_POST['category_base']) ) { $tag_base = $blog_prefix . preg_replace('#/+#', '/', '/' . str_replace( '#', '', $tag_base ) ); $wp_rewrite->set_tag_base( $tag_base ); } + + create_initial_taxonomies(); } $permalink_structure = get_option('permalink_structure');