WooCommerce Germanized - Version 3.9.4

Version Description

  • Tweak: Temporarily patch WooCommerce Multilingual bug which leads to update issues
  • Improvement: Added additional checks to determine whether WooCommerce reviews are enabled
  • Improvement: Legal news update note
Download this release

Release Info

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

Code changes from version 3.9.3 to 3.9.4

Files changed (31) hide show
  1. i18n/languages/woocommerce-germanized-de_DE.mo +0 -0
  2. i18n/languages/woocommerce-germanized-de_DE.po +31 -3
  3. i18n/languages/woocommerce-germanized-de_DE_formal.mo +0 -0
  4. i18n/languages/woocommerce-germanized-de_DE_formal.po +31 -3
  5. includes/admin/class-wc-gzd-admin-notices.php +13 -0
  6. includes/admin/notes/class-wc-gzd-admin-note-legal-news.php +53 -0
  7. includes/updates/woocommerce-gzd-update-3.9.3.php +19 -1
  8. includes/wc-gzd-template-functions.php +2 -2
  9. includes/wc-gzd-template-hooks.php +14 -10
  10. readme.txt +6 -1
  11. templates/loop/rating-authenticity-status.php +2 -2
  12. vendor/autoload.php +1 -1
  13. vendor/autoload_packages.php +1 -1
  14. vendor/composer/autoload_real.php +7 -7
  15. vendor/composer/autoload_static.php +4 -4
  16. vendor/composer/installed.php +2 -2
  17. vendor/jetpack-autoloader/class-autoloader-handler.php +1 -1
  18. vendor/jetpack-autoloader/class-autoloader-locator.php +1 -1
  19. vendor/jetpack-autoloader/class-autoloader.php +1 -1
  20. vendor/jetpack-autoloader/class-container.php +1 -1
  21. vendor/jetpack-autoloader/class-hook-manager.php +1 -1
  22. vendor/jetpack-autoloader/class-latest-autoloader-guard.php +1 -1
  23. vendor/jetpack-autoloader/class-manifest-reader.php +1 -1
  24. vendor/jetpack-autoloader/class-path-processor.php +1 -1
  25. vendor/jetpack-autoloader/class-php-autoloader.php +1 -1
  26. vendor/jetpack-autoloader/class-plugin-locator.php +1 -1
  27. vendor/jetpack-autoloader/class-plugins-handler.php +1 -1
  28. vendor/jetpack-autoloader/class-shutdown-handler.php +1 -1
  29. vendor/jetpack-autoloader/class-version-loader.php +1 -1
  30. vendor/jetpack-autoloader/class-version-selector.php +1 -1
  31. woocommerce-germanized.php +2 -2
i18n/languages/woocommerce-germanized-de_DE.mo CHANGED
Binary file
i18n/languages/woocommerce-germanized-de_DE.po CHANGED
@@ -2,8 +2,8 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: WooCommerce Germanized\n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2022-05-25 14:48+0200\n"
6
- "PO-Revision-Date: 2022-05-25 14:48+0200\n"
7
  "Last-Translator: Dennis Nissle <info@vendidero.de>\n"
8
  "Language-Team: \n"
9
  "Language: de_DE\n"
@@ -6244,7 +6244,7 @@ msgstr ""
6244
  "Wähle Versandmethoden aus für die die Paketdienstleister Checkbox angezeigt "
6245
  "werden soll."
6246
 
6247
- #: woocommerce-germanized/includes/admin/class-wc-gzd-admin-notices.php:116
6248
  #, php-format
6249
  msgid ""
6250
  "<strong>Be aware!</strong> This update is not compatible with your current "
@@ -7156,6 +7156,7 @@ msgid "Encryption key is missing"
7156
  msgstr "Schlüssel zur Datenverschlüsselung fehlt"
7157
 
7158
  #: woocommerce-germanized/includes/admin/notes/class-wc-gzd-admin-note-encryption.php:50
 
7159
  #: woocommerce-germanized/includes/admin/notes/class-wc-gzd-admin-note-shipping-excl-tax.php:45
7160
  #: woocommerce-germanized/includes/admin/notes/class-wc-gzd-admin-note-virtual-vat.php:41
7161
  #: woocommerce-germanized/includes/admin/settings/abstract-wc-gzd-settings-tab.php:189
@@ -7198,6 +7199,33 @@ msgid ""
7198
  msgstr ""
7199
  "Perfekt integriert in Germanized &ndash; erzeuge einfach Labels für Sendungen"
7200
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7201
  # @ woocommerce-germanized
7202
  #: woocommerce-germanized/includes/admin/notes/class-wc-gzd-admin-note-pro.php:23
7203
  msgid "For professionals: Upgrade to Pro-Version"
2
  msgstr ""
3
  "Project-Id-Version: WooCommerce Germanized\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2022-05-26 12:52+0200\n"
6
+ "PO-Revision-Date: 2022-05-26 12:57+0200\n"
7
  "Last-Translator: Dennis Nissle <info@vendidero.de>\n"
