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.
Built from https://develop.svn.wordpress.org/trunk@53821


git-svn-id: http://core.svn.wordpress.org/trunk@53380 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2022-08-04 12:11:19 +00:00
parent 39903f841e
commit 39821528b4

View File

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