mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-12 12:50:28 +00:00
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:
@@ -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' );
|
||||
|
||||
Reference in New Issue
Block a user