Changeset 53482 for trunk/src/wp-includes/pluggable.php
- Timestamp:
- 06/10/2022 01:37:52 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/pluggable.php
r53480 r53482 133 133 global $wpdb; 134 134 135 update_meta_cache( 'user', $user_ids ); 136 135 137 $clean = _get_non_cached_ids( $user_ids, 'users' ); 136 138 … … 142 144 143 145 $users = $wpdb->get_results( "SELECT * FROM $wpdb->users WHERE ID IN ($list)" ); 144 145 $ids = array();146 146 foreach ( $users as $user ) { 147 147 update_user_caches( $user ); 148 $ids[] = $user->ID; 149 } 150 update_meta_cache( 'user', $ids ); 148 } 151 149 } 152 150 endif;
Note: See TracChangeset
for help on using the changeset viewer.