From de3a5b86942e512028786db9c1ca3901910aa0e7 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: http://core.svn.wordpress.org/trunk@23175 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- 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; }