Skip to content

Commit

Permalink
Merge branch 'master' into update/brain_monkey
Browse files Browse the repository at this point in the history
  • Loading branch information
tfrommen committed Jul 28, 2017
2 parents b1e8be1 + 9f5fedd commit 88b0035
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/HookListener/CronDebugListener.php
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,8 @@ function ( $hooks, $crons ) {
$hooks,
function ( $hook ) use ( $profile_cb ) {

add_action( $hook, $profile_cb, '-' . PHP_INT_MAX );
// Please note that "(int) ( PHP_INT_MAX + 1 )" is the lowest possible integer.
add_action( $hook, $profile_cb, (int) ( PHP_INT_MAX + 1 ) );
add_action( $hook, $profile_cb, PHP_INT_MAX );
}
);
Expand Down

0 comments on commit 88b0035

Please sign in to comment.