WordPress.org

Make WordPress Core

Ticket #11644: 11644.changes.r12712.002.diff

File 11644.changes.r12712.002.diff, 827 bytes (added by nacin, 4 years ago)

Fixes typo

  • wp-admin/options-permalink.php

     
    9292                $category_base = $_POST['category_base']; 
    9393                if (! empty($category_base) ) 
    9494                        $category_base = preg_replace('#/+#', '/', '/' . $_POST['category_base']); 
    95                 if ( is_miltisite() && !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 ) { 
    9696                        $category_base = '/blog' . $category_base; 
    9797                } 
    9898                $wp_rewrite->set_category_base($category_base);