[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
Sat Oct 8 13:39:58 UTC 2022
#54864: Update the object-cache.php in phpunit fixture to support
wp_cache_get_multiple
--------------------------------------+-----------------------------
Reporter: spacedmonkey | Owner: SergeyBiryukov
Type: enhancement | Status: closed
Priority: normal | Milestone: 6.1
Component: Build/Test Tools | Version: 4.8
Severity: normal | Resolution: fixed
Keywords: has-patch has-unit-tests | Focuses:
--------------------------------------+-----------------------------
Changes (by SergeyBiryukov):
* owner: (none) => SergeyBiryukov
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"54423" 54423]:
{{{
#!CommitTicketReference repository="" revision="54423"
Tests: Add `wp_cache_*_multiple()` functions to Memcached implementation
used in the test suite.
Since this object cache implementation was added, WordPress has introduced
a variety of caching API improvements:
* `wp_cache_add_multiple()`
* `wp_cache_set_multiple()`
* `wp_cache_get_multiple()`
* `wp_cache_delete_multiple()`
Although WordPress core provides a compatibility layer if these functions
are missing from third-party object caches, this commit updates the
Memcached object cache used in the test suite to implement these new
functions directly.
Follow-up to [40561], [47938], [47944], [52700], [52703], [52706],
[52708].
Props petitphp, spacedmonkey, tillkruss, SergeyBiryukov.
Fixes #54864.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/54864#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list