[wp-trac] [WordPress Trac] #56198: Check cache key type
WordPress Trac
noreply at wordpress.org
Thu Aug 4 12:09:24 UTC 2022
#56198: Check cache key type
-------------------------+-----------------------------
Reporter: tillkruess | Owner: SergeyBiryukov
Type: enhancement | Status: closed
Priority: normal | Milestone: 6.1
Component: Cache API | Version: trunk
Severity: normal | Resolution: fixed
Keywords: has-patch | Focuses: performance
-------------------------+-----------------------------
Comment (by SergeyBiryukov):
In [changeset:"53821" 53821]:
{{{
#!CommitTicketReference repository="" revision="53821"
Tests: Add a unit test for `WP_Object_Cache::is_valid_key()`.
A valid cache key for `wp_cache_*()` functions must be either an integer
number or a non-empty string.
Follow-up to [53818].
See #56198.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/56198#comment:22>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list