WordPress.org

Make WordPress Core

Ticket #38357: 38357.diff

File 38357.diff, 717 bytes (added by flixos90, 5 years ago)
  • src/wp-includes/ms-load.php

     
    8484        if ( is_super_admin() )
    8585                return true;
    8686
    87         $blog = get_blog_details();
     87        $blog = get_site();
    8888
    8989        if ( '1' == $blog->deleted ) {
    9090                if ( file_exists( WP_CONTENT_DIR . '/blog-deleted.php' ) )
     
    135135
    136136/**
    137137 * Retrieves the closest matching site object by its domain and path.
    138  * 
     138 *
    139139 * This will not necessarily return an exact match for a domain and path. Instead, it
    140140 * breaks the domain and path into pieces that are then used to match the closest
    141141 * possibility from a query.