Skip to content

Commit

Permalink
Minor: Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
YahnisElsts committed Aug 23, 2023
1 parent b9aa17b commit 0f72961
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Puc/v5p2/Scheduler.php
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ protected function getEffectiveCheckPeriod() {
//Check less frequently if it's already known that an update is available.
$period = $this->throttledCheckPeriod * 3600;
} else if ( defined('DOING_CRON') && constant('DOING_CRON') ) {
//WordPress cron schedules are not exact, so lets do an update check even
//WordPress cron schedules are not exact, so let's do an update check even
//if slightly less than $checkPeriod hours have elapsed since the last check.
$cronFuzziness = 20 * 60;
$period = $this->checkPeriod * 3600 - $cronFuzziness;
Expand Down

0 comments on commit 0f72961

Please sign in to comment.