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:
parent
5945f381fc
commit
640ed590a2
@ -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');
|
||||
|
Loading…
x
Reference in New Issue
Block a user