Make WordPress Core

Ticket #38353: 38353.diff

File 38353.diff, 558 bytes (added by dipesh.kakadiya, 8 years ago)
  • wp-includes/ms-deprecated.php

     
    2626function get_dashboard_blog() {
    2727    _deprecated_function( __FUNCTION__, '3.1.0' );
    2828    if ( $blog = get_site_option( 'dashboard_blog' ) )
    29         return get_blog_details( $blog );
     29        return get_site( $blog );
    3030
    31     return get_blog_details( get_network()->site_id );
     31    return get_site( get_network()->site_id );
    3232}
    3333
    3434/**