Multisite: Replace get_blog_details() with get_site() in network admin screens.

Props iamfriendly.
See #37102.
Fixes #38349.


git-svn-id: https://develop.svn.wordpress.org/trunk@38824 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Jeremy Felt
2016-10-19 06:07:09 +00:00
parent aa3662127f
commit 0e41016df8
5 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -91,7 +91,7 @@ if ( isset( $_GET['action'] ) ) {
wp_die( __( 'Sorry, you are not allowed to change the current site.' ) );
}
$site_details = get_blog_details( $id );
$site_details = get_site( $id );
$site_address = untrailingslashit( $site_details->domain . $site_details->path );
require_once( ABSPATH . 'wp-admin/admin-header.php' );