This repository was archived by the owner on Jul 6, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -210,7 +210,6 @@ public function get_tools() {
210210 );
211211 }
212212
213-
214213 // Jetpack does the image resizing heavy lifting so you don't have to.
215214 if ( ( class_exists ( 'Jetpack ' ) && Jetpack::is_module_active ( 'photon ' ) ) || ! apply_filters ( 'woocommerce_background_image_regeneration ' , true ) ) {
216215 unset( $ tools ['regenerate_thumbnails ' ] );
@@ -469,7 +468,7 @@ public function execute_tool( $tool ) {
469468 $ wpdb ->prepare (
470469 "DELETE FROM {$ wpdb ->prefix }woocommerce_downloadable_product_permissions
471470 WHERE ( downloads_remaining != '' AND downloads_remaining = 0 ) OR ( access_expires IS NOT NULL AND access_expires < %s ) " ,
472- date ( 'Y-m-d ' , current_time ( 'timestamp ' ) )
471+ gmdate ( 'Y-m-d ' , current_time ( 'timestamp ' ) )
473472 )
474473 )
475474 );
@@ -550,7 +549,7 @@ public function execute_tool( $tool ) {
550549
551550 case 'verify_db_tables ' :
552551 if ( ! method_exists ( 'WC_Install ' , 'verify_base_tables ' ) ) {
553- $ message = __ ( 'You need WooCommerce 4.2 or newer to run this tool. ' , 'woocommerce ' );
552+ $ message = __ ( 'You need WooCommerce 4.2 or newer to run this tool. ' , 'woocommerce-rest-api ' );
554553 $ ran = false ;
555554 break ;
556555 }
You can’t perform that action at this time.
0 commit comments