WordPress.org

Make WordPress Core


Ignore:
Timestamp:
03/18/2019 03:55:25 PM (7 months ago)
Author:
flixos90
Message:

Multisite: Do not prime site meta caches unless necessary.

Props spacedmonkey.
Fixes #46357. See #46167.

File:
1 edited

Legend:

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

    r44918 r44926  
    677677    if ( ! empty( $site_ids ) ) {
    678678        $args = array(
    679             'number'   => '',
    680             'site__in' => $site_ids,
     679            'number'                 => '',
     680            'site__in'               => $site_ids,
     681            'update_site_meta_cache' => false,
    681682        );
    682683        if ( ! $all ) {
Note: See TracChangeset for help on using the changeset viewer.