mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2025-10-16 12:05:38 +00:00
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. git-svn-id: https://develop.svn.wordpress.org/trunk@55515 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
befb493339
commit
4af22e53d7
@ -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">
|
||||
|
||||
@ -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';
|
||||
|
||||
Loading…
Reference in New Issue
Block a user