Make WordPress Core


Ignore:
Timestamp:
10/21/2025 03:57:16 PM (4 months ago)
Author:
davidbaumwald
Message:

Users: Revert Lazy-load user meta.

With [60915] reverted, this changeset is also being reverted to resolve test failures due to common code.

Reverts [60989].

Follow-up to [61037].

Props jorbin, ellatrix, spacedmonkey.
See #63021, #58001.

File:
1 edited

Legend:

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

    r61010 r61038  
    126126        global $wpdb;
    127127
    128         $user_ids = array_unique( array_map( 'intval', $user_ids ), SORT_NUMERIC );
    129         wp_lazyload_user_meta( $user_ids );
     128        update_meta_cache( 'user', $user_ids );
    130129
    131130        $clean = _get_non_cached_ids( $user_ids, 'users' );
Note: See TracChangeset for help on using the changeset viewer.