Make WordPress Core

Ticket #63217: wp_cache_get.patch

File wp_cache_get.patch, 904 bytes (added by jigar bhanushali, 10 months ago)
  • src/wp-includes/cache.php

    diff --git a/src/wp-includes/cache.php b/src/wp-includes/cache.php
    index e7fe7b87a8..a3b5f79153 100644
    a b function wp_cache_set_multiple( array $data, $group = '', $expire = 0 ) { 
    144144 * @param string     $group Optional. Where the cache contents are grouped. Default empty.
    145145 * @param bool       $force Optional. Whether to force an update of the local cache
    146146 *                          from the persistent cache. Default false.
    147  * @param bool       $found Optional. Whether the key was found in the cache (passed by reference).
     147 * @param bool|null  $found Optional. Whether the key was found in the cache (passed by reference).
    148148 *                          Disambiguates a return of false, a storable value. Default null.
    149149 * @return mixed|false The cache contents on success, false on failure to retrieve contents.
    150150 */