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
This commit is contained in:
markjaquith 2010-12-14 16:27:03 +00:00
parent 010b2f1eef
commit c9e6e7af19
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');