Changeset 11586 for branches/2.8/wp-includes/update.php
- Timestamp:
- 06/16/2009 07:37:11 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.8/wp-includes/update.php
r11424 r11586 116 116 $new_option = new stdClass; 117 117 $new_option->last_checked = time(); 118 $timeout = 'load-plugins.php' == current_filter() ? 360 : 43200; //Check for updated every 60 minutes if hitting the themes page, Else, check every 12 hours118 $timeout = 'load-plugins.php' == current_filter() ? 3600 : 43200; //Check for updated every 60 minutes if hitting the themes page, Else, check every 12 hours 119 119 $time_not_changed = isset( $current->last_checked ) && $timeout > ( time() - $current->last_checked ); 120 120 … … 199 199 $new_option = new stdClass; 200 200 $new_option->last_checked = time( ); 201 $timeout = 'load-themes.php' == current_filter() ? 360 : 43200; //Check for updated every 60 minutes if hitting the themes page, Else, check every 12 hours201 $timeout = 'load-themes.php' == current_filter() ? 3600 : 43200; //Check for updated every 60 minutes if hitting the themes page, Else, check every 12 hours 202 202 $time_not_changed = isset( $current_theme->last_checked ) && $timeout > ( time( ) - $current_theme->last_checked ); 203 203
Note: See TracChangeset
for help on using the changeset viewer.