Changeset 55566
- Timestamp:
- 03/20/2023 04:40:12 PM (22 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/functions.php
r55549 r55566 7010 7010 * @since 6.1.0 This function is no longer marked as "private". 7011 7011 * 7012 * @param int[] $object_ids Array of IDs.7013 * @param string $cache_ key The cache bucketto check against.7012 * @param int[] $object_ids Array of IDs. 7013 * @param string $cache_group The cache group to check against. 7014 7014 * @return int[] Array of IDs not present in the cache. 7015 7015 */ 7016 function _get_non_cached_ids( $object_ids, $cache_ key) {7016 function _get_non_cached_ids( $object_ids, $cache_group ) { 7017 7017 $object_ids = array_filter( $object_ids, '_validate_cache_id' ); 7018 7018 $object_ids = array_unique( array_map( 'intval', $object_ids ), SORT_NUMERIC ); … … 7023 7023 7024 7024 $non_cached_ids = array(); 7025 $cache_values = wp_cache_get_multiple( $object_ids, $cache_ key);7025 $cache_values = wp_cache_get_multiple( $object_ids, $cache_group ); 7026 7026 7027 7027 foreach ( $cache_values as $id => $value ) {
Note: See TracChangeset
for help on using the changeset viewer.