8
  "Language-Team: \n"
9
  "Language: de_DE\n"
6244
  "Wähle Versandmethoden aus für die die Paketdienstleister Checkbox angezeigt "
6245
  "werden soll."
6246
 
6247
+ #: woocommerce-germanized/includes/admin/class-wc-gzd-admin-notices.php:117
6248
  #, php-format
6249
  msgid ""
6250
  "<strong>Be aware!</strong> This update is not compatible with your current "
7156
  msgstr "Schlüssel zur Datenverschlüsselung fehlt"
7157
 
7158
  #: woocommerce-germanized/includes/admin/notes/class-wc-gzd-admin-note-encryption.php:50
7159
+ #: woocommerce-germanized/includes/admin/notes/class-wc-gzd-admin-note-legal-news.php:47
7160
  #: woocommerce-germanized/includes/admin/notes/class-wc-gzd-admin-note-shipping-excl-tax.php:45
7161
  #: woocommerce-germanized/includes/admin/notes/class-wc-gzd-admin-note-virtual-vat.php:41
7162
  #: woocommerce-germanized/includes/admin/settings/abstract-wc-gzd-settings-tab.php:189
7199
  msgstr ""
7200
  "Perfekt integriert in Germanized &ndash; erzeuge einfach Labels für Sendungen"
7201
 
7202
+ #: woocommerce-germanized/includes/admin/notes/class-wc-gzd-admin-note-legal-news.php:30
7203
+ msgid "Attention: New Regulations"
7204
+ msgstr "Achtung: Neue Regulierungen"
7205
+
7206
+ #: woocommerce-germanized/includes/admin/notes/class-wc-gzd-admin-note-legal-news.php:34
7207
+ #, php-format
7208
+ msgid ""
7209
+ "As of 2022-05-28, a new <a href=\"%1$s\">price indication regulation</a> "
7210
+ "will apply. In addition, the <a href=\"%2$s\">Omnibus-Directive</a> goes "
7211
+ "into effect. From now on, you must provide information about the "
7212
+ "authenticity of customer reviews. Germanized added a <a href=\"%3$s\">new "
7213
+ "information page</a> for you, which you should use to provide information on "
7214
+ "the authenticity of reviews. Additionally, Germanized inserts notices when "
7215
+ "showing ratings."
7216
+ msgstr ""
7217
+ "Ab dem 28.05.2022 gilt eine neue <a href=\"%1$s\">Preisangabeverordnung</a>. "
7218
+ "Zusätzlich tritt die <a href=\"%2$s\">Omnibus-Richtlinie</a> in Kraft. Du "
7219
+ "musst von nun an Informationen zur Authentizität von Kundenbewertungen "
7220
+ "bereitstellen. Wir haben dafür eine neue <a href=\"%3$s\">rechtliche "
7221
+ "Hinweisseite</a> angelegt, die du verwenden solltest um deine Kunden über "
7222
+ "die Echtheit der Bewertungen zu informieren. Zusätzlich platziert Germanized "
7223
+ "Hinweise bei der Anzeige von Bewertungen im Shop."
7224
+
7225
+ #: woocommerce-germanized/includes/admin/notes/class-wc-gzd-admin-note-legal-news.php:41
7226
+ msgid "Manage review authenticity settings"
7227
+ msgstr "Einstellungen anpassen"
7228
+
7229
  # @ woocommerce-germanized
7230
  #: woocommerce-germanized/includes/admin/notes/class-wc-gzd-admin-note-pro.php:23
7231
  msgid "For professionals: Upgrade to Pro-Version"
i18n/languages/woocommerce-germanized-de_DE_formal.mo CHANGED
Binary file
i18n/languages/woocommerce-germanized-de_DE_formal.po CHANGED
@@ -2,8 +2,8 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: WooCommerce Germanized\n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2022-05-25 14:48+0200\n"
6
- "PO-Revision-Date: 2022-05-25 14:48+0200\n"
7
  "Last-Translator: Dennis Nissle <info@vendidero.de>\n"
8
  "Language-Team: \n"
9
  "Language: de_DE@formal\n"
@@ -6234,7 +6234,7 @@ msgstr ""
6234
  "Wählen Sie Versandmethoden aus für die die Paketdienstleister Checkbox "
6235
  "angezeigt werden soll."
6236
 
6237
- #: woocommerce-germanized/includes/admin/class-wc-gzd-admin-notices.php:116
6238
  #, php-format
6239
  msgid ""
6240
  "<strong>Be aware!</strong> This update is not compatible with your current "
@@ -7148,6 +7148,7 @@ msgid "Encryption key is missing"
7148
  msgstr "Schlüssel zur Datenverschlüsselung fehlt"
7149
 
7150
  #: woocommerce-germanized/includes/admin/notes/class-wc-gzd-admin-note-encryption.php:50
 
7151
  #: woocommerce-germanized/includes/admin/notes/class-wc-gzd-admin-note-shipping-excl-tax.php:45
