WooCommerce Germanized - Version 3.9.2

Version Description

  • Fix: State select hide for DE
  • Fix: Food nutrients variation parent merge
  • Improvement: Food attribute formatting
  • Improvement: Admin notes handling with nonce links
Download this release

Release Info

Developer vendidero
Plugin Icon 128x128 WooCommerce Germanized
Version 3.9.2
Comparing to
See all releases

Code changes from version 3.9.1 to 3.9.2

Files changed (43) hide show
  1. includes/abstracts/abstract-wc-gzd-product.php +18 -6
  2. includes/admin/class-wc-gzd-admin.php +3 -3
  3. includes/admin/notes/class-wc-gzd-admin-note-dhl-importer.php +9 -4
  4. includes/admin/notes/class-wc-gzd-admin-note-encryption.php +6 -1
  5. includes/admin/notes/class-wc-gzd-admin-note-internetmarke-importer.php +9 -4
  6. includes/admin/notes/class-wc-gzd-admin-note-update.php +7 -5
  7. includes/admin/notes/class-wc-gzd-admin-note.php +82 -28
  8. includes/admin/views/html-notice-fallback.php +1 -1
  9. includes/admin/views/html-notice-update-pro-incompatible.php +1 -2
  10. includes/class-wc-gzd-checkout.php +5 -18
  11. includes/class-wc-gzd-install.php +9 -0
  12. includes/class-wc-gzd-product-variation.php +2 -1
  13. includes/updates/woocommerce-gzd-update-3.9.1.php +1 -0
  14. includes/wc-gzd-core-functions.php +35 -1
  15. packages/woocommerce-germanized-dhl/i18n/holidays.php +30 -30
  16. packages/woocommerce-germanized-dhl/src/Api/ImProductList.php +9 -20
  17. packages/woocommerce-germanized-dhl/src/Api/Internetmarke.php +16 -4
  18. packages/woocommerce-germanized-dhl/src/Package.php +1 -1
  19. packages/woocommerce-germanized-dhl/src/ShippingProvider/DeutschePost.php +5 -4
  20. packages/woocommerce-germanized-dhl/woocommerce-germanized-dhl.php +1 -1
  21. readme.txt +7 -1
  22. vendor/autoload.php +1 -1
  23. vendor/autoload_packages.php +1 -1
  24. vendor/composer/autoload_real.php +7 -7
  25. vendor/composer/autoload_static.php +4 -4
  26. vendor/composer/installed.json +9 -9
  27. vendor/composer/installed.php +5 -5
  28. vendor/composer/jetpack_autoload_classmap.php +39 -39
  29. vendor/jetpack-autoloader/class-autoloader-handler.php +1 -1
  30. vendor/jetpack-autoloader/class-autoloader-locator.php +1 -1
  31. vendor/jetpack-autoloader/class-autoloader.php +1 -1
  32. vendor/jetpack-autoloader/class-container.php +1 -1
  33. vendor/jetpack-autoloader/class-hook-manager.php +1 -1
  34. vendor/jetpack-autoloader/class-latest-autoloader-guard.php +1 -1
  35. vendor/jetpack-autoloader/class-manifest-reader.php +1 -1
  36. vendor/jetpack-autoloader/class-path-processor.php +1 -1
  37. vendor/jetpack-autoloader/class-php-autoloader.php +1 -1
  38. vendor/jetpack-autoloader/class-plugin-locator.php +1 -1
  39. vendor/jetpack-autoloader/class-plugins-handler.php +1 -1
  40. vendor/jetpack-autoloader/class-shutdown-handler.php +1 -1
  41. vendor/jetpack-autoloader/class-version-loader.php +1 -1
  42. vendor/jetpack-autoloader/class-version-selector.php +1 -1
  43. woocommerce-germanized.php +2 -2
includes/abstracts/abstract-wc-gzd-product.php CHANGED
@@ -200,7 +200,7 @@ class WC_GZD_Product {
200
 
201
  if ( '' !== $quantity ) {
202
  $unit = apply_filters( "woocommerce_gzd_product_net_filling_quantity_unit", $this->get_unit(), $this );
203
- $quantity = sprintf( '%1$s %2$s', wc_format_localized_decimal( $quantity ), $unit );
204
  }
205
 
206
  return apply_filters( "woocommerce_gzd_product_formatted_net_filling_quantity", $quantity, $this );
@@ -212,7 +212,7 @@ class WC_GZD_Product {
212
  if ( '' !== $this->get_drained_weight() ) {
213
  $drain_weight_unit = apply_filters( "woocommerce_gzd_drain_weight_unit", "g" );
214
  $weight_in_g = wc_get_weight( (float) $this->get_drained_weight(), $drain_weight_unit, get_option( 'woocommerce_weight_unit' ) );
215
- $weight = sprintf( '%1$s %2$s', wc_format_localized_decimal( $weight_in_g ), $drain_weight_unit );
216
  }
217
 
218
  return apply_filters( "woocommerce_gzd_product_formatted_drain_weight", $weight, $this );
@@ -622,7 +622,7 @@ class WC_GZD_Product {
622
  'ref_value' => '',
623
  ) );
624
 
625
- if ( ! is_numeric( $value['value'] ) ) {
626
  unset( $ids[ $k ] );
627
  } else {
628
  $value['value'] = wc_format_decimal( $value['value'] );
@@ -630,7 +630,7 @@ class WC_GZD_Product {
630
 
631
  $ids[ $k ] = $value;
632
  }
633
- } elseif ( ! is_numeric( $value ) ) {
634
  unset( $ids[ $k ] );
635
  } else {
636
  $ids[ $k ] = array(
@@ -809,7 +809,13 @@ class WC_GZD_Product {
809
  $nutrient_value = (float) $nutrient['value'];
810
  }
811
 
812
- return apply_filters( 'woocommerce_gzd_product_nutrient_value', $nutrient_value, $id, $this, $context );
 
 
 
 
 
 
813
  }
814
 
815
  public function get_nutrient_reference( $id, $context = 'view' ) {
@@ -819,7 +825,13 @@ class WC_GZD_Product {
819
  $ref_value = (float) $nutrient['ref_value'];
820
  }
821
 
822
- return apply_filters( 'woocommerce_gzd_product_nutrient_reference', $ref_value, $id, $this, $context );
 
 
 
 
 
 
823
  }
824
 
825
  public function get_nutrient( $id, $context = 'view' ) {
200
 
201
  if ( '' !== $quantity ) {
202
  $unit = apply_filters( "woocommerce_gzd_product_net_filling_quantity_unit", $this->get_unit(), $this );
203
+ $quantity = sprintf( '%1$s %2$s', wc_gzd_format_food_attribute_value( $quantity, array( 'attribute_type' => 'net_filling_quantity' ) ), $unit );
204
  }
205
 
206
  return apply_filters( "woocommerce_gzd_product_formatted_net_filling_quantity", $quantity, $this );
212
  if ( '' !== $this->get_drained_weight() ) {
213
  $drain_weight_unit = apply_filters( "woocommerce_gzd_drain_weight_unit", "g" );
214
  $weight_in_g = wc_get_weight( (float) $this->get_drained_weight(), $drain_weight_unit, get_option( 'woocommerce_weight_unit' ) );
215
+ $weight = sprintf( '%1$s %2$s', wc_gzd_format_food_attribute_value( $weight_in_g, array( 'attribute_type' => 'drained_weight' ) ), $drain_weight_unit );
216
  }
217
 
218
  return apply_filters( "woocommerce_gzd_product_formatted_drain_weight", $weight, $this );
622
  'ref_value' => '',
623
  ) );
624
 
625
+ if ( '' === $value['value'] ) {
626
  unset( $ids[ $k ] );
627
  } else {
628
  $value['value'] = wc_format_decimal( $value['value'] );
630
 
631
  $ids[ $k ] = $value;
632
  }
633
+ } elseif ( '' === $value ) {
634
  unset( $ids[ $k ] );
635
  } else {
636
  $ids[ $k ] = array(
809
  $nutrient_value = (float) $nutrient['value'];
810
  }
811
 
812
+ $nutrient_value = apply_filters( 'woocommerce_gzd_product_nutrient_value', $nutrient_value, $id, $this, $context );
813
+
814
+ if ( 'view' === $context ) {
815
+ $nutrient_value = wc_gzd_format_food_attribute_value( $nutrient_value );
816
+ }
817
+
818
+ return $nutrient_value;
819
  }
820
 
821
  public function get_nutrient_reference( $id, $context = 'view' ) {
825
  $ref_value = (float) $nutrient['ref_value'];
826
  }
827
 
828
+ $ref_value = apply_filters( 'woocommerce_gzd_product_nutrient_reference', $ref_value, $id, $this, $context );
829
+
830
+ if ( 'view' === $context ) {
831
+ $ref_value = wc_gzd_format_food_attribute_value( $ref_value, array( 'attribute_type' => 'nutrient_reference' ) );
832
+ }
833
+
834
+ return $ref_value;
835
  }
836
 
