Networks and Sites: Replace `get_blog_details` with `get_site`.

Replace usage of the function get_blog_details with more lightweight get_site. 

Props spacedmonkey, kapilpaul, flixos90.
Fixes #57571.
Built from https://develop.svn.wordpress.org/trunk@55515


git-svn-id: http://core.svn.wordpress.org/trunk@55047 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
spacedmonkey 2023-03-10 15:49:18 +00:00
parent 49692206c0
commit df7b417d64
3 changed files with 3 additions and 3 deletions

View File

@ -120,7 +120,7 @@ add_filter( 'wp_robots', 'wp_robots_sensitive_page' );
get_header( 'wp-activate' );
$blog_details = get_blog_details();
$blog_details = get_site();
?>
<div id="signup-content" class="widecolumn">

View File

@ -652,7 +652,7 @@ function wp_lostpassword_url( $redirect = '' ) {
}
if ( is_multisite() ) {
$blog_details = get_blog_details();
$blog_details = get_site();
$wp_login_path = $blog_details->path . 'wp-login.php';
} else {
$wp_login_path = 'wp-login.php';

View File

@ -16,7 +16,7 @@
*
* @global string $wp_version
*/
$wp_version = '6.3-alpha-55514';
$wp_version = '6.3-alpha-55515';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.