Make WordPress Core

Changeset 55515


Ignore:
Timestamp:
03/10/2023 03:47:43 PM (15 months ago)
Author:
spacedmonkey
Message:

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.

Location:
trunk/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-activate.php

    r54191 r55515  
    121121get_header( 'wp-activate' );
    122122
    123 $blog_details = get_blog_details();
     123$blog_details = get_site();
    124124?>
    125125
  • trunk/src/wp-includes/general-template.php

    r55276 r55515  
    653653
    654654    if ( is_multisite() ) {
    655         $blog_details  = get_blog_details();
     655        $blog_details  = get_site();
    656656        $wp_login_path = $blog_details->path . 'wp-login.php';
    657657    } else {
Note: See TracChangeset for help on using the changeset viewer.