WordPress.org

Make WordPress Core

Changeset 41717


Ignore:
Timestamp:
10/03/2017 07:04:57 PM (2 years ago)
Author:
flixos90
Message:

Multisite: Replace calls to refresh_blog_details() with clean_blog_cache().

Fixes #42077. See #40201.

Location:
trunk/src
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/upgrade.php

    r41661 r41717  
    12611261            $start += 20;
    12621262        }
    1263         refresh_blog_details();
     1263        clean_blog_cache( get_current_blog_id() );
    12641264    }
    12651265}
  • trunk/src/wp-includes/ms-blogs.php

    r41716 r41717  
    411411    }
    412412
    413     refresh_blog_details($blog_id);
     413    clean_blog_cache( $blog_id );
    414414
    415415    return true;
     
    11301130        return false;
    11311131
    1132     refresh_blog_details( $blog_id );
     1132    clean_blog_cache( $blog_id );
    11331133
    11341134    if ( 'spam' == $pref ) {
  • trunk/src/wp-includes/ms-functions.php

    r41714 r41717  
    14081408
    14091409    $blog_id = $wpdb->insert_id;
    1410     refresh_blog_details( $blog_id );
     1410    clean_blog_cache( $blog_id );
    14111411
    14121412    wp_maybe_update_network_site_counts( $network_id );
Note: See TracChangeset for help on using the changeset viewer.