Multisite: Replace get_blog_details() with get_site() in network admin screens.
Props iamfriendly. See #37102. Fixes #38349. Built from https://develop.svn.wordpress.org/trunk@38824 git-svn-id: http://core.svn.wordpress.org/trunk@38767 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -58,7 +58,7 @@ if ( ! $id )
|
||||
|
||||
$wp_list_table->prepare_items();
|
||||
|
||||
$details = get_blog_details( $id );
|
||||
$details = get_site( $id );
|
||||
if ( ! $details ) {
|
||||
wp_die( __( 'The requested site does not exist.' ) );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user