837
  public function get_nutrient( $id, $context = 'view' ) {
includes/admin/class-wc-gzd-admin.php CHANGED
@@ -107,17 +107,17 @@ class WC_GZD_Admin {
107
 
108
  if ( current_user_can( 'manage_woocommerce' ) ) {
109
  foreach( $actions as $action ) {
110
- $nonce_name = "wc-gzd-check-{$action}";
111
 
112
  /**
113
  * Legacy notice support
114
  */
115
  if ( 'encryption_key_insert' === $action && isset( $_GET['insert-encryption-key'] ) ) {
116
- $nonce_name = 'wc-gzd-insert-encryption-key';
117
  $_GET["wc-gzd-check-{$action}"] = true;
118
  }
119
 
120
- if ( isset( $_GET["wc-gzd-check-{$action}"] ) && isset( $_GET['_wpnonce'] ) && check_admin_referer( $nonce_name ) ) {
121
  $method = "check_{$action}";
122
 
123
  if ( is_callable( array( $this, $method ) ) ) {
107
 
108
  if ( current_user_can( 'manage_woocommerce' ) ) {
109
  foreach( $actions as $action ) {
110
+ $nonce_action = "wc-gzd-check-{$action}";
111
 
112
  /**
113
  * Legacy notice support
114
  */
115
  if ( 'encryption_key_insert' === $action && isset( $_GET['insert-encryption-key'] ) ) {
116
+ $nonce_action = 'wc-gzd-insert-encryption-key';
117
  $_GET["wc-gzd-check-{$action}"] = true;
118
  }
119
 
120
+ if ( isset( $_GET["wc-gzd-check-{$action}"] ) && isset( $_GET['_wpnonce'] ) && check_admin_referer( $nonce_action ) ) {
121
  $method = "check_{$action}";
122
 
123
  if ( is_callable( array( $this, $method ) ) ) {
includes/admin/notes/class-wc-gzd-admin-note-dhl-importer.php CHANGED
@@ -40,13 +40,18 @@ class WC_GZD_Admin_Note_DHL_Importer extends WC_GZD_Admin_Note {
40
  return $content;
41
  }
42
 
 
 
 
 
43
  public function get_actions() {
44
  return array(
45
  array(
46
- 'url' => wp_nonce_url( add_query_arg( 'wc-gzd-dhl-import', 'yes' ), 'woocommerce_gzd_dhl_import_nonce' ) ,
47
- 'title' => _x( 'Import settings and activate', 'dhl', 'woocommerce-germanized' ),
48
- 'target' => '_self',
49
- 'is_primary' => true,
 
50
  ),
51
  array(
52
  'url' => 'https://vendidero.de/dokument/dhl-labels-zu-sendungen-erstellen',
40
  return $content;
41
  }
42
 
43
+ protected function has_nonce_action() {
44
+ return true;
45
+ }
46
+
47
  public function get_actions() {
48
  return array(
49
  array(
50
+ 'url' => add_query_arg( 'wc-gzd-dhl-import', 'yes', admin_url( 'admin.php?page=wc-settings&tab=germanized-shipping_provider&provider=dhl' ) ),
51
+ 'title' => _x( 'Import settings and activate', 'dhl', 'woocommerce-germanized' ),
52
+ 'target' => '_self',
53
+ 'is_primary' => true,
54
+ 'nonce_action' => 'woocommerce_gzd_dhl_import_nonce',
55
  ),
56
  array(
57
  'url' => 'https://vendidero.de/dokument/dhl-labels-zu-sendungen-erstellen',
includes/admin/notes/class-wc-gzd-admin-note-encryption.php CHANGED
@@ -39,6 +39,10 @@ class WC_GZD_Admin_Note_Encryption extends WC_GZD_Admin_Note {
39
  return $content;
40
  }
41
 
 
 
 
 
42
  public function get_actions() {
43
  $buttons = array(
44
  array(
@@ -51,10 +55,11 @@ class WC_GZD_Admin_Note_Encryption extends WC_GZD_Admin_Note {
51
 
52
  if ( WC_GZD_Secret_Box_Helper::supports_auto_insert() ) {
53
  $buttons[] = array(
54
- 'url' => wp_nonce_url( add_query_arg( 'wc-gzd-check-encryption_key_insert', true ), 'wc-gzd-check-encryption_key_insert' ) ,
55
  'title' => __( 'Auto insert', 'woocommerce-germanized' ),
56
  'target' => '_self',
57
  'is_primary' => true,
 
58
  );
59
  }
60
 
39
  return $content;
40
  }
41
 
42
+ protected function has_nonce_action() {
43
+ return true;
44
+ }
45
+
46
  public function get_actions() {
47
  $buttons = array(
48
  array(
55
 
56
  if ( WC_GZD_Secret_Box_Helper::supports_auto_insert() ) {
57
  $buttons[] = array(
58
+ 'url' => add_query_arg( 'wc-gzd-check-encryption_key_insert', true, admin_url( 'admin.php?page=wc-settings&tab=germanized' ) ),
59
  'title' => __( 'Auto insert', 'woocommerce-germanized' ),
60
  'target' => '_self',
61
  'is_primary' => true,
62
+ 'nonce_action' => 'wc-gzd-check-encryption_key_insert',
63
  );
64
  }
65
 
includes/admin/notes/class-wc-gzd-admin-note-internetmarke-importer.php CHANGED
@@ -40,13 +40,18 @@ class WC_GZD_Admin_Note_Internetmarke_Importer extends WC_GZD_Admin_Note {
40
  return $content;
41
  }
42
 
 
 
 
 
43
  public function get_actions() {
44
  return array(
45
  array(
46
- 'url' => wp_nonce_url( add_query_arg( 'wc-gzd-internetmarke-import', 'yes' ), 'woocommerce_gzd_internetmarke_import_nonce' ) ,
47
- 'title' => _x( 'Import settings and activate', 'dhl', 'woocommerce-germanized' ),
48
- 'target' => '_self',
49
- 'is_primary' => true,
 
50
  ),
51
  array(
52
  'url' => 'https://vendidero.de/dokument/internetmarke-integration-einrichten',
40
  return $content;
41
  }
42
 
43
+ protected function has_nonce_action() {
44
+ return true;
45
+ }
46
+
47
  public function get_actions() {
48
  return array(
49
  array(
50
+ 'url' => add_query_arg( 'wc-gzd-internetmarke-import', 'yes', admin_url( 'admin.php?page=wc-settings&tab=germanized-shipping_provider&provider=deutsche_post' ) ),
51
+ 'title' => _x( 'Import settings and activate', 'dhl', 'woocommerce-germanized' ),
52
+ 'target' => '_self',
53
+ 'is_primary' => true,
54
+ 'nonce_action' => 'woocommerce_gzd_internetmarke_import_nonce'
55
  ),
56
  array(
57
  'url' => 'https://vendidero.de/dokument/internetmarke-integration-einrichten',
includes/admin/notes/class-wc-gzd-admin-note-update.php CHANGED
@@ -29,16 +29,18 @@ class WC_GZD_Admin_Note_Update extends WC_GZD_Admin_Note {
29
  return __( 'We just need to update your install to the latest version.', 'woocommerce-germanized' );
30
  }
31
 
32
- public function is_dismissable() {
33
- return false;
34
  }
35
 
36
  public function get_actions() {
37
  return array(
38
  array(
39
- 'url' => wp_nonce_url( add_query_arg( 'do_update_woocommerce_gzd', 'true', admin_url( 'admin.php?page=wc-settings&tab=germanized' ) ), 'wc_gzd_db_update', 'wc_gzd_db_update_nonce' ),
40
- 'title' => __( 'Run the updater', 'woocommerce-germanized' ),
41
- 'target' => '_self',
 
 
42
  )
43
  );
44
  }
29
  return __( 'We just need to update your install to the latest version.', 'woocommerce-germanized' );
30
  }
31
 
32
+ protected function has_nonce_action() {
33
+ return true;
34
  }
35
 
36
  public function get_actions() {
37
  return array(
38
  array(
39
+ 'url' => add_query_arg( 'do_update_woocommerce_gzd', 'true', admin_url( 'admin.php?page=wc-settings&tab=germanized' ) ),
40
+ 'title' => __( 'Run the updater', 'woocommerce-germanized' ),
41
+ 'target' => '_self',
42
+ 'nonce_name' => 'wc_gzd_db_update_nonce',
43
+ 'nonce_action' => 'wc_gzd_db_update',
44
  )
45
  );
46
  }
includes/admin/notes/class-wc-gzd-admin-note.php CHANGED
@@ -21,6 +21,33 @@ abstract class WC_GZD_Admin_Note {
21
  return false;
22
  }
23
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
24
  protected function get_note() {
25
  try {
26
  $data_store = \WC_Data_Store::load( 'admin-note' );
@@ -126,45 +153,46 @@ abstract class WC_GZD_Admin_Note {
126
  return $use_wp_notice_api;
127
  }
128
 
129
- protected function add() {
130
- $screen = get_current_screen();
131
- $screen_id = $screen ? $screen->id : '';
132
- $supports_notes = self::use_wp_notice_api() ? false : true;
133
-
134
- if ( ! $supports_notes || in_array( $screen_id, array( 'dashboard', 'plugins' ) ) ) {
135
- // Use fallback
136
- add_action( 'admin_notices', array( $this, 'add_fallback' ), 10 );
137
- return;
138
- }
139
-
140
- if ( $this->exists() ) {
141
- return;
142
- }
143
 
144
- $note = WC_GZD_Admin_Notices::instance()->get_woo_note();
145
 
146
- $note->set_title( $this->get_title() );
147
- $note->set_content( $this->convert_content( $this->get_content() ) );
148
- $note->set_type( $this->get_type() );
149
- $note->set_name( $this->get_name_prefixed() );
150
- $note->set_content_data( (object) array() );
151
- $note->set_source( 'woocommerce-germanized' );
152
 
153
- foreach( $this->get_actions() as $action ) {
 
 
154
 
155
- $action = wp_parse_args( $action, array(
156
- 'title' => '',
157
- 'url' => '',
158
- 'is_primary' => true,
159
- ) );
160
 
161
  $note->add_action(
162
- sanitize_key( $action['title'] ),
163
  $action['title'],
164
  $action['url'],
165
  'disabled',
166
  $action['is_primary'] ? true : false
167
  );
 
 
 
 
 
 
168
  }
169
 
170
  if ( $this->is_dismissable() ) {
@@ -184,7 +212,33 @@ abstract class WC_GZD_Admin_Note {
184
  'deactivated'
185
  );
186
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
187
 
 
188
  $note->save();
189
  }
190
 
21
  return false;
22
  }
23
 
24
+ public function get_action_url( $action ) {
25
+ $action = wp_parse_args( $action, array(
26
+ 'url' => '',
27
+ 'nonce_name' => '',
28
+ 'nonce_action' => '',
29
+ ) );
30
+
31
+ if ( ! empty( $action['nonce_action'] ) ) {
32
+ $action['url'] = wp_nonce_url( $action['url'], $action['nonce_action'], ( empty( $action['nonce_name'] ) ? '_wpnonce' : $action['nonce_name'] ) );
33
+ }
34
+
35
+ return $action['url'];
36
+ }
37
+
38
+ protected function has_nonce_action() {
39
+ $has_nonce = false;
40
+
41
+ foreach( $this->get_actions() as $action ) {
42
+ if ( isset( $action['nonce_action'] ) && ! empty( $action['nonce_action'] ) ) {
43
+ $has_nonce = true;
44
+ break;
45
+ }
46
+ }
47
+
48
+ return $has_nonce;
49
+ }
50
+
51
  protected function get_note() {
52
  try {
53
  $data_store = \WC_Data_Store::load( 'admin-note' );
153
  return $use_wp_notice_api;
154
  }
155
 
156
+ /**
157
+ * @param \Automattic\WooCommerce\Admin\Notes\Note $note
158
+ *
159
+ * @return void
160
+ */
161
+ private function register_note_actions( $note ) {
162
+ foreach( $this->get_actions() as $action ) {
163
+ $action = wp_parse_args( $action, array(
164
+ 'title' => '',
165
+ 'url' => '',
166
+ 'is_primary' => true,
167
+ 'nonce_name' => '',
168
+ 'nonce_action' => '',
169
+ ) );
170
 
171
+ $add_separate_nonce = false;
172
 
173
+ if ( is_callable( array( $note, 'add_nonce_to_action' ) ) ) {
174
+ $add_separate_nonce = true;
175
+ }
 
 
 
176
 
177
+ if ( ! $add_separate_nonce && ! empty( $action['nonce_action'] ) ) {
178
+ $action['url'] = wp_nonce_url( $action['url'], $action['nonce_action'], ( empty( $action['nonce_name'] ) ? '_wpnonce' : $action['nonce_name'] ) );
179
+ }
180
 
181
+ $note_name = sanitize_key( $action['title'] );
 
 
 
 
182
 
183
  $note->add_action(
184
+ $note_name,
185
  $action['title'],
186
  $action['url'],
187
  'disabled',
188
  $action['is_primary'] ? true : false
189
  );
190
+
191
+ if ( $add_separate_nonce && ! empty( $action['nonce_action'] ) ) {
192
+ try {
193
+ $note->add_nonce_to_action( $note_name, $action['nonce_action'], ( empty( $action['nonce_name'] ) ? '_wpnonce' : $action['nonce_name'] ) );
194
+ } catch ( \Exception $e ) {}
195
+ }
196
  }
197
 
198
  if ( $this->is_dismissable() ) {
212
  'deactivated'
213
  );
214
  }
215
+ }
216
+
217
+ protected function add() {
218
+ $screen = get_current_screen();
219
+ $screen_id = $screen ? $screen->id : '';
220
+ $supports_notes = self::use_wp_notice_api() ? false : true;
221
+
222
+ if ( ! $supports_notes || in_array( $screen_id, array( 'dashboard', 'plugins' ) ) ) {
223
+ // Use fallback
224
+ add_action( 'admin_notices', array( $this, 'add_fallback' ), 10 );
225
+ return;
226
+ }
227
+
228
+ if ( $this->exists() ) {
229
+ return;
230
+ }
231
+
232
+ $note = WC_GZD_Admin_Notices::instance()->get_woo_note();
233
+
234
+ $note->set_title( $this->get_title() );
235
+ $note->set_content( $this->convert_content( $this->get_content() ) );
236
+ $note->set_type( $this->get_type() );
237
+ $note->set_name( $this->get_name_prefixed() );
238
+ $note->set_content_data( (object) array() );
239
+ $note->set_source( 'woocommerce-germanized' );
240
 
241
+ $this->register_note_actions( $note );
242
  $note->save();
243
  }
244
 
includes/admin/views/html-notice-fallback.php CHANGED
@@ -30,7 +30,7 @@ if ( ! defined( 'ABSPATH' ) ) {
30
  'target' => '_blank'
31
  ) );
32
  ?>
33
- <a class="button button-<?php echo ( $action['is_primary'] ? 'primary' : 'secondary' ); ?> wc-gzd-action-button-link" href="<?php echo esc_url( $action['url'] ); ?>" target="<?php echo esc_attr( $action['target'] ); ?>"><?php echo $action['title']; ?></a>
34
  <?php endforeach; ?>
35
  </p>
36
 
30
  'target' => '_blank'
31
  ) );
32
  ?>
33
+ <a class="button button-<?php echo ( $action['is_primary'] ? 'primary' : 'secondary' ); ?> wc-gzd-action-button-link" href="<?php echo esc_url( $notice->get_action_url( $action ) ); ?>" target="<?php echo esc_attr( $action['target'] ); ?>"><?php echo $action['title']; ?></a>
34
  <?php endforeach; ?>
35
  </p>
36
 
includes/admin/views/html-notice-update-pro-incompatible.php CHANGED
@@ -11,5 +11,4 @@ if ( ! defined( 'ABSPATH' ) ) {
11
  display: none;
12
  }
13
  </style>
14
- <p class="wc-gzd-update-warning">
15
- <?php printf( __( '<strong>Be aware!</strong> This update is not compatible with your current Germanized Pro version. Please <a href="%s">check for updates</a> before updating Germanized to prevent <a href="%s">compatibility issues</a>.', 'woocommerce-germanized' ), 'https://vendidero.de/dokument/germanized-pro-aktualisieren', 'https://vendidero.de/dokument/wichtige-plugins-fehlen-sind-veraltet-oder-werden-nicht-unterstuetzt' ); ?>
11
  display: none;
12
  }
13
  </style>
14
+ <p class="wc-gzd-update-warning"><?php printf( __( '<strong>Be aware!</strong> This update is not compatible with your current Germanized Pro version. Please <a href="%s">check for updates</a> before updating Germanized to prevent <a href="%s">compatibility issues</a>.', 'woocommerce-germanized' ), 'https://vendidero.de/dokument/germanized-pro-aktualisieren', 'https://vendidero.de/dokument/wichtige-plugins-fehlen-sind-veraltet-oder-werden-nicht-unterstuetzt' ); ?>
 
includes/class-wc-gzd-checkout.php CHANGED
@@ -117,8 +117,7 @@ class WC_GZD_Checkout {
117
  add_action( 'woocommerce_checkout_update_order_review', array( $this, 'maybe_remove_shopmark_filters' ) );
118
 
119
  // Hide the newly introduced state field for Germany since Woo 6.3
120
- add_filter( 'woocommerce_billing_fields', array( $this, 'hide_de_state' ), 500, 2 );
121
- add_filter( 'woocommerce_shipping_fields', array( $this, 'hide_de_state' ), 500, 2 );
122
 
123
  if ( 'never' !== get_option( 'woocommerce_gzd_checkout_validate_street_number' ) ) {
124
  // Maybe force street number during checkout
@@ -126,24 +125,12 @@ class WC_GZD_Checkout {
126
  }
127
  }
128
 
129
- public function hide_de_state( $fields, $country ) {
130
- if ( 'DE' === $country && ( isset( $fields['billing_state'] ) || isset( $fields['shipping_state'] ) ) && apply_filters( 'woocommerce_gzd_disable_de_checkout_state_select', true ) ) {
131
- if ( isset( $fields['billing_state'] ) ) {
132
- unset( $fields['billing_state'] );
133
- } elseif ( isset( $fields['shipping_state'] ) ) {
134
- unset( $fields['shipping_state'] );
135
- }
136
- }
137
-
138
- return $fields;
139
- }
140
-
141
- public function remove_state_from_locale( $locale ) {
142
- if ( isset( $locale['DE']['state'] ) ) {
143
- unset( $locale['DE']['state'] );
144
  }
145
 
146
- return $locale;
147
  }
148
 
149
  /**
117
  add_action( 'woocommerce_checkout_update_order_review', array( $this, 'maybe_remove_shopmark_filters' ) );
118
 
119
  // Hide the newly introduced state field for Germany since Woo 6.3
120
+ add_filter( 'woocommerce_states', array( __CLASS__, 'filter_de_states' ) );
 
121
 
122
  if ( 'never' !== get_option( 'woocommerce_gzd_checkout_validate_street_number' ) ) {
123
  // Maybe force street number during checkout
125
  }
126
  }
127
 
128
+ public static function filter_de_states( $states ) {
129
+ if ( apply_filters( 'woocommerce_gzd_disable_de_checkout_state_select', ( is_checkout() ) ) && isset( $states['DE'] ) ) {
130
+ $states['DE'] = array();
 
 
 
 
 
 
 
 
 
 
 
 
131
  }
132
 
133
+ return $states;
134
  }
135
 
136
  /**
includes/class-wc-gzd-install.php CHANGED
@@ -439,6 +439,15 @@ if ( ! class_exists( 'WC_GZD_Install' ) ) :
439
  $base_country = ( isset( WC()->countries ) ) ? WC()->countries->get_base_country() : 'DE';
440
  $eu_countries = ( isset( WC()->countries ) ) ? WC()->countries->get_european_union_countries() : array( $base_country );
441
 
 
 
 
 
 
 
 
 
 
442
  $options = array(
443
  'woocommerce_default_country' => $base_country,
444
  'woocommerce_currency' => 'EUR',
439
  $base_country = ( isset( WC()->countries ) ) ? WC()->countries->get_base_country() : 'DE';
440
  $eu_countries = ( isset( WC()->countries ) ) ? WC()->countries->get_european_union_countries() : array( $base_country );
441
 
442
+ /**
443
+ * Woo introduced state field for DE
444
+ */
445
+ if ( version_compare( WC()->version, '6.3.1', '>=' ) ) {
446
+ if ( 'DE' === $base_country ) {
447
+ $base_country = 'DE:DE-BE';
448
+ }
449
+ }
450
+
451
  $options = array(
452
  'woocommerce_default_country' => $base_country,
453
  'woocommerce_currency' => 'EUR',
includes/class-wc-gzd-product-variation.php CHANGED
@@ -189,7 +189,8 @@ class WC_GZD_Product_Variation extends WC_GZD_Product {
189
 
190
  if ( 'view' === $context ) {
191
  $variation_level_nutrient_ids = (array) $this->get_prop( 'nutrient_ids', 'edit' );
192
- $nutrient_ids = array_replace_recursive( $nutrient_ids, $variation_level_nutrient_ids );
 
193
  }
194
 
195
  return $nutrient_ids;
189
 
190
  if ( 'view' === $context ) {
191
  $variation_level_nutrient_ids = (array) $this->get_prop( 'nutrient_ids', 'edit' );
192
+ $parent_level_nutrient_ids = $this->get_gzd_parent() ? $this->get_gzd_parent()->get_nutrient_ids( $context ) : $nutrient_ids;
193
+ $nutrient_ids = array_replace_recursive( $parent_level_nutrient_ids, $variation_level_nutrient_ids );
194
  }
195
 
196
  return $nutrient_ids;
includes/updates/woocommerce-gzd-update-3.9.1.php CHANGED
@@ -5,6 +5,7 @@ if ( ! defined( 'ABSPATH' ) ) {
5
  }
6
 
7
  global $wpdb;
 
8
 
9
  if ( 'woocommerce_cart_item_subtotal' === get_option( 'woocommerce_gzd_display_mini_cart_deposit_filter' ) ) {
10
  update_option( 'woocommerce_gzd_display_mini_cart_deposit_filter', 'woocommerce_cart_item_price' );
5
  }
6
 
7
  global $wpdb;
8
+ $wpdb->hide_errors();
9
 
10
  if ( 'woocommerce_cart_item_subtotal' === get_option( 'woocommerce_gzd_display_mini_cart_deposit_filter' ) ) {
11
  update_option( 'woocommerce_gzd_display_mini_cart_deposit_filter', 'woocommerce_cart_item_price' );
includes/wc-gzd-core-functions.php CHANGED
@@ -270,7 +270,41 @@ function wc_gzd_format_tax_rate_percentage( $rate, $percent = false ) {
270
  }
271
 
272
  function wc_gzd_format_alcohol_content( $alcohol_content ) {
273
- return apply_filters( 'woocommerce_gzd_formatted_alcohol_content', sprintf( '%1$s %% vol', wc_format_localized_decimal( $alcohol_content ) ) );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
274
  }
275
 
276
  function wc_gzd_is_customer_activated( $user_id = '' ) {
270
  }
271
 
272
  function wc_gzd_format_alcohol_content( $alcohol_content ) {
273
+ return apply_filters( 'woocommerce_gzd_formatted_alcohol_content', sprintf( '%1$s %% vol', wc_gzd_format_food_attribute_value( $alcohol_content, array( 'attribute_type' => 'alcohol_content' ) ) ) );
274
+ }
275
+
276
+ function wc_gzd_format_food_attribute_value( $decimal, $args = array() ) {
277
+ /**
278
+ * Some strings might not be numeric, e.g. < 0,5 g - do not format them again.
279
+ */
280
+ if ( ! is_numeric( $decimal ) ) {
281
+ return $decimal;
282
+ }
283
+
284
+ $args = apply_filters(
285
+ 'wc_gzdp_food_attribute_args',
286
+ wp_parse_args(
287
+ $args,
288
+ array(
289
+ 'decimal_separator' => wc_get_price_decimal_separator(),
290
+ 'thousand_separator' => '',
291
+ 'decimals' => 3,
292
+ 'attribute_type' => 'nutrient'
293
+ )
294
+ )
295
+ );
296
+
297
+ $original_decimal = $decimal;
298
+
299
+ // Convert to float to avoid issues on PHP 8.
300
+ $decimal = (float) $decimal;
301
+ $decimal = apply_filters( 'woocommerce_gzd_formatted_food_attribute_value', number_format( $decimal, $args['decimals'], $args['decimal_separator'], $args['thousand_separator'] ), $decimal, $args, $original_decimal );
302
+
303
+ if ( apply_filters( 'woocommerce_gzd_food_attribute_trim_zeros', true, $args ) && $args['decimals'] > 0 ) {
304
+ $decimal = preg_replace( '/' . preg_quote( $args['decimal_separator'], '/' ) . '*(0+)$/', '', $decimal );
305
+ }
306
+
307
+ return $decimal;
308
  }
309
 
310
  function wc_gzd_is_customer_activated( $user_id = '' ) {
packages/woocommerce-germanized-dhl/i18n/holidays.php CHANGED
@@ -11,47 +11,47 @@ defined( 'ABSPATH' ) || exit;
11
 
12
  return array(
13
  'DE' => array(
 
14
  '2022-01-06',
15
- '2022-06-16',
16
- '2022-04-17',
17
  '2022-03-08',
18
- '2022-11-01',
19
- '2022-05-26',
 
 
20
  '2022-05-01',
21
- '2022-12-26',
22
- '2022-10-03',
23
- '2022-09-20',
24
- '2022-08-08',
25
- '2022-11-16',
26
- '2022-01-01',
27
- '2022-10-31',
28
  '2022-06-06',
 
 
29
  '2022-08-15',
30
- '2022-04-15',
 
 
 
 
31
  '2022-12-25',
32
- '2022-04-14',
33
- '2022-06-05',
34
- '2022-04-18',
35
  '2023-01-06',
36
- '2023-06-08',
37
- '2023-04-09',
38
  '2023-03-08',
39
- '2023-11-01',
40
- '2023-05-18',
 
 
41
  '2023-05-01',
42
- '2023-12-26',
43
- '2023-10-03',
44
- '2023-09-20',
45
- '2023-08-08',
46
- '2023-11-22',
47
- '2023-01-01',
48
- '2023-10-31',
49
  '2023-05-29',
 
 
50
  '2023-08-15',
51
- '2023-04-07',
 
 
 
 
52
  '2023-12-25',
53
- '2023-04-06',
54
- '2023-05-28',
55
- '2023-04-10',
56
  ),
57
  );
11
 
12
  return array(
13
  'DE' => array(
14
+ '2022-01-01',
15
  '2022-01-06',
 
 
16
  '2022-03-08',
17
+ '2022-04-14',
18
+ '2022-04-15',
19
+ '2022-04-17',
20
+ '2022-04-18',
21
  '2022-05-01',
22
+ '2022-05-26',
23
+ '2022-06-05',
 
 
 
 
 
24
  '2022-06-06',
25
+ '2022-06-16',
26
+ '2022-08-08',
27
  '2022-08-15',
28
+ '2022-09-20',
29
+ '2022-10-03',
30
+ '2022-10-31',
31
+ '2022-11-01',
32
+ '2022-11-16',
33
  '2022-12-25',
34
+ '2022-12-26',
35
+ '2023-01-01',
 
36
  '2023-01-06',
 
 
37
  '2023-03-08',
38
+ '2023-04-06',
39
+ '2023-04-07',
40
+ '2023-04-09',
41
+ '2023-04-10',
42
  '2023-05-01',
43
+ '2023-05-18',
44
+ '2023-05-28',
 
 
 
 
 
45
  '2023-05-29',
46
+ '2023-06-08',
47
+ '2023-08-08',
48
  '2023-08-15',
49
+ '2023-09-20',
50
+ '2023-10-03',
51
+ '2023-10-31',
52
+ '2023-11-01',
53
+ '2023-11-22',
54
  '2023-12-25',
55
+ '2023-12-26',
 
 
56
  ),
57
  );
packages/woocommerce-germanized-dhl/src/Api/ImProductList.php CHANGED
@@ -15,7 +15,14 @@ class ImProductList {
15
 
16
  protected $available_products = null;
17
 
18
- public function __construct() {}
 
 
 
 
 
 
 
19
 
20
  public function get_products( $filters = array() ) {
21
  if ( is_null( $this->products ) ) {
@@ -35,31 +42,13 @@ class ImProductList {
35
  $this->products = $products;
36
  }
37
 
38
- public function get_default_available_products() {
39
- return array(
40
- '11',
41
- '21',
42
- '31',
43
- '282',
44
- '290',
45
- '10246',
46
- '10247',
47
- '10248',
48
- '10249',
49
- '10254',
50
- '10255',
51
- '10256',
52
- '10257',
53
- );
54
- }
55
-
56
  protected function load_available_products() {
57
  global $wpdb;
58
 
59
  $available_products = Package::get_setting( 'deutsche_post_available_products' );
60
 
61
  if ( empty( $available_products ) ) {
62
- $available_products = $this->get_default_available_products();
63
  }
64
 
65
  if ( ! empty( $available_products ) ) {
15
 
16
  protected $available_products = null;
17
 
18
+ /**
19
+ * @var Internetmarke
20
+ */
21
+ protected $im = null;
22
+
23
+ public function __construct( $im ) {
24
+ $this->im = $im;
25
+ }
26
 
27
  public function get_products( $filters = array() ) {
28
  if ( is_null( $this->products ) ) {
42
  $this->products = $products;
43
  }
44
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
45
  protected function load_available_products() {
46
  global $wpdb;
47
 
48
  $available_products = Package::get_setting( 'deutsche_post_available_products' );
49
 
50
  if ( empty( $available_products ) ) {
51
+ $available_products = $this->im->get_default_available_products();
52
  }
53
 
54
  if ( ! empty( $available_products ) ) {
packages/woocommerce-germanized-dhl/src/Api/Internetmarke.php CHANGED
@@ -191,7 +191,7 @@ class Internetmarke {
191
 
192
  protected function load_products() {
193
  if ( is_null( $this->products ) ) {
194
- $this->products = new ImProductList();
195
  }
196
 
197
  $transient = get_transient( 'wc_gzd_dhl_im_products_expire' );
@@ -223,9 +223,21 @@ class Internetmarke {
223
  }
224
 
225
  public function get_default_available_products() {
226
- $this->load_products();
227
-
228
- return $this->products->get_default_available_products();
 
 
 
 
 
 
 
 
 
 
 
 
229
  }
230
 
231
  public function get_available_products( $filters = array() ) {
191
 
192
  protected function load_products() {
193
  if ( is_null( $this->products ) ) {
194
+ $this->products = new ImProductList( $this );
195
  }
196
 
197
  $transient = get_transient( 'wc_gzd_dhl_im_products_expire' );
223
  }
224
 
225
  public function get_default_available_products() {
226
+ return array(
227
+ '11',
228
+ '21',
229
+ '31',
230
+ '282',
231
+ '290',
232
+ '10246',
233
+ '10247',
234
+ '10248',
235
+ '10249',
236
+ '10254',
237
+ '10255',
238
+ '10256',
239
+ '10257',
240
+ );
241
  }
242
 
243
  public function get_available_products( $filters = array() ) {
packages/woocommerce-germanized-dhl/src/Package.php CHANGED
@@ -25,7 +25,7 @@ class Package {
25
  *
26
  * @var string
27
  */
28
- const VERSION = '1.6.12';
29
 
30
  public static $upload_dir_suffix = '';
31
 
25
  *
26
  * @var string
27
  */
28
+ const VERSION = '1.6.13';
29
 
30
  public static $upload_dir_suffix = '';
31
 
packages/woocommerce-germanized-dhl/src/ShippingProvider/DeutschePost.php CHANGED
@@ -151,19 +151,20 @@ class DeutschePost extends Auto {
151
  $im = Package::get_internetmarke_api();
152
  $settings = parent::get_label_settings( $for_shipping_method );
153
  $settings_url = $this->get_edit_link( 'label' );
 
154
  $page_format_options = array();
155
  $product_options = array(
156
  'available' => array(),
157
- 'default_available' => array(),
158
  'dom' => array(),
159
  'eu' => array(),
160
  'int' => array(),
161
  );
162
 
163
  /**
164
- * Do only allow calling IM API during admin requests.
165
  */
166
- if ( is_admin() ) {
167
  if ( $im && $im->is_configured() && $im->auth() && $im->is_available() ) {
168
  $im->reload_products();
169
 
@@ -171,7 +172,7 @@ class DeutschePost extends Auto {
171
 
172
  $product_options = array(
173
  'available' => $this->get_product_select_options(),
174
- 'default_available' => $im->get_default_available_products(),
175
  'dom' => wc_gzd_dhl_get_deutsche_post_products_domestic( false, false ),
176
  'eu' => wc_gzd_dhl_get_deutsche_post_products_eu( false, false ),
177
  'int' => wc_gzd_dhl_get_deutsche_post_products_international( false, false ),
151
  $im = Package::get_internetmarke_api();
152
  $settings = parent::get_label_settings( $for_shipping_method );
153
  $settings_url = $this->get_edit_link( 'label' );
154
+ $screen = function_exists( 'get_current_screen' ) ? get_current_screen() : false;
155
  $page_format_options = array();
156
  $product_options = array(
157
  'available' => array(),
158
+ 'default_available' => $im ? $im->get_default_available_products() : array(),
159
  'dom' => array(),
160
  'eu' => array(),
161
  'int' => array(),
162
  );
163
 
164
  /**
165
+ * Do only allow calling IM API during admin setting requests.
166
  */
167
+ if ( is_admin() && $screen && 'woocommerce_page_wc-settings' === $screen->id ) {
168
  if ( $im && $im->is_configured() && $im->auth() && $im->is_available() ) {
169
  $im->reload_products();
170
 
172
 
173
  $product_options = array(
174
  'available' => $this->get_product_select_options(),
175
+ 'default_available' => $im ? $im->get_default_available_products() : array(),
176
  'dom' => wc_gzd_dhl_get_deutsche_post_products_domestic( false, false ),
177
  'eu' => wc_gzd_dhl_get_deutsche_post_products_eu( false, false ),
178
  'int' => wc_gzd_dhl_get_deutsche_post_products_international( false, false ),
packages/woocommerce-germanized-dhl/woocommerce-germanized-dhl.php CHANGED
@@ -5,7 +5,7 @@
5
  * Description: The Germanized DHL integration, installed as a feature plugin for development and testing purposes.
6
  * Author: vendidero
7
  * Author URI: https://vendidero.de
8
- * Version: 1.6.12
9
  * Requires PHP: 5.6
10
  * License: GPLv3
11
  *
5
  * Description: The Germanized DHL integration, installed as a feature plugin for development and testing purposes.
6
  * Author: vendidero
7
  * Author URI: https://vendidero.de
8
+ * Version: 1.6.13
9
  * Requires PHP: 5.6
10
  * License: GPLv3
11
  *
readme.txt CHANGED
@@ -5,7 +5,7 @@ Requires at least: 5.4
5
  Tested up to: 6.0
6
  WC requires at least: 3.9
7
  WC tested up to: 6.5
8
- Stable tag: 3.9.1
9
  Requires PHP: 5.6
10
  License: GPLv3
11
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
@@ -209,6 +209,12 @@ Bug reports may be filed via our [GitHub repository](https://github.com/vendider
209
  6. Edit pdf documents (Pro)
210
 
211
  == Changelog ==
 
 
 
 
 
 
212
  = 3.9.1 =
213
  * Fix: Default shopmark filter for deposits in mini-cart dropdown
214
  * Fix: Deprecated virtual VAT helper legacy load
5
  Tested up to: 6.0
6
  WC requires at least: 3.9
7
  WC tested up to: 6.5
8
+ Stable tag: 3.9.2
9
  Requires PHP: 5.6
10
  License: GPLv3
11
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
209
  6. Edit pdf documents (Pro)
210
 
211
  == Changelog ==
212
+ = 3.9.2 =
213
+ * Fix: State select hide for DE
214
+ * Fix: Food nutrients variation parent merge
215
+ * Improvement: Food attribute formatting
216
+ * Improvement: Admin notes handling with nonce links
217
+
218
  = 3.9.1 =
219
  * Fix: Default shopmark filter for deposits in mini-cart dropdown
220
  * Fix: Deprecated virtual VAT helper legacy load
vendor/autoload.php CHANGED
@@ -4,4 +4,4 @@
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
- return ComposerAutoloaderInitc8096104638d10aadb2596efb19c6685::getLoader();
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
+ return ComposerAutoloaderInit6b6b8952a3388659c47913dea07bae7a::getLoader();
vendor/autoload_packages.php CHANGED
@@ -5,7 +5,7 @@
5
  * @package automattic/jetpack-autoloader
6
  */
7
 
8
- namespace Automattic\Jetpack\Autoloader\jpc8096104638d10aadb2596efb19c6685;
9
 
10
  // phpcs:ignore
11
 
5
  * @package automattic/jetpack-autoloader
6
  */
7
 
8
+ namespace Automattic\Jetpack\Autoloader\jp6b6b8952a3388659c47913dea07bae7a;
9
 
10
  // phpcs:ignore
11
 
vendor/composer/autoload_real.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
- class ComposerAutoloaderInitc8096104638d10aadb2596efb19c6685
6
  {
7
  private static $loader;
8
 
@@ -24,15 +24,15 @@ class ComposerAutoloaderInitc8096104638d10aadb2596efb19c6685
24
 
25
  require __DIR__ . '/platform_check.php';
26
 
27
- spl_autoload_register(array('ComposerAutoloaderInitc8096104638d10aadb2596efb19c6685', 'loadClassLoader'), true, true);
28
  self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(\dirname(__FILE__)));
29
- spl_autoload_unregister(array('ComposerAutoloaderInitc8096104638d10aadb2596efb19c6685', 'loadClassLoader'));
30
 
31
  $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
32
  if ($useStaticLoader) {
33
  require __DIR__ . '/autoload_static.php';
34
 
35
- call_user_func(\Composer\Autoload\ComposerStaticInitc8096104638d10aadb2596efb19c6685::getInitializer($loader));
36
  } else {
37
  $map = require __DIR__ . '/autoload_namespaces.php';
38
  foreach ($map as $namespace => $path) {
@@ -53,19 +53,19 @@ class ComposerAutoloaderInitc8096104638d10aadb2596efb19c6685
53
  $loader->register(true);
54
 
55
  if ($useStaticLoader) {
56
- $includeFiles = Composer\Autoload\ComposerStaticInitc8096104638d10aadb2596efb19c6685::$files;
57
  } else {
58
  $includeFiles = require __DIR__ . '/autoload_files.php';
59
  }
60
  foreach ($includeFiles as $fileIdentifier => $file) {
61
- composerRequirec8096104638d10aadb2596efb19c6685($fileIdentifier, $file);
62
  }
63
 
64
  return $loader;
65
  }
66
  }
67
 
68
- function composerRequirec8096104638d10aadb2596efb19c6685($fileIdentifier, $file)
69
  {
70
  if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
71
  require $file;
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
+ class ComposerAutoloaderInit6b6b8952a3388659c47913dea07bae7a
6
  {
7
  private static $loader;
8
 
24
 
25
  require __DIR__ . '/platform_check.php';
26
 
27
+ spl_autoload_register(array('ComposerAutoloaderInit6b6b8952a3388659c47913dea07bae7a', 'loadClassLoader'), true, true);
28
  self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(\dirname(__FILE__)));
29
+ spl_autoload_unregister(array('ComposerAutoloaderInit6b6b8952a3388659c47913dea07bae7a', 'loadClassLoader'));
30
 
31
  $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
32
  if ($useStaticLoader) {
33
  require __DIR__ . '/autoload_static.php';
34
 
35
+ call_user_func(\Composer\Autoload\ComposerStaticInit6b6b8952a3388659c47913dea07bae7a::getInitializer($loader));
36
  } else {
37
  $map = require __DIR__ . '/autoload_namespaces.php';
38
  foreach ($map as $namespace => $path) {
53
  $loader->register(true);
54
 
55
  if ($useStaticLoader) {
56
+ $includeFiles = Composer\Autoload\ComposerStaticInit6b6b8952a3388659c47913dea07bae7a::$files;
57
  } else {
58
  $includeFiles = require __DIR__ . '/autoload_files.php';
59
  }
60
  foreach ($includeFiles as $fileIdentifier => $file) {
61
+ composerRequire6b6b8952a3388659c47913dea07bae7a($fileIdentifier, $file);
62
  }
63
 
64
  return $loader;
65
  }
66
  }
67
 
68
+ function composerRequire6b6b8952a3388659c47913dea07bae7a($fileIdentifier, $file)
69
  {
70
  if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
71
  require $file;
vendor/composer/autoload_static.php CHANGED
@@ -4,7 +4,7 @@
4
 
5
  namespace Composer\Autoload;
6
 
7
- class ComposerStaticInitc8096104638d10aadb2596efb19c6685
8
  {
9
  public static $files = array (
10
  '6124b4c8570aa390c21fafd04a26c69f' => __DIR__ . '/..' . '/myclabs/deep-copy/src/DeepCopy/deep_copy.php',
@@ -537,9 +537,9 @@ class ComposerStaticInitc8096104638d10aadb2596efb19c6685
537
  public static function getInitializer(ClassLoader $loader)
538
  {
539
  return \Closure::bind(function () use ($loader) {
540
- $loader->prefixLengthsPsr4 = ComposerStaticInitc8096104638d10aadb2596efb19c6685::$prefixLengthsPsr4;
541
- $loader->prefixDirsPsr4 = ComposerStaticInitc8096104638d10aadb2596efb19c6685::$prefixDirsPsr4;
542
- $loader->classMap = ComposerStaticInitc8096104638d10aadb2596efb19c6685::$classMap;
543
 
544
  }, null, ClassLoader::class);
545
  }
4
 
5
  namespace Composer\Autoload;
6
 
7
+ class ComposerStaticInit6b6b8952a3388659c47913dea07bae7a
8
  {
9
  public static $files = array (
10
  '6124b4c8570aa390c21fafd04a26c69f' => __DIR__ . '/..' . '/myclabs/deep-copy/src/DeepCopy/deep_copy.php',
537
  public static function getInitializer(ClassLoader $loader)
538
  {
539
  return \Closure::bind(function () use ($loader) {
540
+ $loader->prefixLengthsPsr4 = ComposerStaticInit6b6b8952a3388659c47913dea07bae7a::$prefixLengthsPsr4;
541
+ $loader->prefixDirsPsr4 = ComposerStaticInit6b6b8952a3388659c47913dea07bae7a::$prefixDirsPsr4;
542
+ $loader->classMap = ComposerStaticInit6b6b8952a3388659c47913dea07bae7a::$classMap;
543
 
544
  }, null, ClassLoader::class);
545
  }
vendor/composer/installed.json CHANGED
@@ -829,17 +829,17 @@
829
  },
830
  {
831
  "name": "vendidero/woocommerce-germanized-dhl",
832
- "version": "v1.6.12",
833
- "version_normalized": "1.6.12.0",
834
  "source": {
835
  "type": "git",
836
  "url": "https://github.com/vendidero/woocommerce-germanized-dhl.git",
837
- "reference": "3e21d473264488b8df9bd591ccac0f13460541cb"
838
  },
839
  "dist": {
840
  "type": "zip",
841
- "url": "https://api.github.com/repos/vendidero/woocommerce-germanized-dhl/zipball/3e21d473264488b8df9bd591ccac0f13460541cb",
842
- "reference": "3e21d473264488b8df9bd591ccac0f13460541cb",
843
  "shasum": ""
844
  },
845
  "require": {
@@ -852,7 +852,7 @@
852
  "require-dev": {
853
  "phpunit/phpunit": "7.5.14"
854
  },
855
- "time": "2022-05-03T14:11:49+00:00",
856
  "type": "wordpress-plugin",
857
  "installation-source": "dist",
858
  "autoload": {
@@ -863,11 +863,11 @@
863
  "scripts": {
864
  "post-install-cmd": [
865
  "composer dump-autoload",
866
- "python ./bin/update-holidays.py"
867
  ],
868
  "post-update-cmd": [
869
  "composer dump-autoload",
870
- "python ./bin/update-holidays.py"
871
  ]
872
  },
873
  "license": [
@@ -876,7 +876,7 @@
876
  "description": "The Germanized DHL implementation.",
877
  "homepage": "https://github.com/vendidero/woocommerce-germanized-dhl",
878
  "support": {
879
- "source": "https://github.com/vendidero/woocommerce-germanized-dhl/tree/v1.6.12",
880
  "issues": "https://github.com/vendidero/woocommerce-germanized-dhl/issues"
881
  },
882
  "install-path": "../../packages/woocommerce-germanized-dhl"
829
  },
830
  {
831
  "name": "vendidero/woocommerce-germanized-dhl",
832
+ "version": "v1.6.13",
833
+ "version_normalized": "1.6.13.0",
834
  "source": {
835
  "type": "git",
836
  "url": "https://github.com/vendidero/woocommerce-germanized-dhl.git",
837
+ "reference": "f8d416b87ffff8c8cd879884c0f493710444ffb8"
838
  },
839
  "dist": {
840
  "type": "zip",
841
+ "url": "https://api.github.com/repos/vendidero/woocommerce-germanized-dhl/zipball/f8d416b87ffff8c8cd879884c0f493710444ffb8",
842
+ "reference": "f8d416b87ffff8c8cd879884c0f493710444ffb8",
843
  "shasum": ""
844
  },
845
  "require": {
852
  "require-dev": {
853
  "phpunit/phpunit": "7.5.14"
854
  },
855
+ "time": "2022-05-06T10:15:04+00:00",
856
  "type": "wordpress-plugin",
857
  "installation-source": "dist",
858
  "autoload": {
863
  "scripts": {
864
  "post-install-cmd": [
865
  "composer dump-autoload",
866
+ "python3 ./bin/update-holidays.py"
867
  ],
868
  "post-update-cmd": [
869
  "composer dump-autoload",
870
+ "python3 ./bin/update-holidays.py"
871
  ]
872
  },
873
  "license": [
876
  "description": "The Germanized DHL implementation.",
877
  "homepage": "https://github.com/vendidero/woocommerce-germanized-dhl",
878
  "support": {
879
+ "source": "https://github.com/vendidero/woocommerce-germanized-dhl/tree/v1.6.13",
880
  "issues": "https://github.com/vendidero/woocommerce-germanized-dhl/issues"
881
  },
882
  "install-path": "../../packages/woocommerce-germanized-dhl"
vendor/composer/installed.php CHANGED
@@ -5,7 +5,7 @@
5
  'type' => 'wordpress-plugin',
6
  'install_path' => __DIR__ . '/../../',
7
  'aliases' => array(),
8
- 'reference' => '73f599de7c2bcfd08451ae3be37491b0276a4db4',
9
  'name' => 'vendidero/woocommerce-germanized',
10
  'dev' => false,
11
  ),
@@ -145,16 +145,16 @@
145
  'type' => 'wordpress-plugin',
146
  'install_path' => __DIR__ . '/../../',
147
  'aliases' => array(),
148
- 'reference' => '73f599de7c2bcfd08451ae3be37491b0276a4db4',
149
  'dev_requirement' => false,
150
  ),
151
  'vendidero/woocommerce-germanized-dhl' => array(
152
- 'pretty_version' => 'v1.6.12',
153
- 'version' => '1.6.12.0',
154
  'type' => 'wordpress-plugin',
155
  'install_path' => __DIR__ . '/../../packages/woocommerce-germanized-dhl',
156
  'aliases' => array(),
157
- 'reference' => '3e21d473264488b8df9bd591ccac0f13460541cb',
158
  'dev_requirement' => false,
159
  ),
160
  'vendidero/woocommerce-germanized-shipments' => array(
5
  'type' => 'wordpress-plugin',
6
  'install_path' => __DIR__ . '/../../',
7
  'aliases' => array(),
8
+ 'reference' => '1052dcb6998cc833343eaec7f94605882463c4f2',
9
  'name' => 'vendidero/woocommerce-germanized',
10
  'dev' => false,
11
  ),
145
  'type' => 'wordpress-plugin',
146
  'install_path' => __DIR__ . '/../../',
147
  'aliases' => array(),
148
+ 'reference' => '1052dcb6998cc833343eaec7f94605882463c4f2',
149
  'dev_requirement' => false,
150
  ),
151
  'vendidero/woocommerce-germanized-dhl' => array(
152
+ 'pretty_version' => 'v1.6.13',
153
+ 'version' => '1.6.13.0',
154
  'type' => 'wordpress-plugin',
155
  'install_path' => __DIR__ . '/../../packages/woocommerce-germanized-dhl',
156
  'aliases' => array(),
157
+ 'reference' => 'f8d416b87ffff8c8cd879884c0f493710444ffb8',
158
  'dev_requirement' => false,
159
  ),
160
  'vendidero/woocommerce-germanized-shipments' => array(
vendor/composer/jetpack_autoload_classmap.php CHANGED
@@ -607,159 +607,159 @@ return array(
607
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/Packing/ShipmentItem.php'
608
  ),
609
  'Vendidero\\Germanized\\DHL\\ShippingProvider\\DeutschePost' => array(
610
- 'version' => '1.6.12.0',
611
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/ShippingProvider/DeutschePost.php'
612
  ),
613
  'Vendidero\\Germanized\\DHL\\ShippingProvider\\ShippingMethod' => array(
614
- 'version' => '1.6.12.0',
615
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/ShippingProvider/ShippingMethod.php'
616
  ),
617
  'Vendidero\\Germanized\\DHL\\ShippingProvider\\DHL' => array(
618
- 'version' => '1.6.12.0',
619
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/ShippingProvider/DHL.php'
620
  ),
621
  'Vendidero\\Germanized\\DHL\\Install' => array(
622
- 'version' => '1.6.12.0',
623
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Install.php'
624
  ),
625
  'Vendidero\\Germanized\\DHL\\Package' => array(
626
- 'version' => '1.6.12.0',
627
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Package.php'
628
  ),
629
  'Vendidero\\Germanized\\DHL\\Product' => array(
630
- 'version' => '1.6.12.0',
631
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Product.php'
632
  ),
633
  'Vendidero\\Germanized\\DHL\\Order' => array(
634
- 'version' => '1.6.12.0',
635
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Order.php'
636
  ),
637
  'Vendidero\\Germanized\\DHL\\Ajax' => array(
638
- 'version' => '1.6.12.0',
639
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Ajax.php'
640
  ),
641
  'Vendidero\\Germanized\\DHL\\ParcelServices' => array(
642
- 'version' => '1.6.12.0',
643
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/ParcelServices.php'
644
  ),
645
  'Vendidero\\Germanized\\DHL\\Admin\\Importer\\Internetmarke' => array(
646
- 'version' => '1.6.12.0',
647
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Admin/Importer/Internetmarke.php'
648
  ),
649
  'Vendidero\\Germanized\\DHL\\Admin\\Importer\\DHL' => array(
650
- 'version' => '1.6.12.0',
651
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Admin/Importer/DHL.php'
652
  ),
653
  'Vendidero\\Germanized\\DHL\\Admin\\Status' => array(
654
- 'version' => '1.6.12.0',
655
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Admin/Status.php'
656
  ),
657
  'Vendidero\\Germanized\\DHL\\Admin\\Admin' => array(
658
- 'version' => '1.6.12.0',
659
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Admin/Admin.php'
660
  ),
661
  'Vendidero\\Germanized\\DHL\\Label\\DHLInlayReturn' => array(
662
- 'version' => '1.6.12.0',
663
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Label/DHLInlayReturn.php'
664
  ),
665
  'Vendidero\\Germanized\\DHL\\Label\\Label' => array(
666
- 'version' => '1.6.12.0',
667
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Label/Label.php'
668
  ),
669
  'Vendidero\\Germanized\\DHL\\Label\\DHLReturn' => array(
670
- 'version' => '1.6.12.0',
671
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Label/DHLReturn.php'
672
  ),
673
  'Vendidero\\Germanized\\DHL\\Label\\ReturnLabel' => array(
674
- 'version' => '1.6.12.0',
675
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Label/ReturnLabel.php'
676
  ),
677
  'Vendidero\\Germanized\\DHL\\Label\\DeutschePost' => array(
678
- 'version' => '1.6.12.0',
679
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Label/DeutschePost.php'
680
  ),
681
  'Vendidero\\Germanized\\DHL\\Label\\DHL' => array(
682
- 'version' => '1.6.12.0',
683
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Label/DHL.php'
684
  ),
685
  'Vendidero\\Germanized\\DHL\\Label\\DeutschePostReturn' => array(
686
- 'version' => '1.6.12.0',
687
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Label/DeutschePostReturn.php'
688
  ),
689
  'Vendidero\\Germanized\\DHL\\Legacy\\LabelQuery' => array(
690
- 'version' => '1.6.12.0',
691
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Legacy/LabelQuery.php'
692
  ),
693
  'Vendidero\\Germanized\\DHL\\Legacy\\DataStores\\Label' => array(
694
- 'version' => '1.6.12.0',
695
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Legacy/DataStores/Label.php'
696
  ),
697
  'Vendidero\\Germanized\\DHL\\Legacy\\DownloadHandler' => array(
698
- 'version' => '1.6.12.0',
699
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Legacy/DownloadHandler.php'
700
  ),
701
  'Vendidero\\Germanized\\DHL\\Legacy\\LabelFactory' => array(
702
- 'version' => '1.6.12.0',
703
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Legacy/LabelFactory.php'
704
  ),
705
  'Vendidero\\Germanized\\DHL\\ParcelLocator' => array(
706
- 'version' => '1.6.12.0',
707
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/ParcelLocator.php'
708
  ),
709
  'Vendidero\\Germanized\\DHL\\Api\\ReturnRest' => array(
710
- 'version' => '1.6.12.0',
711
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Api/ReturnRest.php'
712
  ),
713
  'Vendidero\\Germanized\\DHL\\Api\\Paket' => array(
714
- 'version' => '1.6.12.0',
715
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Api/Paket.php'
716
  ),
717
  'Vendidero\\Germanized\\DHL\\Api\\LabelSoap' => array(
718
- 'version' => '1.6.12.0',
719
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Api/LabelSoap.php'
720
  ),
721
  'Vendidero\\Germanized\\DHL\\Api\\ImProductList' => array(
722
- 'version' => '1.6.12.0',
723
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Api/ImProductList.php'
724
  ),
725
  'Vendidero\\Germanized\\DHL\\Api\\AuthSoap' => array(
726
- 'version' => '1.6.12.0',
727
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Api/AuthSoap.php'
728
  ),
729
  'Vendidero\\Germanized\\DHL\\Api\\Internetmarke' => array(
730
- 'version' => '1.6.12.0',
731
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Api/Internetmarke.php'
732
  ),
733
  'Vendidero\\Germanized\\DHL\\Api\\ParcelRest' => array(
734
- 'version' => '1.6.12.0',
735
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Api/ParcelRest.php'
736
  ),
737
  'Vendidero\\Germanized\\DHL\\Api\\ImPartnerInformation' => array(
738
- 'version' => '1.6.12.0',
739
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Api/ImPartnerInformation.php'
740
  ),
741
  'Vendidero\\Germanized\\DHL\\Api\\Soap' => array(
742
- 'version' => '1.6.12.0',
743
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Api/Soap.php'
744
  ),
745
  'Vendidero\\Germanized\\DHL\\Api\\Rest' => array(
746
- 'version' => '1.6.12.0',
747
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Api/Rest.php'
748
  ),
749
  'Vendidero\\Germanized\\DHL\\Api\\ImProductsSoap' => array(
750
- 'version' => '1.6.12.0',
751
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Api/ImProductsSoap.php'
752
  ),
753
  'Vendidero\\Germanized\\DHL\\Api\\FinderSoap' => array(
754
- 'version' => '1.6.12.0',
755
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Api/FinderSoap.php'
756
  ),
757
  'Vendidero\\Germanized\\DHL\\Api\\ImRefundSoap' => array(
758
- 'version' => '1.6.12.0',
759
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Api/ImRefundSoap.php'
760
  ),
761
  'Vendidero\\Germanized\\DHL\\Api\\ImWarenpostIntRest' => array(
762
- 'version' => '1.6.12.0',
763
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Api/ImWarenpostIntRest.php'
764
  ),
765
  'Vendidero\\Germanized\\Shopmark' => array(
607
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/Packing/ShipmentItem.php'
608
  ),
609
  'Vendidero\\Germanized\\DHL\\ShippingProvider\\DeutschePost' => array(
610
+ 'version' => '1.6.13.0',
611
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/ShippingProvider/DeutschePost.php'
612
  ),
613
  'Vendidero\\Germanized\\DHL\\ShippingProvider\\ShippingMethod' => array(
614
+ 'version' => '1.6.13.0',
615
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/ShippingProvider/ShippingMethod.php'
616
  ),
617
  'Vendidero\\Germanized\\DHL\\ShippingProvider\\DHL' => array(
618
+ 'version' => '1.6.13.0',
619
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/ShippingProvider/DHL.php'
620
  ),
621
  'Vendidero\\Germanized\\DHL\\Install' => array(
622
+ 'version' => '1.6.13.0',
623
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Install.php'
624
  ),
625
  'Vendidero\\Germanized\\DHL\\Package' => array(
626
+ 'version' => '1.6.13.0',
627
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Package.php'
628
  ),
629
  'Vendidero\\Germanized\\DHL\\Product' => array(
630
+ 'version' => '1.6.13.0',
631
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Product.php'
632
  ),
633
  'Vendidero\\Germanized\\DHL\\Order' => array(
634
+ 'version' => '1.6.13.0',
635
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Order.php'
636
  ),
637
  'Vendidero\\Germanized\\DHL\\Ajax' => array(
638
+ 'version' => '1.6.13.0',
639
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Ajax.php'
640
  ),
641
  'Vendidero\\Germanized\\DHL\\ParcelServices' => array(
642
+ 'version' => '1.6.13.0',
643
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/ParcelServices.php'
644
  ),
645
  'Vendidero\\Germanized\\DHL\\Admin\\Importer\\Internetmarke' => array(
646
+ 'version' => '1.6.13.0',
647
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Admin/Importer/Internetmarke.php'
648
  ),
649
  'Vendidero\\Germanized\\DHL\\Admin\\Importer\\DHL' => array(
650
+ 'version' => '1.6.13.0',
651
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Admin/Importer/DHL.php'
652
  ),
653
  'Vendidero\\Germanized\\DHL\\Admin\\Status' => array(
654
+ 'version' => '1.6.13.0',
655
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Admin/Status.php'
656
  ),
657
  'Vendidero\\Germanized\\DHL\\Admin\\Admin' => array(
658
+ 'version' => '1.6.13.0',
659
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Admin/Admin.php'
660
  ),
661
  'Vendidero\\Germanized\\DHL\\Label\\DHLInlayReturn' => array(
662
+ 'version' => '1.6.13.0',
663
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Label/DHLInlayReturn.php'
664
  ),
665
  'Vendidero\\Germanized\\DHL\\Label\\Label' => array(
666
+ 'version' => '1.6.13.0',
667
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Label/Label.php'
668
  ),
669
  'Vendidero\\Germanized\\DHL\\Label\\DHLReturn' => array(
670
+ 'version' => '1.6.13.0',
671
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Label/DHLReturn.php'
672
  ),
673
  'Vendidero\\Germanized\\DHL\\Label\\ReturnLabel' => array(
674
+ 'version' => '1.6.13.0',
675
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Label/ReturnLabel.php'
676
  ),
677
  'Vendidero\\Germanized\\DHL\\Label\\DeutschePost' => array(
678
+ 'version' => '1.6.13.0',
679
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Label/DeutschePost.php'
680
  ),
681
  'Vendidero\\Germanized\\DHL\\Label\\DHL' => array(
682
+ 'version' => '1.6.13.0',
683
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Label/DHL.php'
684
  ),
685
  'Vendidero\\Germanized\\DHL\\Label\\DeutschePostReturn' => array(
686
+ 'version' => '1.6.13.0',
687
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Label/DeutschePostReturn.php'
688
  ),
689
  'Vendidero\\Germanized\\DHL\\Legacy\\LabelQuery' => array(
690
+ 'version' => '1.6.13.0',
691
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Legacy/LabelQuery.php'
692
  ),
693
  'Vendidero\\Germanized\\DHL\\Legacy\\DataStores\\Label' => array(
694
+ 'version' => '1.6.13.0',
695
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Legacy/DataStores/Label.php'
696
  ),
697
  'Vendidero\\Germanized\\DHL\\Legacy\\DownloadHandler' => array(
698
+ 'version' => '1.6.13.0',
699
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Legacy/DownloadHandler.php'
700
  ),
701
  'Vendidero\\Germanized\\DHL\\Legacy\\LabelFactory' => array(
702
+ 'version' => '1.6.13.0',
703
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Legacy/LabelFactory.php'
704
  ),
705
  'Vendidero\\Germanized\\DHL\\ParcelLocator' => array(
706
+ 'version' => '1.6.13.0',
707
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/ParcelLocator.php'
708
  ),
709
  'Vendidero\\Germanized\\DHL\\Api\\ReturnRest' => array(
710
+ 'version' => '1.6.13.0',
711
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Api/ReturnRest.php'
712
  ),
713
  'Vendidero\\Germanized\\DHL\\Api\\Paket' => array(
714
+ 'version' => '1.6.13.0',
715
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Api/Paket.php'
716
  ),
717
  'Vendidero\\Germanized\\DHL\\Api\\LabelSoap' => array(
718
+ 'version' => '1.6.13.0',
719
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Api/LabelSoap.php'
720
  ),
721
  'Vendidero\\Germanized\\DHL\\Api\\ImProductList' => array(
722
+ 'version' => '1.6.13.0',
723
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Api/ImProductList.php'
724
  ),
725
  'Vendidero\\Germanized\\DHL\\Api\\AuthSoap' => array(
726
+ 'version' => '1.6.13.0',
727
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Api/AuthSoap.php'
728
  ),
729
  'Vendidero\\Germanized\\DHL\\Api\\Internetmarke' => array(
730
+ 'version' => '1.6.13.0',
731
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Api/Internetmarke.php'
732
  ),
733
  'Vendidero\\Germanized\\DHL\\Api\\ParcelRest' => array(
734
+ 'version' => '1.6.13.0',
735
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Api/ParcelRest.php'
736
  ),
737
  'Vendidero\\Germanized\\DHL\\Api\\ImPartnerInformation' => array(
738
+ 'version' => '1.6.13.0',
739
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Api/ImPartnerInformation.php'
740
  ),
741
  'Vendidero\\Germanized\\DHL\\Api\\Soap' => array(
742
+ 'version' => '1.6.13.0',
743
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Api/Soap.php'
744
  ),
745
  'Vendidero\\Germanized\\DHL\\Api\\Rest' => array(
746
+ 'version' => '1.6.13.0',
747
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Api/Rest.php'
748
  ),
749
  'Vendidero\\Germanized\\DHL\\Api\\ImProductsSoap' => array(
750
+ 'version' => '1.6.13.0',
751
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Api/ImProductsSoap.php'
752
  ),
753
  'Vendidero\\Germanized\\DHL\\Api\\FinderSoap' => array(
754
+ 'version' => '1.6.13.0',
755
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Api/FinderSoap.php'
756
  ),
757
  'Vendidero\\Germanized\\DHL\\Api\\ImRefundSoap' => array(
758
+ 'version' => '1.6.13.0',
759
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Api/ImRefundSoap.php'
760
  ),
761
  'Vendidero\\Germanized\\DHL\\Api\\ImWarenpostIntRest' => array(
762
+ 'version' => '1.6.13.0',
763
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Api/ImWarenpostIntRest.php'
764
  ),
765
  'Vendidero\\Germanized\\Shopmark' => array(
vendor/jetpack-autoloader/class-autoloader-handler.php CHANGED
@@ -5,7 +5,7 @@
5
  * @package automattic/jetpack-autoloader
6
  */
7
 
8
- namespace Automattic\Jetpack\Autoloader\jpc8096104638d10aadb2596efb19c6685;
9
 
10
  // phpcs:ignore
11
 
5
  * @package automattic/jetpack-autoloader
6
  */
7
 
8
+ namespace Automattic\Jetpack\Autoloader\jp6b6b8952a3388659c47913dea07bae7a;
9
 
10
  // phpcs:ignore
11
 
vendor/jetpack-autoloader/class-autoloader-locator.php CHANGED
@@ -5,7 +5,7 @@
5
  * @package automattic/jetpack-autoloader
6
  */
7
 
8
- namespace Automattic\Jetpack\Autoloader\jpc8096104638d10aadb2596efb19c6685;
9
 
10
  // phpcs:ignore
11
 
5
  * @package automattic/jetpack-autoloader
6
  */
7
 
8
+ namespace Automattic\Jetpack\Autoloader\jp6b6b8952a3388659c47913dea07bae7a;
9
 
10
  // phpcs:ignore
11
 
vendor/jetpack-autoloader/class-autoloader.php CHANGED
@@ -5,7 +5,7 @@
5
  * @package automattic/jetpack-autoloader
6
  */
7
 
8
- namespace Automattic\Jetpack\Autoloader\jpc8096104638d10aadb2596efb19c6685;
9
 
10
  // phpcs:ignore
11
 
5
  * @package automattic/jetpack-autoloader
6
  */
7
 
8
+ namespace Automattic\Jetpack\Autoloader\jp6b6b8952a3388659c47913dea07bae7a;
9
 
10
  // phpcs:ignore
11
 
vendor/jetpack-autoloader/class-container.php CHANGED
@@ -5,7 +5,7 @@
5
  * @package automattic/jetpack-autoloader
6
  */
7
 
8
- namespace Automattic\Jetpack\Autoloader\jpc8096104638d10aadb2596efb19c6685;
9
 
10
  // phpcs:ignore
11
 
5
  * @package automattic/jetpack-autoloader
6
  */
7
 
8
+ namespace Automattic\Jetpack\Autoloader\jp6b6b8952a3388659c47913dea07bae7a;
9
 
10
  // phpcs:ignore
11
 
vendor/jetpack-autoloader/class-hook-manager.php CHANGED
@@ -5,7 +5,7 @@
5
  * @package automattic/jetpack-autoloader
6
  */
7
 
8
- namespace Automattic\Jetpack\Autoloader\jpc8096104638d10aadb2596efb19c6685;
9
 
10
  // phpcs:ignore
11
 
5
  * @package automattic/jetpack-autoloader
6
  */
7
 
8
+ namespace Automattic\Jetpack\Autoloader\jp6b6b8952a3388659c47913dea07bae7a;
9
 
10
  // phpcs:ignore
11
 
vendor/jetpack-autoloader/class-latest-autoloader-guard.php CHANGED
@@ -5,7 +5,7 @@
5
  * @package automattic/jetpack-autoloader
6
  */
7
 
8
- namespace Automattic\Jetpack\Autoloader\jpc8096104638d10aadb2596efb19c6685;
9
 
10
  // phpcs:ignore
11
 
5
  * @package automattic/jetpack-autoloader
6
  */
7
 
8
+ namespace Automattic\Jetpack\Autoloader\jp6b6b8952a3388659c47913dea07bae7a;
9
 
10
  // phpcs:ignore
11
 
vendor/jetpack-autoloader/class-manifest-reader.php CHANGED
@@ -5,7 +5,7 @@
5
  * @package automattic/jetpack-autoloader
6
  */
7
 
8
- namespace Automattic\Jetpack\Autoloader\jpc8096104638d10aadb2596efb19c6685;
9
 
10
  // phpcs:ignore
11
 
5
  * @package automattic/jetpack-autoloader
6
  */
7
 
8
+ namespace Automattic\Jetpack\Autoloader\jp6b6b8952a3388659c47913dea07bae7a;
9
 
10
  // phpcs:ignore
11
 
vendor/jetpack-autoloader/class-path-processor.php CHANGED
@@ -5,7 +5,7 @@
5
  * @package automattic/jetpack-autoloader
6
  */
7
 
8
- namespace Automattic\Jetpack\Autoloader\jpc8096104638d10aadb2596efb19c6685;
9
 
10
  // phpcs:ignore
11
 
5
  * @package automattic/jetpack-autoloader
6
  */
7
 
8
+ namespace Automattic\Jetpack\Autoloader\jp6b6b8952a3388659c47913dea07bae7a;
9
 
10
  // phpcs:ignore
11
 
vendor/jetpack-autoloader/class-php-autoloader.php CHANGED
@@ -5,7 +5,7 @@
5
  * @package automattic/jetpack-autoloader
6
  */
7
 
8
- namespace Automattic\Jetpack\Autoloader\jpc8096104638d10aadb2596efb19c6685;
9
 
10
  // phpcs:ignore
11
 
5
  * @package automattic/jetpack-autoloader
6
  */
7
 
8
+ namespace Automattic\Jetpack\Autoloader\jp6b6b8952a3388659c47913dea07bae7a;
9
 
10
  // phpcs:ignore
11
 
vendor/jetpack-autoloader/class-plugin-locator.php CHANGED
@@ -5,7 +5,7 @@
5
  * @package automattic/jetpack-autoloader
6
  */
7
 
8
- namespace Automattic\Jetpack\Autoloader\jpc8096104638d10aadb2596efb19c6685;
9
 
10
  // phpcs:ignore
11
 
5
  * @package automattic/jetpack-autoloader
6
  */
7
 
8
+ namespace Automattic\Jetpack\Autoloader\jp6b6b8952a3388659c47913dea07bae7a;
9
 
10
  // phpcs:ignore
11
 
vendor/jetpack-autoloader/class-plugins-handler.php CHANGED
@@ -5,7 +5,7 @@
5
  * @package automattic/jetpack-autoloader
6
  */
7
 
8
- namespace Automattic\Jetpack\Autoloader\jpc8096104638d10aadb2596efb19c6685;
9
 
10
  // phpcs:ignore
11
 
5
  * @package automattic/jetpack-autoloader
6
  */
7
 
8
+ namespace Automattic\Jetpack\Autoloader\jp6b6b8952a3388659c47913dea07bae7a;
9
 
10
  // phpcs:ignore
11
 
vendor/jetpack-autoloader/class-shutdown-handler.php CHANGED
@@ -5,7 +5,7 @@
5
  * @package automattic/jetpack-autoloader
6
  */
7
 
8
- namespace Automattic\Jetpack\Autoloader\jpc8096104638d10aadb2596efb19c6685;
9
 
10
  // phpcs:ignore
11
 
5
  * @package automattic/jetpack-autoloader
6
  */
7
 
8
+ namespace Automattic\Jetpack\Autoloader\jp6b6b8952a3388659c47913dea07bae7a;
9
 
10
  // phpcs:ignore
11
 
vendor/jetpack-autoloader/class-version-loader.php CHANGED
@@ -5,7 +5,7 @@
5
  * @package automattic/jetpack-autoloader
6
  */
7
 
8
- namespace Automattic\Jetpack\Autoloader\jpc8096104638d10aadb2596efb19c6685;
9
 
10
  // phpcs:ignore
11
 
5
  * @package automattic/jetpack-autoloader
6
  */
7
 
8
+ namespace Automattic\Jetpack\Autoloader\jp6b6b8952a3388659c47913dea07bae7a;
9
 
10
  // phpcs:ignore
11
 
vendor/jetpack-autoloader/class-version-selector.php CHANGED
@@ -5,7 +5,7 @@
5
  * @package automattic/jetpack-autoloader
6
  */
7
 
8
- namespace Automattic\Jetpack\Autoloader\jpc8096104638d10aadb2596efb19c6685;
9
 
10
  // phpcs:ignore
11
 
5
  * @package automattic/jetpack-autoloader
6
  */
7
 
8
+ namespace Automattic\Jetpack\Autoloader\jp6b6b8952a3388659c47913dea07bae7a;
9
 
10
  // phpcs:ignore
11
 
woocommerce-germanized.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: Germanized for WooCommerce
4
  * Plugin URI: https://www.vendidero.de/woocommerce-germanized
5
  * Description: Germanized for WooCommerce extends WooCommerce to become a legally compliant store in the german market.
6
- * Version: 3.9.1
7
  * Author: vendidero
8
  * Author URI: https://vendidero.de
9
  * Requires at least: 5.4
@@ -69,7 +69,7 @@ if ( ! class_exists( 'WooCommerce_Germanized' ) ) :
69
  *
70
  * @var string
71
  */
72
- public $version = '3.9.1';
73
 
74
  /**
75
  * @var WooCommerce_Germanized $instance of the plugin
3
  * Plugin Name: Germanized for WooCommerce
4
  * Plugin URI: https://www.vendidero.de/woocommerce-germanized
5
  * Description: Germanized for WooCommerce extends WooCommerce to become a legally compliant store in the german market.
6
+ * Version: 3.9.2
7
  * Author: vendidero
8
  * Author URI: https://vendidero.de
9
  * Requires at least: 5.4
69
  *
70
  * @var string
71
  */
72
+ public $version = '3.9.2';
73
 
74
  /**
75
  * @var WooCommerce_Germanized $instance of the plugin