From 05861ebb8c564c7ef6757c777418b61a1cd7819f Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Wed, 12 Dec 2012 07:30:28 +0000 Subject: [PATCH] Use 3 * HOUR_IN_SECONDS rather than 10800. git-svn-id: https://develop.svn.wordpress.org/trunk@23175 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/includes/theme-install.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-admin/includes/theme-install.php b/wp-admin/includes/theme-install.php index 5c135aa10a..d0a18a78f8 100644 --- a/wp-admin/includes/theme-install.php +++ b/wp-admin/includes/theme-install.php @@ -30,7 +30,7 @@ $theme_field_defaults = array( 'description' => true, 'sections' => false, 'test */ function install_themes_feature_list( ) { if ( !$cache = get_transient( 'wporg_theme_feature_list' ) ) - set_transient( 'wporg_theme_feature_list', array( ), 10800); + set_transient( 'wporg_theme_feature_list', array(), 3 * HOUR_IN_SECONDS ); if ( $cache ) return $cache; @@ -39,7 +39,7 @@ function install_themes_feature_list( ) { if ( is_wp_error( $feature_list ) ) return $features; - set_transient( 'wporg_theme_feature_list', $feature_list, 10800 ); + set_transient( 'wporg_theme_feature_list', $feature_list, 3 * HOUR_IN_SECONDS ); return $feature_list; }