← All changes
|
vendor/codeinwp/themeisle-sdk/src/Modules/Logger.php
+1
-1
3.10.2
→
3.4.9
View file →
| @@ -77,9 +77,9 @@ | ||
| 77 | 77 | return; |
| 78 | 78 | } |
| 79 | 79 | $action_key = $this->product->get_key() . '_log_activity'; |
| 80 | 80 | if ( ! wp_next_scheduled( $action_key ) ) { |
| 81 | - wp_schedule_single_event( time() + ( wp_rand( 1, 24 ) * 3600 ), $action_key ); | |
| 81 | + wp_schedule_single_event( time() + ( rand( 1, 24 ) * 3600 ), $action_key ); | |
| 82 | 82 | } |
| 83 | 83 | add_action( $action_key, array( $this, 'send_log' ) ); |
| 84 | 84 | |
| 85 | 85 | } |