[wp-trac] [WordPress Trac] #54864: Update the object-cache.php in phpunit fixture to support wp_cache_get_multiple

WordPress Trac noreply at wordpress.org
Thu Jan 20 11:05:22 UTC 2022


#54864: Update the object-cache.php in phpunit fixture to support
wp_cache_get_multiple
------------------------------+------------------------------
 Reporter:  spacedmonkey      |       Owner:  (none)
     Type:  enhancement       |      Status:  new
 Priority:  normal            |   Milestone:  Awaiting Review
Component:  Build/Test Tools  |     Version:  4.8
 Severity:  normal            |  Resolution:
 Keywords:  needs-patch       |     Focuses:
------------------------------+------------------------------
Description changed by spacedmonkey:

Old description:

> The object-cache file used in tests/phpunit/includes/object-cache.php is
> used in PHPUnit tests. In this file, there are references to
> `wp_cache_get_multi`. However, these functions do not exist in core. In
> WordPress 5.5, the `wp_cache_get_multiple` function. This function should
> be implemented in the object-cache.php file.

New description:

 The object-cache file used in tests/phpunit/includes/object-cache.php is
 used in PHPUnit tests. In this file, there are references to
 `wp_cache_get_multi`. However, these functions do not exist in core. In
 WordPress 5.5, the `wp_cache_get_multiple` function was added. This
 function should be implemented in the object-cache.php file.

--

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/54864#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list