updated plugin Easy Digital Downloads
version 3.1.4
This commit is contained in:
@ -94,10 +94,7 @@ function edd_update_payment_details( $data = array() ) {
|
||||
);
|
||||
|
||||
// The date is entered in the WP timezone. We need to convert it to UTC prior to saving now.
|
||||
$date = edd_get_utc_equivalent_date( EDD()->utils->date( $date_string, edd_get_timezone_id(), false ) );
|
||||
$date = $date->format( 'Y-m-d H:i:s' );
|
||||
|
||||
$order_update_args['date_created'] = $date;
|
||||
$order_update_args['date_created'] = edd_get_utc_date_string( $date_string );
|
||||
|
||||
// Customer
|
||||
$curr_customer_id = sanitize_text_field( $data['current-customer-id'] );
|
||||
|
Reference in New Issue
Block a user