Changeset 28253
- Timestamp:
- 05/05/2014 08:25:46 AM (11 years ago)
- Location:
- trunk/src/wp-admin/includes
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-upgrader.php
r28137 r28253 1680 1680 1681 1681 // schedule a cleanup for 2 hours from now in case of failed install 1682 wp_schedule_single_event( time() + 7200, 'upgrader_scheduled_cleanup', array( $this->id ) );1682 wp_schedule_single_event( time() + 2 * HOUR_IN_SECONDS, 'upgrader_scheduled_cleanup', array( $this->id ) ); 1683 1683 1684 1684 } elseif ( is_numeric( $_GET[$urlholder] ) ) { -
trunk/src/wp-admin/includes/theme.php
r28145 r28253 239 239 240 240 if ( !$feature_list = get_site_transient( 'wporg_theme_feature_list' ) ) 241 set_site_transient( 'wporg_theme_feature_list', array(), 10800);241 set_site_transient( 'wporg_theme_feature_list', array(), 3 * HOUR_IN_SECONDS ); 242 242 243 243 if ( !$feature_list ) { … … 250 250 return $features; 251 251 252 set_site_transient( 'wporg_theme_feature_list', $feature_list, 10800);252 set_site_transient( 'wporg_theme_feature_list', $feature_list, 3 * HOUR_IN_SECONDS ); 253 253 254 254 $category_translations = array(
Note: See TracChangeset
for help on using the changeset viewer.