updated plugin Easy Digital Downloads
version 3.1.1.4.2
This commit is contained in:
@ -33,7 +33,7 @@ function edd_maybe_schedule_download_recalculation( $download_id ) {
|
||||
|
||||
// Check if the recalculation has already been scheduled.
|
||||
if ( $is_scheduled && ! $bypass_cron ) {
|
||||
edd_debug_log( 'Recalculation is already scheduled for ' . $download_id . ' at ' . edd_date_i18n( $is_scheduled, 'datetime' ) );
|
||||
edd_debug_log( 'Recalculation is already scheduled for product ' . $download_id . ' at ' . edd_date_i18n( $is_scheduled, 'datetime' ) );
|
||||
return;
|
||||
}
|
||||
|
||||
@ -43,7 +43,7 @@ function edd_maybe_schedule_download_recalculation( $download_id ) {
|
||||
return;
|
||||
}
|
||||
|
||||
edd_debug_log( 'Scheduling recalculation for ' . $download_id );
|
||||
edd_debug_log( 'Scheduling recalculation for product ' . $download_id );
|
||||
wp_schedule_single_event(
|
||||
time() + ( 5 * MINUTE_IN_SECONDS ),
|
||||
'edd_recalculate_download_sales_earnings_deferred',
|
||||
|
Reference in New Issue
Block a user