Recreate initial taxonomies after updating their URL base. props nacin. fixes #15815

git-svn-id: https://develop.svn.wordpress.org/trunk@16917 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Mark Jaquith 2010-12-14 16:27:03 +00:00
parent 5945f381fc
commit 640ed590a2
1 changed files with 2 additions and 0 deletions

View File

@ -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');