7152
  #: woocommerce-germanized/includes/admin/notes/class-wc-gzd-admin-note-virtual-vat.php:41
7153
  #: woocommerce-germanized/includes/admin/settings/abstract-wc-gzd-settings-tab.php:189
@@ -7191,6 +7192,33 @@ msgstr ""
7191
  "Perfekt integriert in Germanized &ndash; erzeugen Sie einfach Labels für "
7192
  "Sendungen"
7193
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7194
  # @ woocommerce-germanized
7195
  #: woocommerce-germanized/includes/admin/notes/class-wc-gzd-admin-note-pro.php:23
7196
  msgid "For professionals: Upgrade to Pro-Version"
2
  msgstr ""
3
  "Project-Id-Version: WooCommerce Germanized\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2022-05-26 12:55+0200\n"
6
+ "PO-Revision-Date: 2022-05-26 12:57+0200\n"
7
  "Last-Translator: Dennis Nissle <info@vendidero.de>\n"
8
  "Language-Team: \n"
9
  "Language: de_DE@formal\n"
6234
  "Wählen Sie Versandmethoden aus für die die Paketdienstleister Checkbox "
6235
  "angezeigt werden soll."
6236
 
6237
+ #: woocommerce-germanized/includes/admin/class-wc-gzd-admin-notices.php:117
6238
  #, php-format
6239
  msgid ""
6240
  "<strong>Be aware!</strong> This update is not compatible with your current "
7148
  msgstr "Schlüssel zur Datenverschlüsselung fehlt"
7149
 
7150
  #: woocommerce-germanized/includes/admin/notes/class-wc-gzd-admin-note-encryption.php:50
7151
+ #: woocommerce-germanized/includes/admin/notes/class-wc-gzd-admin-note-legal-news.php:47
7152
  #: woocommerce-germanized/includes/admin/notes/class-wc-gzd-admin-note-shipping-excl-tax.php:45
7153
  #: woocommerce-germanized/includes/admin/notes/class-wc-gzd-admin-note-virtual-vat.php:41
7154
  #: woocommerce-germanized/includes/admin/settings/abstract-wc-gzd-settings-tab.php:189
7192
  "Perfekt integriert in Germanized &ndash; erzeugen Sie einfach Labels für "
7193
  "Sendungen"
7194
 
7195
+ #: woocommerce-germanized/includes/admin/notes/class-wc-gzd-admin-note-legal-news.php:30
7196
+ msgid "Attention: New Regulations"
7197
+ msgstr "Achtung: Neue Regulierungen"
7198
+
7199
+ #: woocommerce-germanized/includes/admin/notes/class-wc-gzd-admin-note-legal-news.php:34
7200
+ #, php-format
7201
+ msgid ""
7202
+ "As of 2022-05-28, a new <a href=\"%1$s\">price indication regulation</a> "
7203
+ "will apply. In addition, the <a href=\"%2$s\">Omnibus-Directive</a> goes "
7204
+ "into effect. From now on, you must provide information about the "
7205
+ "authenticity of customer reviews. Germanized added a <a href=\"%3$s\">new "
7206
+ "information page</a> for you, which you should use to provide information on "
7207
+ "the authenticity of reviews. Additionally, Germanized inserts notices when "
7208
+ "showing ratings."
7209
+ msgstr ""
7210
+ "Ab dem 28.05.2022 gilt eine neue <a href=\"%1$s\">Preisangabeverordnung</a>. "
7211
+ "Zusätzlich tritt die <a href=\"%2$s\">Omnibus-Richtlinie</a> in Kraft. Sie "
7212
+ "müssen von nun an Informationen zur Authentizität von Kundenbewertungen "
7213
+ "bereitstellen. Wir haben dafür eine neue <a href=\"%3$s\">rechtliche "
7214
+ "Hinweisseite</a> angelegt, die Sie verwenden sollten um Ihre Kunden über die "
7215
+ "Echtheit der Bewertungen zu informieren. Zusätzlich platziert Germanized "
7216
+ "Hinweise bei der Anzeige von Bewertungen im Shop."
7217
+
7218
+ #: woocommerce-germanized/includes/admin/notes/class-wc-gzd-admin-note-legal-news.php:41
7219
+ msgid "Manage review authenticity settings"
7220
+ msgstr "Einstellungen anpassen"
7221
+
7222
  # @ woocommerce-germanized
7223
  #: woocommerce-germanized/includes/admin/notes/class-wc-gzd-admin-note-pro.php:23
7224
  msgid "For professionals: Upgrade to Pro-Version"
includes/admin/class-wc-gzd-admin-notices.php CHANGED
@@ -62,6 +62,7 @@ if ( ! class_exists( 'WC_GZD_Admin_Notices' ) ) :
62
  include_once( 'notes/class-wc-gzd-admin-note-shipping-excl-tax.php' );
63
  include_once( 'notes/class-wc-gzd-admin-note-encryption.php' );
64
  include_once( 'notes/class-wc-gzd-admin-note-virtual-vat.php' );
 
