Ticket #21327: cache_delete_fix.patch
File cache_delete_fix.patch, 757 bytes (added by , 11 years ago) |
---|
-
wp-includes/cache.php
70 70 * 71 71 * @param int|string $key What the contents in the cache are called 72 72 * @param string $group Where the cache contents are grouped 73 * @param bool $force Optional. Whether to force the unsetting of the cache 74 * key in the group 73 75 * @return bool True on successful removal, false on failure 74 76 */ 75 function wp_cache_delete($key, $group = '' ) {77 function wp_cache_delete($key, $group = '', $force = false) { 76 78 global $wp_object_cache; 77 79 78 return $wp_object_cache->delete($key, $group );80 return $wp_object_cache->delete($key, $group, $force); 79 81 } 80 82 81 83 /**