Ticket #14047: 14047.patch
File 14047.patch, 774 bytes (added by , 15 years ago) |
---|
-
wp-includes/cache.php
167 167 } 168 168 169 169 /** 170 * is wp_cache available? 171 * 172 * This function informs about wether or not the 173 * cache is available. 174 * 175 * @return bool Cache Availablity. 176 */ 177 function wp_cache_available() { 178 global $wp_object_cache; 179 return !empty( $wp_object_cache ) && is_object( $wp_object_cache ); 180 } 181 182 /** 170 183 * Reset internal cache keys and structures. If the cache backend uses global blog or site IDs as part of its cache keys, 171 184 * this function instructs the backend to reset those keys and perform any cleanup since blog or site IDs have changed since cache init. 172 185 *