Changes from branches/2.8/wp-includes/update.php at r11586 to trunk/wp-includes/update.php at r11424
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/update.php
r11586 r11424 116 116 $new_option = new stdClass; 117 117 $new_option->last_checked = time(); 118 $timeout = 'load-plugins.php' == current_filter() ? 360 0: 43200; //Check for updated every 60 minutes if hitting the themes page, Else, check every 12 hours118 $timeout = 'load-plugins.php' == current_filter() ? 360 : 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 0: 43200; //Check for updated every 60 minutes if hitting the themes page, Else, check every 12 hours201 $timeout = 'load-themes.php' == current_filter() ? 360 : 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.