Pending orders doesn’t canceled
-
Hi.
I have set my timezone in “America/Lima” in Settings > General in WordPress.My pending orders are saved with correct date (America/Lima) but the function called “wc_cancel_unpaid_orders” (who is the responsible of cancel pending orders) calculate a date incorrect, this function use current_time( ‘timestamp’ ), is this is the guilty.
For example: Now in America/Lima it is 2016-10-25 12:16:00 (and my pending orders are saved with this date), but current_time( ‘timestamp’ ) says 2016-10-25 07:16:00 .. is wrong!
Something am I doing wrong?
PD: My variables in wp_option are: gmt_offset is empty, timezone_string is America/Lima
The topic ‘Pending orders doesn’t canceled’ is closed to new replies.