Tests: Change the wp_cache_get_multiple function to get cache keys in a single request.

Follow up from [54423].

Change the `wp_cache_get_multiple` function to call the `getMulti` method in the object cache object, to get cache keys in a single call to memcache. This speeds up test by loading caches faster. 

Props spacedmonkey, SergeyBiryukov.
See #54864.
Built from https://develop.svn.wordpress.org/trunk@54942


git-svn-id: http://core.svn.wordpress.org/trunk@54494 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
spacedmonkey 2022-12-06 20:01:11 +00:00
parent a5ed225499
commit 3bcfbde4b4

View File

@ -16,7 +16,7 @@
*
* @global string $wp_version
*/
$wp_version = '6.2-alpha-54941';
$wp_version = '6.2-alpha-54942';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.