diff --git a/i18n/languages/woocommerce-germanized-de_DE.mo b/i18n/languages/woocommerce-germanized-de_DE.mo index 92cec4a75..355bfdd2e 100644 Binary files a/i18n/languages/woocommerce-germanized-de_DE.mo and b/i18n/languages/woocommerce-germanized-de_DE.mo differ diff --git a/i18n/languages/woocommerce-germanized-de_DE.po b/i18n/languages/woocommerce-germanized-de_DE.po index 32dd02eb4..882ba1039 100644 --- a/i18n/languages/woocommerce-germanized-de_DE.po +++ b/i18n/languages/woocommerce-germanized-de_DE.po @@ -4,7 +4,7 @@ msgstr "" "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/woocommerce-" "germanized\n" "POT-Creation-Date: 2023-10-24T10:51:25+00:00\n" -"PO-Revision-Date: 2023-10-24 12:55+0200\n" +"PO-Revision-Date: 2023-10-24 16:18+0200\n" "Last-Translator: Dennis Nissle \n" "Language-Team: \n" "Language: de_DE\n" @@ -14695,8 +14695,8 @@ msgid "" "Do only offer pay by invoice to customers who have at least completed one " "order." msgstr "" -"Aktiviere die Zahlungsart nur dann, wenn der Kunde bereits eine Bestellung " -"erfolgreich abgeschlossen hat." +"Aktiviere die Zahlungsart nur dann, wenn der Kunde bereits für eine " +"Bestellung bezahlt hat." # @ woocommerce-germanized #: includes/updates/woocommerce-gzd-update-2.0.1.php:18 diff --git a/i18n/languages/woocommerce-germanized-de_DE_formal.mo b/i18n/languages/woocommerce-germanized-de_DE_formal.mo index 39d19fec2..c7b0f4e0e 100644 Binary files a/i18n/languages/woocommerce-germanized-de_DE_formal.mo and b/i18n/languages/woocommerce-germanized-de_DE_formal.mo differ diff --git a/i18n/languages/woocommerce-germanized-de_DE_formal.po b/i18n/languages/woocommerce-germanized-de_DE_formal.po index f0820fbac..0af9e87af 100644 --- a/i18n/languages/woocommerce-germanized-de_DE_formal.po +++ b/i18n/languages/woocommerce-germanized-de_DE_formal.po @@ -4,7 +4,7 @@ msgstr "" "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/woocommerce-" "germanized\n" "POT-Creation-Date: 2023-10-24T10:51:25+00:00\n" -"PO-Revision-Date: 2023-10-24 12:55+0200\n" +"PO-Revision-Date: 2023-10-24 16:18+0200\n" "Last-Translator: Dennis Nissle \n" "Language-Team: \n" "Language: de_DE@formal\n" @@ -14676,8 +14676,8 @@ msgid "" "Do only offer pay by invoice to customers who have at least completed one " "order." msgstr "" -"Aktiviert die Zahlungsart nur dann, wenn der Kunde bereits eine Bestellung " -"erfolgreich abgeschlossen hat." +"Aktiviere die Zahlungsart nur dann, wenn der Kunde bereits für eine " +"Bestellung bezahlt hat." # @ woocommerce-germanized #: includes/updates/woocommerce-gzd-update-2.0.1.php:18 diff --git a/includes/class-wc-gzd-install.php b/includes/class-wc-gzd-install.php index 8d2a34fa1..a349960dd 100644 --- a/includes/class-wc-gzd-install.php +++ b/includes/class-wc-gzd-install.php @@ -332,6 +332,18 @@ public static function deactivate() { foreach ( $notices->get_notes() as $note ) { $note->delete_note(); } + + wp_clear_scheduled_hook( 'woocommerce_gzd_customer_cleanup' ); + + if ( function_exists( 'as_unschedule_all_actions' ) ) { + $hooks = array( + 'woocommerce_gzd_shipments_daily_cleanup' + ); + + foreach( $hooks as $hook ) { + as_unschedule_all_actions( $hook ); + } + } } /**