mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-03-22 22:34:30 +00:00
Allow single post ID and comma delimited list of post IDs to be passed to update_postmeta_cache(). Fix default cache to allow storage of empty array. see #5194
git-svn-id: https://develop.svn.wordpress.org/trunk@6247 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -267,7 +267,7 @@ class WP_Object_Cache {
|
||||
if (empty ($group))
|
||||
$group = 'default';
|
||||
|
||||
if (NULL == $data)
|
||||
if (NULL === $data)
|
||||
$data = '';
|
||||
|
||||
$this->cache[$group][$id] = $data;
|
||||
|
||||
Reference in New Issue
Block a user