65
  }
66
 
67
  public function pro_incompatibility_plain_update_message( $data ) {
@@ -158,6 +159,7 @@ if ( ! class_exists( 'WC_GZD_Admin_Notices' ) ) :
158
  'WC_GZD_Admin_Note_DHL_Importer',
159
  'WC_GZD_Admin_Note_Internetmarke_Importer',
160
  'WC_GZD_Admin_Note_Shipping_Excl_Tax',
 
161
  );
162
 
163
  if ( class_exists( 'WC_GZD_Secret_Box_Helper' ) ) {
@@ -230,6 +232,17 @@ if ( ! class_exists( 'WC_GZD_Admin_Notices' ) ) :
230
  }
231
  }
232
 
 
 
 
 
 
 
 
 
 
 
 
233
  public function remove_theme_notice_hide() {
234
  if ( $note = $this->get_note( 'theme_supported' ) ) {
235
  $note->reset();
62
  include_once( 'notes/class-wc-gzd-admin-note-shipping-excl-tax.php' );
63
  include_once( 'notes/class-wc-gzd-admin-note-encryption.php' );
64
  include_once( 'notes/class-wc-gzd-admin-note-virtual-vat.php' );
65
+ include_once( 'notes/class-wc-gzd-admin-note-legal-news.php' );
66
  }
67
 
68
  public function pro_incompatibility_plain_update_message( $data ) {
159
  'WC_GZD_Admin_Note_DHL_Importer',
160
  'WC_GZD_Admin_Note_Internetmarke_Importer',
161
  'WC_GZD_Admin_Note_Shipping_Excl_Tax',
162
+ 'WC_GZD_Admin_Note_Legal_News',
163
  );
164
 
165
  if ( class_exists( 'WC_GZD_Secret_Box_Helper' ) ) {
232
  }
233
  }
234
 
235
+ public function activate_legal_news_note() {
236
+ update_option( '_wc_gzd_has_legal_news', 'yes' );
237
+
238
+ /**
239
+ * Reset to make sure the note is not dismissed.
240
+ */
241
+ if ( $note = $this->get_note( 'legal_news' ) ) {
242
+ $note->reset();
243
+ }
244
+ }
245
+
246
  public function remove_theme_notice_hide() {
247
  if ( $note = $this->get_note( 'theme_supported' ) ) {
248
  $note->reset();
includes/admin/notes/class-wc-gzd-admin-note-legal-news.php ADDED
@@ -0,0 +1,53 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ defined( 'ABSPATH' ) || exit;
4
+
5
+ class WC_GZD_Admin_Note_Legal_News extends WC_GZD_Admin_Note {
6
+
7
+ public function get_name() {
8
+ return 'legal_news';
9
+ }
10
+
11
+ public function is_disabled() {
12
+ $is_disabled = parent::is_disabled();
13
+
14
+ if ( ! $is_disabled && 'yes' === get_option( '_wc_gzd_has_legal_news' ) && current_user_can( 'manage_woocommerce' ) ) {
15
+ $is_disabled = false;
16
+ } else {
17
+ $is_disabled = true;
18
+ }
19
+
20
+ return $is_disabled;
21
+ }
22
+
23
+ public function dismiss( $and_note = true ) {
24
+ parent::dismiss( $and_note );
25
+
26
+ delete_option( '_wc_gzd_has_legal_news' );
27
+ }
28
+
29
+ public function get_title() {
30
+ return __( 'Attention: New Regulations', 'woocommerce-germanized' );
31
+ }
32
+
33
+ public function get_content() {
34
+ return sprintf( __( 'As of 2022-05-28, a new <a href="%1$s">price indication regulation</a> will apply. In addition, the <a href="%2$s">Omnibus-Directive</a> goes into effect. From now on, you must provide information about the authenticity of customer reviews. Germanized added a <a href="%3$s">new information page</a> for you, which you should use to provide information on the authenticity of reviews. Additionally, Germanized inserts notices when showing ratings.', 'woocommerce-germanized' ), 'https://www.it-recht-kanzlei.de/preisangabenverordnung-2022-wichtige-aenderungen.html', 'https://www.haendlerbund.de/de/news/aktuelles/rechtliches/4145-omnibus-rezensionen-gekennzeichnet', wc_gzd_get_page_permalink( 'review_authenticity' ) );
35
+ }
36
+
37
+ public function get_actions() {
38
+ return array(
39
+ array(
40
+ 'url' => admin_url( 'admin.php?page=wc-settings&tab=germanized-general&section=shop' ),
41
+ 'title' => __( 'Manage review authenticity settings', 'woocommerce-germanized' ),
42
+ 'target' => '_self',
43
+ 'is_primary' => true,
44
+ ),
45
+ array(
46
+ 'url' => 'https://vendidero.de/dokument/echtheit-von-bewertungen-kennzeichnen',
47
+ 'title' => __( 'Learn more', 'woocommerce-germanized' ),
48
+ 'target' => '_blank',
49
+ 'is_primary' => false,
50
+ ),
51
+ );
52
+ }
53
+ }
includes/updates/woocommerce-gzd-update-3.9.3.php CHANGED
@@ -16,6 +16,24 @@ $pages = array(
16
  ),
17
  );
18
 
 
 
 
 
 
 
 
 
 
 
 
 
 
19
  foreach ( $pages as $key => $page ) {
20
  wc_create_page( esc_sql( $page['name'] ), 'woocommerce_' . $key . '_page_id', $page['title'] );
21
- }
 
 
 
 
 
16
  ),
