Loading wp-includes/cache.php +2 −3 Original line number Diff line number Diff line Loading @@ -389,17 +389,16 @@ class WP_Object_Cache { * Remove the contents of the cache key in the group * * If the cache key does not exist in the group, then nothing will happen. * There used to be a 3rd param (bool $force Optional. Whether to * force the unsetting of the cache key in the group). * * @since 2.0.0 * * @param int|string $key What the contents in the cache are called * @param string $group Where the cache contents are grouped * @param bool $deprecated Deprecated. * * @return bool False if the contents weren't deleted and true on success */ function delete( $key, $group = 'default' ) { function delete( $key, $group = 'default', $deprecated = false ) { if ( empty( $group ) ) $group = 'default'; Loading Loading
wp-includes/cache.php +2 −3 Original line number Diff line number Diff line Loading @@ -389,17 +389,16 @@ class WP_Object_Cache { * Remove the contents of the cache key in the group * * If the cache key does not exist in the group, then nothing will happen. * There used to be a 3rd param (bool $force Optional. Whether to * force the unsetting of the cache key in the group). * * @since 2.0.0 * * @param int|string $key What the contents in the cache are called * @param string $group Where the cache contents are grouped * @param bool $deprecated Deprecated. * * @return bool False if the contents weren't deleted and true on success */ function delete( $key, $group = 'default' ) { function delete( $key, $group = 'default', $deprecated = false ) { if ( empty( $group ) ) $group = 'default'; Loading