Ticket #11644: 11644.changes.r12712.002.diff
File 11644.changes.r12712.002.diff, 827 bytes (added by , 15 years ago) |
---|
-
wp-admin/options-permalink.php
92 92 $category_base = $_POST['category_base']; 93 93 if (! empty($category_base) ) 94 94 $category_base = preg_replace('#/+#', '/', '/' . $_POST['category_base']); 95 if ( is_m iltisite() && !is_subdomain_install() && $category_base != '' && $current_site->domain.$current_site->path == $current_blog->domain.$current_blog->path ) {95 if ( is_multisite() && !is_subdomain_install() && $category_base != '' && $current_site->domain.$current_site->path == $current_blog->domain.$current_blog->path ) { 96 96 $category_base = '/blog' . $category_base; 97 97 } 98 98 $wp_rewrite->set_category_base($category_base);