17
  );
18
 
19
+ /**
20
+ * Temporarily patch bug in WooCommerce Multilingual
21
+ *
22
+ * @see https://wordpress.org/support/topic/fatal-error-wcml_store_pages-does-not-have-a-method-check_store_page_id/
23
+ */
24
+ if ( class_exists( 'woocommerce_wpml' ) && class_exists( 'WCML_Store_Pages' ) ) {
25
+ global $woocommerce_wpml;
26
+
27
+ if ( $woocommerce_wpml && isset( $woocommerce_wpml->store ) ) {
28
+ remove_filter( 'woocommerce_create_page_id', array( $woocommerce_wpml->store, 'check_store_page_id' ), 10 );
29
+ }
30
+ }
31
+
32
  foreach ( $pages as $key => $page ) {
33
  wc_create_page( esc_sql( $page['name'] ), 'woocommerce_' . $key . '_page_id', $page['title'] );
34
+ }
35
+
36
+ /**
37
+ * Show legal news note
38
+ */
39
+ WC_GZD_Admin_Notices::instance()->activate_legal_news_note();
includes/wc-gzd-template-functions.php CHANGED
@@ -63,7 +63,7 @@ if ( ! function_exists( 'woocommerce_gzd_template_product_rating_authenticity_st
63
  return;
64
  }
65
 
66
- if ( apply_filters( 'woocommerce_gzd_show_product_rating_authenticity_status', true, $product->get_id() ) ) {
67
  wc_get_template( 'loop/rating-authenticity-status.php' );
68
  }
69
  }
@@ -77,7 +77,7 @@ if ( ! function_exists( 'woocommerce_gzd_template_product_rating_authenticity_st
77
  return;
78
  }
79
 
80
- if ( apply_filters( 'woocommerce_gzd_show_product_rating_authenticity_status', true, $product->get_id() ) ) {
81
  wc_get_template( 'single-product/rating-authenticity-status.php' );
82
  }
83
  }
63
  return;
64
  }
65
 
66
+ if ( apply_filters( 'woocommerce_gzd_show_product_rating_authenticity_status', ( wc_review_ratings_enabled() && $product->get_rating_count() > 0 ), $product->get_id() ) ) {
67
  wc_get_template( 'loop/rating-authenticity-status.php' );
68
  }
69
  }
77
  return;
78
  }
79
 
80
+ if ( apply_filters( 'woocommerce_gzd_show_product_rating_authenticity_status', ( wc_review_ratings_enabled() && $product->get_rating_count() > 0 ), $product->get_id() ) ) {
81
  wc_get_template( 'single-product/rating-authenticity-status.php' );
82
  }
83
  }
