Skip to content

Commit

Permalink
Minor: Fix typo.
Browse files Browse the repository at this point in the history
  • Loading branch information
YahnisElsts committed May 17, 2014
1 parent 102a7b2 commit c433010
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugin-update-checker.php
Expand Up @@ -359,7 +359,7 @@ public function maybeCheckForUpdates(){
//Check less frequently if it's already known that an update is available. //Check less frequently if it's already known that an update is available.
$timeout = $this->throttledCheckPeriod * 3600; $timeout = $this->throttledCheckPeriod * 3600;
} else if ( defined('DOING_CRON') && constant('DOING_CRON') ) { } else if ( defined('DOING_CRON') && constant('DOING_CRON') ) {
//WordPress cron schedules are not exact, so lets do a n update check even //WordPress cron schedules are not exact, so lets do an update check even
//if slightly less than $checkPeriod hours have elapsed since the last check. //if slightly less than $checkPeriod hours have elapsed since the last check.
$cronFuzziness = 20 * 60; $cronFuzziness = 20 * 60;
$timeout = $this->checkPeriod * 3600 - $cronFuzziness; $timeout = $this->checkPeriod * 3600 - $cronFuzziness;
Expand Down

0 comments on commit c433010

Please sign in to comment.