We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d9e6c92 commit 90c819dCopy full SHA for 90c819d
core/ObjectCache.php
@@ -22,7 +22,7 @@ public function get_object( $key = null, $callback, $cache_disabled = false ) {
22
23
$object_cache_group = self::$config->get( 'object_cache/group' ) ? self::$config->get( 'object_cache/group' ) : sanitize_title( self::$config->get( 'data/Name' ) );
24
if( is_multisite() ) $object_cache_group .= '_' . get_current_blog_id();
25
- $object_cache_expire = ( is_int( self::$config->get( 'object_cache/expire_hours' ) ) ? self::$config->get( 'object_cache/expire_hours' ) : 24 ) * 86400; // Default to 24 hours
+ $object_cache_expire = ( is_int( self::$config->get( 'object_cache/expire_hours' ) ) ? self::$config->get( 'object_cache/expire_hours' ) : 24 ) * 3600; // Default to 24 hours
26
27
$result = null;
28
0 commit comments