includes/wc-gzd-template-hooks.php CHANGED
@@ -79,17 +79,21 @@ if ( get_option( 'woocommerce_gzd_display_listings_link_details' ) == 'yes' ) {
79
  *
80
  * @see https://www.haendlerbund.de/de/news/aktuelles/rechtliches/4145-omnibus-rezensionen-gekennzeichnet
81
  */
82
- if ( 'yes' === get_option( 'woocommerce_gzd_display_rating_authenticity_notice' ) ) {
83
- add_filter( 'woocommerce_product_get_rating_html', 'woocommerce_gzd_template_product_rating_authenticity_status_filter', 500 );
84
- add_action( 'woocommerce_gzd_after_product_grid_block_after_rating', 'woocommerce_gzd_template_product_rating_authenticity_status_loop', 20 );
85
- }
 
 
86
 
87
- if ( 'yes' === get_option( 'woocommerce_gzd_display_review_authenticity_notice' ) ) {
88
- add_action( 'woocommerce_review_after_comment_text', 'woocommerce_gzd_template_product_review_authenticity_status', 20 );
89
- add_filter( 'pre_option_woocommerce_review_rating_verification_label', function() {
90
- return 'no';
91
- }, 500 );
92
- }
 
 
93
 
94
  /**
95
  * Widgets
79
  *
80
  * @see https://www.haendlerbund.de/de/news/aktuelles/rechtliches/4145-omnibus-rezensionen-gekennzeichnet
81
  */
82
+ add_action( 'init', function() {
83
+ if ( apply_filters( 'woocommerce_gzd_enable_rating_authenticity_notices', wc_reviews_enabled() ) ) {
84
+ if ( 'yes' === get_option( 'woocommerce_gzd_display_rating_authenticity_notice' ) ) {
85
+ add_filter( 'woocommerce_product_get_rating_html', 'woocommerce_gzd_template_product_rating_authenticity_status_filter', 500 );
86
+ add_action( 'woocommerce_gzd_after_product_grid_block_after_rating', 'woocommerce_gzd_template_product_rating_authenticity_status_loop', 20 );
87
+ }
88
 
89
+ if ( 'yes' === get_option( 'woocommerce_gzd_display_review_authenticity_notice' ) ) {
90
+ add_action( 'woocommerce_review_after_comment_text', 'woocommerce_gzd_template_product_review_authenticity_status', 20 );
91
+ add_filter( 'pre_option_woocommerce_review_rating_verification_label', function() {
92
+ return 'no';
93
+ }, 500 );
94
+ }
95
+ }
96
+ }, 50 );
97
 
98
  /**
99
  * Widgets
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.3
9
  Requires PHP: 5.6
10
  License: GPLv3
11
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
@@ -211,6 +211,11 @@ Bug reports may be filed via our [GitHub repository](https://github.com/vendider
211
  6. Edit pdf documents (Pro)
212
 
213
  == Changelog ==
 
 
 
 
 
214
  = 3.9.3 =
215
  * Feature: Omnibus-Policy compliance (notify customers about the authenticity of customer reviews)
216
  * Improvement: Quick-View general compatibility
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.4
9
  Requires PHP: 5.6
10
  License: GPLv3
11
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
211
  6. Edit pdf documents (Pro)
212
 
213
  == Changelog ==
214
+ = 3.9.4 =
215
+ * Tweak: Temporarily patch WooCommerce Multilingual bug which leads to update issues
216
+ * Improvement: Added additional checks to determine whether WooCommerce reviews are enabled
217
+ * Improvement: Legal news update note
218
+
219
  = 3.9.3 =
220
  * Feature: Omnibus-Policy compliance (notify customers about the authenticity of customer reviews)
221
  * Improvement: Quick-View general compatibility
templates/loop/rating-authenticity-status.php CHANGED
@@ -21,6 +21,6 @@ if ( ! defined( 'ABSPATH' ) ) {
21
  global $product;
22
  $verified = wc_gzd_product_rating_is_verified( $product->get_id() );
23
  ?>
24
- <span class="wc-gzd-additional-info wc-gzd-additional-info-loop wc-gzd-rating-authenticity-status <?php echo ( $verified ? 'is-verified' : 'is-unverified' ); ?>">
25
  <?php echo wc_gzd_get_legal_product_rating_authenticity_notice( $product->get_id() ); ?>
26
- </span>
21
  global $product;
22
  $verified = wc_gzd_product_rating_is_verified( $product->get_id() );
23
  ?>
24
+ <p class="wc-gzd-additional-info wc-gzd-additional-info-loop wc-gzd-rating-authenticity-status <?php echo ( $verified ? 'is-verified' : 'is-unverified' ); ?>">
25
  <?php echo wc_gzd_get_legal_product_rating_authenticity_notice( $product->get_id() ); ?>
26
+ </p>
vendor/autoload.php CHANGED
@@ -4,4 +4,4 @@
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
- return ComposerAutoloaderInit3d0eca72a35b0057bae0488e2ad1aaa7::getLoader();
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
+ return ComposerAutoloaderInit5c7c7a0723945f4d20aec0e6cb7409e0::getLoader();
vendor/autoload_packages.php CHANGED
@@ -5,7 +5,7 @@
5
  * @package automattic/jetpack-autoloader
6
  */
7
 
8
- namespace Automattic\Jetpack\Autoloader\jp3d0eca72a35b0057bae0488e2ad1aaa7;
9
 
10
  // phpcs:ignore
11
 
5
  * @package automattic/jetpack-autoloader
6
  */
7
 
8
+ namespace Automattic\Jetpack\Autoloader\jp5c7c7a0723945f4d20aec0e6cb7409e0;
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 ComposerAutoloaderInit3d0eca72a35b0057bae0488e2ad1aaa7
6
  {
7
  private static $loader;
8
 
@@ -24,15 +24,15 @@ class ComposerAutoloaderInit3d0eca72a35b0057bae0488e2ad1aaa7
24
 
25
  require __DIR__ . '/platform_check.php';
26
 
27
- spl_autoload_register(array('ComposerAutoloaderInit3d0eca72a35b0057bae0488e2ad1aaa7', 'loadClassLoader'), true, true);
28
  self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(\dirname(__FILE__)));
29
- spl_autoload_unregister(array('ComposerAutoloaderInit3d0eca72a35b0057bae0488e2ad1aaa7', '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\ComposerStaticInit3d0eca72a35b0057bae0488e2ad1aaa7::getInitializer($loader));
36
  } else {
37
  $map = require __DIR__ . '/autoload_namespaces.php';
38
  foreach ($map as $namespace => $path) {
@@ -53,19 +53,19 @@ class ComposerAutoloaderInit3d0eca72a35b0057bae0488e2ad1aaa7
53
  $loader->register(true);
54
 
55
  if ($useStaticLoader) {
56
- $includeFiles = Composer\Autoload\ComposerStaticInit3d0eca72a35b0057bae0488e2ad1aaa7::$files;
57
  } else {
58
  $includeFiles = require __DIR__ . '/autoload_files.php';
59
  }
60
  foreach ($includeFiles as $fileIdentifier => $file) {
61
- composerRequire3d0eca72a35b0057bae0488e2ad1aaa7($fileIdentifier, $file);
62
  }
63
 
64
  return $loader;
65
  }
66
  }
67
 
68
- function composerRequire3d0eca72a35b0057bae0488e2ad1aaa7($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 ComposerAutoloaderInit5c7c7a0723945f4d20aec0e6cb7409e0
6
  {
7
  private static $loader;
8
 
24
 
25
  require __DIR__ . '/platform_check.php';
26
 
27
+ spl_autoload_register(array('ComposerAutoloaderInit5c7c7a0723945f4d20aec0e6cb7409e0', 'loadClassLoader'), true, true);
28
  self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(\dirname(__FILE__)));
29
+ spl_autoload_unregister(array('ComposerAutoloaderInit5c7c7a0723945f4d20aec0e6cb7409e0', '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\ComposerStaticInit5c7c7a0723945f4d20aec0e6cb7409e0::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\ComposerStaticInit5c7c7a0723945f4d20aec0e6cb7409e0::$files;
57
  } else {
58
  $includeFiles = require __DIR__ . '/autoload_files.php';
59
  }
60
  foreach ($includeFiles as $fileIdentifier => $file) {
61
+ composerRequire5c7c7a0723945f4d20aec0e6cb7409e0($fileIdentifier, $file);
62
  }
63
 
64
  return $loader;
65
  }
66
  }
67
 
68
+ function composerRequire5c7c7a0723945f4d20aec0e6cb7409e0($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 ComposerStaticInit3d0eca72a35b0057bae0488e2ad1aaa7
8
  {
9
  public static $files = array (
10
  '6124b4c8570aa390c21fafd04a26c69f' => __DIR__ . '/..' . '/myclabs/deep-copy/src/DeepCopy/deep_copy.php',
@@ -537,9 +537,9 @@ class ComposerStaticInit3d0eca72a35b0057bae0488e2ad1aaa7
537
  public static function getInitializer(ClassLoader $loader)
538
  {
539
  return \Closure::bind(function () use ($loader) {
540
- $loader->prefixLengthsPsr4 = ComposerStaticInit3d0eca72a35b0057bae0488e2ad1aaa7::$prefixLengthsPsr4;
541
- $loader->prefixDirsPsr4 = ComposerStaticInit3d0eca72a35b0057bae0488e2ad1aaa7::$prefixDirsPsr4;
542
- $loader->classMap = ComposerStaticInit3d0eca72a35b0057bae0488e2ad1aaa7::$classMap;
543
 
544
  }, null, ClassLoader::class);
545
  }
4
 
5
  namespace Composer\Autoload;
6
 
7
+ class ComposerStaticInit5c7c7a0723945f4d20aec0e6cb7409e0
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 = ComposerStaticInit5c7c7a0723945f4d20aec0e6cb7409e0::$prefixLengthsPsr4;
541
+ $loader->prefixDirsPsr4 = ComposerStaticInit5c7c7a0723945f4d20aec0e6cb7409e0::$prefixDirsPsr4;
542
+ $loader->classMap = ComposerStaticInit5c7c7a0723945f4d20aec0e6cb7409e0::$classMap;
543
 
544
  }, null, ClassLoader::class);
545
  }
vendor/composer/installed.php CHANGED
@@ -5,7 +5,7 @@
5
  'type' => 'wordpress-plugin',
6
  'install_path' => __DIR__ . '/../../',
7
  'aliases' => array(),
8
- 'reference' => '0045e39aee56d5c0467d2c326e265ecea72b2e19',
9
  'name' => 'vendidero/woocommerce-germanized',
10
  'dev' => false,
11
  ),
@@ -145,7 +145,7 @@
145
  'type' => 'wordpress-plugin',
146
  'install_path' => __DIR__ . '/../../',
147
  'aliases' => array(),
148
- 'reference' => '0045e39aee56d5c0467d2c326e265ecea72b2e19',
149
  'dev_requirement' => false,
150
  ),
