diff --git wp-includes/cron.php wp-includes/cron.php
index 8b88c12..871a0df 100644
|
|
|
|
| 23 | 23 | function wp_schedule_single_event( $timestamp, $hook, $args = array()) { |
| 24 | 24 | // don't schedule a duplicate if there's already an identical event due within 10 minutes of it |
| 25 | 25 | $next = wp_next_scheduled($hook, $args); |
| 26 | | if ( $next && abs( $next - $timestamp ) <= 10 * MINUTE_IN_SECONDS ) { |
| | 26 | if ( ( ! is_numeric( $timestamp ) || $timestamp <= 0 ) || ( $next && abs( $next - $timestamp ) <= 10 * MINUTE_IN_SECONDS ) ) { |
| 27 | 27 | return; |
| 28 | 28 | } |
| 29 | 29 | |