add DAY_IN_SECONDS to cron sale price removal check for consistency with #22189

This commit is contained in:
Ron Rennick 2019-01-30 10:51:26 -04:00
parent 00a93ae8f0
commit e64914bb3c
1 changed files with 1 additions and 1 deletions

View File

@ -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 < %s
AND postmeta_2.meta_value != postmeta_3.meta_value",
current_time( 'timestamp', true )
current_time( 'timestamp', true ) - DAY_IN_SECONDS
)
);
}