add DAY_IN_SECONDS to cron sale price removal check for consistency with #22189
This commit is contained in:
parent
00a93ae8f0
commit
e64914bb3c
|
@ -1038,7 +1038,7 @@ class WC_Product_Data_Store_CPT extends WC_Data_Store_WP implements WC_Object_Da
|
||||||
AND postmeta.meta_value > 0
|
AND postmeta.meta_value > 0
|
||||||
AND postmeta.meta_value < %s
|
AND postmeta.meta_value < %s
|
||||||
AND postmeta_2.meta_value != postmeta_3.meta_value",
|
AND postmeta_2.meta_value != postmeta_3.meta_value",
|
||||||
current_time( 'timestamp', true )
|
current_time( 'timestamp', true ) - DAY_IN_SECONDS
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue