WordPress.org

Make WordPress Core

Ticket #23541: 23541.diff

File 23541.diff, 449 bytes (added by aaroncampbell, 3 years ago)
  • wp-includes/ms-blogs.php

     
    4343 * @return string 
    4444 */ 
    4545function get_blogaddress_by_name( $blogname ) { 
    46         global $current_site; 
    47  
    4846        if ( is_subdomain_install() ) { 
    4947                if ( $blogname == 'main' ) 
    5048                        $blogname = 'www'; 
     
    770768 
    771769        wpmu_update_blogs_date(); 
    772770} 
    773