151
  'vendidero/woocommerce-germanized-dhl' => array(
5
  'type' => 'wordpress-plugin',
6
  'install_path' => __DIR__ . '/../../',
7
  'aliases' => array(),
8
+ 'reference' => 'fa7274c0b588d35b5fb9c2759a5207077359f848',
9
  'name' => 'vendidero/woocommerce-germanized',
10
  'dev' => false,
11
  ),
145
  'type' => 'wordpress-plugin',
146
  'install_path' => __DIR__ . '/../../',
147
  'aliases' => array(),
148
+ 'reference' => 'fa7274c0b588d35b5fb9c2759a5207077359f848',
149
  'dev_requirement' => false,
150
  ),
151
  'vendidero/woocommerce-germanized-dhl' => 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\jp3d0eca72a35b0057bae0488e2ad1aaa7;
9
 
10
  // phpcs:ignore
11
 
5
  * @package automattic/jetpack-autoloader
6
  */
7
 
8
+ namespace Automattic\Jetpack\Autoloader\jp5c7c7a0723945f4d20aec0e6cb7409e0;
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\jp3d0eca72a35b0057bae0488e2ad1aaa7;
9
 
10
  // phpcs:ignore
11
 
5
  * @package automattic/jetpack-autoloader
6
  */
7
 
