Typo fix. Props nacin. see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12718 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
76349e9b09
commit
aa1f90af53
@ -92,7 +92,7 @@ if ( isset($_POST['permalink_structure']) || isset($_POST['category_base']) ) {
|
||||
$category_base = $_POST['category_base'];
|
||||
if (! empty($category_base) )
|
||||
$category_base = preg_replace('#/+#', '/', '/' . $_POST['category_base']);
|
||||
if ( is_miltisite() && !is_subdomain_install() && $category_base != '' && $current_site->domain.$current_site->path == $current_blog->domain.$current_blog->path ) {
|
||||
if ( is_multisite() && !is_subdomain_install() && $category_base != '' && $current_site->domain.$current_site->path == $current_blog->domain.$current_blog->path ) {
|
||||
$category_base = '/blog' . $category_base;
|
||||
}
|
||||
$wp_rewrite->set_category_base($category_base);
|
||||
|
Loading…
Reference in New Issue
Block a user