diff --git a/wp-includes/class-wp-network-query.php b/wp-includes/class-wp-network-query.php index 429143976c..ffdb956ad6 100644 --- a/wp-includes/class-wp-network-query.php +++ b/wp-includes/class-wp-network-query.php @@ -242,8 +242,8 @@ class WP_Network_Query { // $args can include anything. Only use the args defined in the query_var_defaults to compute the key. $_args = wp_array_slice_assoc( $this->query_vars, array_keys( $this->query_var_defaults ) ); - // Ignore the $fields argument as the queried result will be the same regardless. - unset( $_args['fields'] ); + // Ignore the $fields, $update_network_cache arguments as the queried result will be the same regardless. + unset( $_args['fields'], $_args['update_network_cache'] ); $key = md5( serialize( $_args ) ); $last_changed = wp_cache_get_last_changed( 'networks' ); diff --git a/wp-includes/version.php b/wp-includes/version.php index 0df909c400..09f9a0a80f 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.0-alpha-53097'; +$wp_version = '6.0-alpha-53098'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.