8
+ namespace Automattic\Jetpack\Autoloader\jp5c7c7a0723945f4d20aec0e6cb7409e0;
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\jp3d0eca72a35b0057bae0488e2ad1aaa7;
9
 
10
  // phpcs:ignore
11
 
5
  * @package automattic/jetpack-autoloader
6
  */
7
 
8
+ namespace Automattic\Jetpack\Autoloader\jp5c7c7a0723945f4d20aec0e6cb7409e0;
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\jp3d0eca72a35b0057bae0488e2ad1aaa7;
9
 
10
  // phpcs:ignore
11
 
5
  * @package automattic/jetpack-autoloader
6
  */
7
 
8
+ namespace Automattic\Jetpack\Autoloader\jp5c7c7a0723945f4d20aec0e6cb7409e0;
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\jp3d0eca72a35b0057bae0488e2ad1aaa7;
9
 
10
  // phpcs:ignore
11
 
5
  * @package automattic/jetpack-autoloader
6
  */
7
 
8
+ namespace Automattic\Jetpack\Autoloader\jp5c7c7a0723945f4d20aec0e6cb7409e0;
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\jp3d0eca72a35b0057bae0488e2ad1aaa7;
9
 
10
  // phpcs:ignore
11
 
5
  * @package automattic/jetpack-autoloader
6
  */
7
 
8
+ namespace Automattic\Jetpack\Autoloader\jp5c7c7a0723945f4d20aec0e6cb7409e0;
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\jp3d0eca72a35b0057bae0488e2ad1aaa7;
9
 
10
  // phpcs:ignore
11
 
5
  * @package automattic/jetpack-autoloader
6
  */
7
 
8
+ namespace Automattic\Jetpack\Autoloader\jp5c7c7a0723945f4d20aec0e6cb7409e0;
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\jp3d0eca72a35b0057bae0488e2ad1aaa7;
9
 
10
  // phpcs:ignore
11
 
5
  * @package automattic/jetpack-autoloader
6
  */
7
 
8
+ namespace Automattic\Jetpack\Autoloader\jp5c7c7a0723945f4d20aec0e6cb7409e0;
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\jp3d0eca72a35b0057bae0488e2ad1aaa7;
9
 
10
  // phpcs:ignore
11
 
5
  * @package automattic/jetpack-autoloader
6
  */
7
 
8
+ namespace Automattic\Jetpack\Autoloader\jp5c7c7a0723945f4d20aec0e6cb7409e0;
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\jp3d0eca72a35b0057bae0488e2ad1aaa7;
9
 
10
  // phpcs:ignore
11
 
5
  * @package automattic/jetpack-autoloader
6
  */
7
 
8
+ namespace Automattic\Jetpack\Autoloader\jp5c7c7a0723945f4d20aec0e6cb7409e0;
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\jp3d0eca72a35b0057bae0488e2ad1aaa7;
9
 
10
  // phpcs:ignore
11
 
5
  * @package automattic/jetpack-autoloader
6
  */
7
 
8
+ namespace Automattic\Jetpack\Autoloader\jp5c7c7a0723945f4d20aec0e6cb7409e0;
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\jp3d0eca72a35b0057bae0488e2ad1aaa7;
9
 
10
  // phpcs:ignore
11
 
5
  * @package automattic/jetpack-autoloader
6
  */
7
 
8
+ namespace Automattic\Jetpack\Autoloader\jp5c7c7a0723945f4d20aec0e6cb7409e0;
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\jp3d0eca72a35b0057bae0488e2ad1aaa7;
9
 
10
  // phpcs:ignore
11
 
5
  * @package automattic/jetpack-autoloader
6
  */
7
 
8
+ namespace Automattic\Jetpack\Autoloader\jp5c7c7a0723945f4d20aec0e6cb7409e0;
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\jp3d0eca72a35b0057bae0488e2ad1aaa7;
9
 
10
  // phpcs:ignore
11
 
5
  * @package automattic/jetpack-autoloader
6
  */
7
 
8
+ namespace Automattic\Jetpack\Autoloader\jp5c7c7a0723945f4d20aec0e6cb7409e0;
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.3
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.3';
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.4
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.4';
73
 
74
  /**
75
  * @var WooCommerce_Germanized $instance of the plugin