WooCommerce Germanized - Version 3.9.5

Version Description

  • Security: Hardened URL escaping to prevent XSS attack vectors
  • Improvement: Register meta boxes for legal page email content for legal pages only
  • Improvement: Variable unit price data transmission while saving variations
Download this release

Release Info

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

Code changes from version 3.9.4 to 3.9.5

Files changed (98) hide show
  1. assets/js/admin/product-variations.js +41 -20
  2. assets/js/admin/product-variations.min.js +1 -1
  3. i18n/languages/woocommerce-germanized-de_DE.mo +0 -0
  4. i18n/languages/woocommerce-germanized-de_DE.po +14 -14
  5. i18n/languages/woocommerce-germanized-de_DE_formal.mo +0 -0
  6. i18n/languages/woocommerce-germanized-de_DE_formal.po +14 -14
  7. includes/admin/class-wc-gzd-admin-customer.php +1 -1
  8. includes/admin/class-wc-gzd-admin-notices.php +16 -15
  9. includes/admin/class-wc-gzd-admin-setup-wizard.php +6 -6
  10. includes/admin/class-wc-gzd-admin-welcome.php +7 -7
  11. includes/admin/class-wc-gzd-admin.php +37 -34
  12. includes/admin/meta-boxes/class-wc-gzd-meta-box-product-data-variable.php +7 -7
  13. includes/admin/notes/class-wc-gzd-admin-note-virtual-vat.php +1 -1
  14. includes/admin/notes/class-wc-gzd-admin-note.php +2 -2
  15. includes/admin/settings/abstract-wc-gzd-settings-tab.php +1 -1
  16. includes/admin/settings/class-wc-gzd-settings-germanized.php +2 -2
  17. includes/admin/settings/class-wc-gzd-settings-tab-general.php +1 -1
  18. includes/admin/settings/class-wc-gzd-settings-tab-shipments.php +1 -1
  19. includes/admin/settings/class-wc-gzd-settings-tab-shipping-provider.php +1 -1
  20. includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php +5 -5
  21. includes/admin/settings/views/html-admin-page-checkbox-sidebar.php +1 -1
  22. includes/admin/settings/views/html-admin-settings-tabs.php +1 -1
  23. includes/admin/views/html-page-status-germanized.php +6 -6
  24. includes/admin/views/html-settings-pro.php +1 -1
  25. includes/class-wc-gzd-checkout.php +3 -3
  26. includes/class-wc-gzd-customer-helper.php +12 -12
  27. includes/class-wc-gzd-install.php +3 -3
  28. includes/class-wc-gzd-legal-checkbox-manager.php +1 -1
  29. includes/class-wc-gzd-order-helper.php +1 -1
  30. includes/class-wc-gzd-revocation.php +1 -1
  31. includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php +4 -4
  32. includes/wc-gzd-template-functions.php +2 -2
  33. packages/one-stop-shop-woocommerce/one-stop-shop-woocommerce.php +1 -1
  34. packages/one-stop-shop-woocommerce/readme.txt +4 -1
  35. packages/one-stop-shop-woocommerce/src/Admin.php +12 -12
  36. packages/one-stop-shop-woocommerce/src/Package.php +1 -1
  37. packages/one-stop-shop-woocommerce/src/Settings.php +3 -3
  38. packages/one-stop-shop-woocommerce/src/SettingsPage.php +1 -1
  39. packages/woocommerce-germanized-dhl/src/Admin/Admin.php +5 -5
  40. packages/woocommerce-germanized-dhl/src/Admin/Status.php +1 -1
  41. packages/woocommerce-germanized-dhl/src/Api/Internetmarke.php +2 -2
  42. packages/woocommerce-germanized-dhl/src/Api/LabelSoap.php +1 -1
  43. packages/woocommerce-germanized-dhl/src/Api/Rest.php +2 -2
  44. packages/woocommerce-germanized-dhl/src/Api/Soap.php +2 -2
  45. packages/woocommerce-germanized-dhl/src/Package.php +1 -1
  46. packages/woocommerce-germanized-dhl/src/ParcelLocator.php +2 -2
  47. packages/woocommerce-germanized-dhl/src/ShippingProvider/DHL.php +6 -6
  48. packages/woocommerce-germanized-dhl/src/ShippingProvider/DeutschePost.php +4 -4
  49. packages/woocommerce-germanized-dhl/templates/checkout/dhl/preferred-services.php +2 -2
  50. packages/woocommerce-germanized-dhl/woocommerce-germanized-dhl.php +1 -1
  51. packages/woocommerce-germanized-shipments/includes/admin/views/html-settings-provider-list.php +2 -2
  52. packages/woocommerce-germanized-shipments/includes/admin/views/label/html-shipment-label.php +1 -1
  53. packages/woocommerce-germanized-shipments/src/Admin/Admin.php +2 -2
  54. packages/woocommerce-germanized-shipments/src/Admin/BulkLabel.php +2 -2
  55. packages/woocommerce-germanized-shipments/src/Admin/ProviderSettings.php +1 -1
  56. packages/woocommerce-germanized-shipments/src/Admin/Settings.php +3 -3
  57. packages/woocommerce-germanized-shipments/src/Admin/Table.php +3 -3
  58. packages/woocommerce-germanized-shipments/src/Ajax.php +1 -1
  59. packages/woocommerce-germanized-shipments/src/FormHandler.php +1 -1
  60. packages/woocommerce-germanized-shipments/src/Labels/Label.php +1 -1
  61. packages/woocommerce-germanized-shipments/src/Package.php +1 -1
  62. packages/woocommerce-germanized-shipments/src/ShippingProvider/Simple.php +3 -3
  63. packages/woocommerce-germanized-shipments/templates/shipment/add-return-shipment-item.php +2 -2
  64. packages/woocommerce-germanized-shipments/templates/shipment/shipment-details-item.php +2 -2
  65. packages/woocommerce-germanized-shipments/woocommerce-germanized-shipments.php +1 -1
  66. packages/woocommerce-trusted-shops/assets/js/admin.min.js +1 -1
  67. packages/woocommerce-trusted-shops/includes/admin/views/html-notice-dependencies.php +2 -2
  68. packages/woocommerce-trusted-shops/includes/class-wc-trusted-shops-admin.php +17 -17
  69. packages/woocommerce-trusted-shops/includes/class-wc-trusted-shops-core.php +1 -1
  70. packages/woocommerce-trusted-shops/includes/class-wc-trusted-shops-shortcodes.php +1 -1
  71. packages/woocommerce-trusted-shops/includes/class-wc-trusted-shops-template-hooks.php +2 -2
  72. packages/woocommerce-trusted-shops/readme.txt +4 -1
  73. packages/woocommerce-trusted-shops/src/Package.php +1 -1
  74. packages/woocommerce-trusted-shops/woocommerce-trusted-shops.php +1 -1
  75. readme.txt +6 -1
  76. templates/order/order-pay-now-button.php +2 -2
  77. vendor/autoload.php +1 -1
  78. vendor/autoload_packages.php +1 -1
  79. vendor/composer/autoload_real.php +7 -7
  80. vendor/composer/autoload_static.php +4 -4
  81. vendor/composer/installed.json +28 -28
  82. vendor/composer/installed.php +14 -14
  83. vendor/composer/jetpack_autoload_classmap.php +111 -111
  84. vendor/jetpack-autoloader/class-autoloader-handler.php +1 -1
  85. vendor/jetpack-autoloader/class-autoloader-locator.php +1 -1
  86. vendor/jetpack-autoloader/class-autoloader.php +1 -1
  87. vendor/jetpack-autoloader/class-container.php +1 -1
  88. vendor/jetpack-autoloader/class-hook-manager.php +1 -1
  89. vendor/jetpack-autoloader/class-latest-autoloader-guard.php +1 -1
  90. vendor/jetpack-autoloader/class-manifest-reader.php +1 -1
  91. vendor/jetpack-autoloader/class-path-processor.php +1 -1
  92. vendor/jetpack-autoloader/class-php-autoloader.php +1 -1
  93. vendor/jetpack-autoloader/class-plugin-locator.php +1 -1
  94. vendor/jetpack-autoloader/class-plugins-handler.php +1 -1
  95. vendor/jetpack-autoloader/class-shutdown-handler.php +1 -1
  96. vendor/jetpack-autoloader/class-version-loader.php +1 -1
  97. vendor/jetpack-autoloader/class-version-selector.php +1 -1
  98. woocommerce-germanized.php +4 -4
assets/js/admin/product-variations.js CHANGED
@@ -12,20 +12,58 @@ jQuery( function ( $ ) {
12
  $( '#general_product_data' ).on( 'blur', 'input#_unit_base', this.show_or_hide_unit_variation );
13
  $( '#general_product_data' ).on( 'change', 'select#_unit', this.show_or_hide_unit_variation );
14
 
15
- $( document ).bind( 'woocommerce_variations_save_variations_button', this.save_variations );
16
- $( document ).bind( 'woocommerce_variations_save_variations_on_submit', this.save_variations );
17
-
18
  $( document ).on( 'click', '.wc-gzd-general-product-data-tab', this.on_click_general_product_data );
19
 
20
  $( 'select.variation_actions' ).on( 'variable_delivery_time_ajax_data', this.onSetDeliveryTime );
21
  $( 'select.variation_actions' ).on( 'variable_unit_product_ajax_data', this.onSetProductUnit );
22
 
 
 
23
  $( '#variable_product_options' )
24
  .on( 'change', 'input.variable_service', this.variable_is_service )
25
  .on( 'change', 'input.variable_used_good', this.variable_is_used_good )
26
  .on( 'change', 'input.variable_defective_copy', this.variable_is_defective_copy );
27
  },
28
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
29
  variations_loaded: function( event, needsUpdate ) {
30
  needsUpdate = needsUpdate || false;
31
 
@@ -97,21 +135,6 @@ jQuery( function ( $ ) {
97
  return false;
98
  },
99
 
100
- save_variations: function() {
101
-
102
- var fields = [ 'unit', 'unit_base', 'unit_product' ];
103
- var variations = $( '.woocommerce_variations' ).find( '.woocommerce_variation' );
104
-
105
- $.each( fields, function( index, id ) {
106
- var parent_val = $( '#_' + id ).val();
107
-
108
- variations.each( function() {
109
- $( this ).find( '.wc-gzd-parent-' + id ).val( parent_val );
110
- });
111
- });
112
-
113
- },
114
-
115
  show_or_hide_unit_variation: function() {
116
  if ( wc_gzd_product_variations_actions.is_variable() ) {
117
 
@@ -151,9 +174,7 @@ jQuery( function ( $ ) {
151
  has_unit_price: function() {
152
  return $( '#_unit' ).val() !== '0' && $( '#_unit_base' ).val().length !== 0;
153
  }
154
-
155
  };
156
 
157
  wc_gzd_product_variations_actions.init();
158
-
159
  });
12
  $( '#general_product_data' ).on( 'blur', 'input#_unit_base', this.show_or_hide_unit_variation );
13
  $( '#general_product_data' ).on( 'change', 'select#_unit', this.show_or_hide_unit_variation );
14
 
 
 
 
15
  $( document ).on( 'click', '.wc-gzd-general-product-data-tab', this.on_click_general_product_data );
16
 
17
  $( 'select.variation_actions' ).on( 'variable_delivery_time_ajax_data', this.onSetDeliveryTime );
18
  $( 'select.variation_actions' ).on( 'variable_unit_product_ajax_data', this.onSetProductUnit );
19
 
20
+ $( document ).ajaxSend( this.appendParentUnitData );
21
+
22
  $( '#variable_product_options' )
23
  .on( 'change', 'input.variable_service', this.variable_is_service )
24
  .on( 'change', 'input.variable_used_good', this.variable_is_used_good )
25
  .on( 'change', 'input.variable_defective_copy', this.variable_is_defective_copy );
26
  },
27
 
28
+ parseAjaxData: function( rawData ) {
29
+ var data = false;
30
+
31
+ try {
32
+ data = JSON.parse('{"' + rawData.replace( /&/g, '","' ).replace( /=/g,'":"' ) + '"}', function( key, value ) { return key ==="" ? value : decodeURIComponent( value ) });
33
+ } catch (e) {
34
+ data = false;
35
+ }
36
+
37
+ return data;
38
+ },
39
+
40
+ /**
41
+ * Append variable parent data to the woocommerce_save_variations event.
42
+ *
43
+ * @param e
44
+ * @param jqXHR
45
+ * @param settings
46
+ */
47
+ appendParentUnitData: function( e, jqXHR, settings ) {
48
+ if ( jqXHR != null ) {
49
+ if ( settings.hasOwnProperty( 'data' ) ) {
50
+ var search = settings.data;
51
+ var data = wc_gzd_product_variations_actions.parseAjaxData( search );
52
+
53
+ if ( data && data.hasOwnProperty( 'action' ) && data.action === 'woocommerce_save_variations' ) {
54
+ var fields = [ 'unit', 'unit_base', 'unit_product' ];
55
+ var parent_data = {}
56
+
57
+ $.each( fields, function( index, id ) {
58
+ parent_data[ '_' + id ] = $( '#_' + id ).val();
59
+ });
60
+
61
+ settings.data += ( '&' + $.param( parent_data ) );
62
+ }
63
+ }
64
+ }
65
+ },
66
+
67
  variations_loaded: function( event, needsUpdate ) {
68
  needsUpdate = needsUpdate || false;
69
 
135
  return false;
136
  },
137
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
138
  show_or_hide_unit_variation: function() {
139
  if ( wc_gzd_product_variations_actions.is_variable() ) {
140
 
174
  has_unit_price: function() {
175
  return $( '#_unit' ).val() !== '0' && $( '#_unit_base' ).val().length !== 0;
176
  }
 
177
  };
178
 
179
  wc_gzd_product_variations_actions.init();
 
180
  });
assets/js/admin/product-variations.min.js CHANGED
@@ -1 +1 @@
1
- jQuery(function(t){var e={params:{},init:function(){this.params=wc_gzd_admin_product_variations_params,t("#woocommerce-product-data").on("woocommerce_variations_loaded",this.variations_loaded),t("#woocommerce-product-data").on("click",".woocommerce_variation",this.show_or_hide_unit_variation),t("#general_product_data").on("blur","input#_unit_base",this.show_or_hide_unit_variation),t("#general_product_data").on("change","select#_unit",this.show_or_hide_unit_variation),t(document).bind("woocommerce_variations_save_variations_button",this.save_variations),t(document).bind("woocommerce_variations_save_variations_on_submit",this.save_variations),t(document).on("click",".wc-gzd-general-product-data-tab",this.on_click_general_product_data),t("select.variation_actions").on("variable_delivery_time_ajax_data",this.onSetDeliveryTime),t("select.variation_actions").on("variable_unit_product_ajax_data",this.onSetProductUnit),t("#variable_product_options").on("change","input.variable_service",this.variable_is_service).on("change","input.variable_used_good",this.variable_is_used_good).on("change","input.variable_defective_copy",this.variable_is_defective_copy)},variations_loaded:function(i,a){a=a||!1;var e=t("#woocommerce-product-data");a||(t("input.variable_service, input.variable_used_good, input.variable_defective_copy",e).trigger("change"),t(".woocommerce_variations .variation-needs-update",e).removeClass("variation-needs-update"),t("button.cancel-variation-changes, button.save-variation-changes",e).attr("disabled","disabled")),t(document.body).trigger("wc-gzd-refresh-unit-placeholder"),t(document.body).trigger("wc-gzd-show-hide-panels")},variable_is_service:function(){t(this).closest(".woocommerce_variation").find(".show_if_variation_service").hide(),t(this).is(":checked")&&t(this).closest(".woocommerce_variation").find(".show_if_variation_service").show()},variable_is_used_good:function(){t(this).closest(".woocommerce_variation").find(".show_if_variation_used_good").hide(),t(this).is(":checked")&&t(this).closest(".woocommerce_variation").find(".show_if_variation_used_good").show()},variable_is_defective_copy:function(){t(this).closest(".woocommerce_variation").find(".show_if_variation_defective_copy").hide(),t(this).is(":checked")&&t(this).closest(".woocommerce_variation").find(".show_if_variation_defective_copy").show()},onSetDeliveryTime:function(i,a){return e.onVariationAction(a,"set_delivery_time")},onSetProductUnit:function(i,a){return e.onVariationAction(a,"set_product_unit")},onVariationAction:function(i,a){a=window.prompt(e.params["i18n_"+a]);if(null!==a)return i.value=a,i},on_click_general_product_data:function(){return t("ul.wc-tabs > li.general_options > a").trigger("click"),!1},save_variations:function(){var o=t(".woocommerce_variations").find(".woocommerce_variation");t.each(["unit","unit_base","unit_product"],function(i,a){var e=t("#_"+a).val();o.each(function(){t(this).find(".wc-gzd-parent-"+a).val(e)})})},show_or_hide_unit_variation:function(){var i;e.is_variable()&&(t(".variable_pricing_unit .form-row").hide(),t(".variable_pricing_unit .wc-gzd-unit-price-disabled-notice").show(),!e.has_unit_price()&&e.has_unit()?(t(".variable_pricing_unit .form-row").hide(),t(".variable_pricing_unit .wc-gzd-unit-price-disabled-notice").show(),t(".variable_pricing_unit").find("input[name*=variable_unit_product]").parents(".form-row").show()):e.has_unit_price()&&(t(".variable_pricing_unit .form-row").show(),t(".variable_pricing_unit .wc-gzd-unit-price-disabled-notice").hide()),0<(i=t(".variable_pricing_unit .form-row:not(.wc-gzd-unit-price-disabled-notice):visible:last")).length&&i.hasClass("form-row-first")?t(".variable_pricing_unit .wc-gzd-unit-price-disabled-notice").removeClass("form-row-first").addClass("form-row-last"):t(".variable_pricing_unit .wc-gzd-unit-price-disabled-notice").removeClass("form-row-last").addClass("form-row-first"))},is_variable:function(){return"variable"===t("select#product-type").val()},has_unit:function(){return"0"!==t("#_unit").val()},has_unit_price:function(){return"0"!==t("#_unit").val()&&0!==t("#_unit_base").val().length}};e.init()});
1
+ jQuery(function(o){var n={params:{},init:function(){this.params=wc_gzd_admin_product_variations_params,o("#woocommerce-product-data").on("woocommerce_variations_loaded",this.variations_loaded),o("#woocommerce-product-data").on("click",".woocommerce_variation",this.show_or_hide_unit_variation),o("#general_product_data").on("blur","input#_unit_base",this.show_or_hide_unit_variation),o("#general_product_data").on("change","select#_unit",this.show_or_hide_unit_variation),o(document).on("click",".wc-gzd-general-product-data-tab",this.on_click_general_product_data),o("select.variation_actions").on("variable_delivery_time_ajax_data",this.onSetDeliveryTime),o("select.variation_actions").on("variable_unit_product_ajax_data",this.onSetProductUnit),o(document).ajaxSend(this.appendParentUnitData),o("#variable_product_options").on("change","input.variable_service",this.variable_is_service).on("change","input.variable_used_good",this.variable_is_used_good).on("change","input.variable_defective_copy",this.variable_is_defective_copy)},parseAjaxData:function(i){var a=!1;try{a=JSON.parse('{"'+i.replace(/&/g,'","').replace(/=/g,'":"')+'"}',function(i,a){return""===i?a:decodeURIComponent(a)})}catch(i){a=!1}return a},appendParentUnitData:function(i,a,e){var t;null!=a&&e.hasOwnProperty("data")&&(a=e.data,(a=n.parseAjaxData(a))&&a.hasOwnProperty("action")&&"woocommerce_save_variations"===a.action&&(t={},o.each(["unit","unit_base","unit_product"],function(i,a){t["_"+a]=o("#_"+a).val()}),e.data+="&"+o.param(t)))},variations_loaded:function(i,a){a=a||!1;var e=o("#woocommerce-product-data");a||(o("input.variable_service, input.variable_used_good, input.variable_defective_copy",e).trigger("change"),o(".woocommerce_variations .variation-needs-update",e).removeClass("variation-needs-update"),o("button.cancel-variation-changes, button.save-variation-changes",e).attr("disabled","disabled")),o(document.body).trigger("wc-gzd-refresh-unit-placeholder"),o(document.body).trigger("wc-gzd-show-hide-panels")},variable_is_service:function(){o(this).closest(".woocommerce_variation").find(".show_if_variation_service").hide(),o(this).is(":checked")&&o(this).closest(".woocommerce_variation").find(".show_if_variation_service").show()},variable_is_used_good:function(){o(this).closest(".woocommerce_variation").find(".show_if_variation_used_good").hide(),o(this).is(":checked")&&o(this).closest(".woocommerce_variation").find(".show_if_variation_used_good").show()},variable_is_defective_copy:function(){o(this).closest(".woocommerce_variation").find(".show_if_variation_defective_copy").hide(),o(this).is(":checked")&&o(this).closest(".woocommerce_variation").find(".show_if_variation_defective_copy").show()},onSetDeliveryTime:function(i,a){return n.onVariationAction(a,"set_delivery_time")},onSetProductUnit:function(i,a){return n.onVariationAction(a,"set_product_unit")},onVariationAction:function(i,a){a=window.prompt(n.params["i18n_"+a]);if(null!==a)return i.value=a,i},on_click_general_product_data:function(){return o("ul.wc-tabs > li.general_options > a").trigger("click"),!1},show_or_hide_unit_variation:function(){var i;n.is_variable()&&(o(".variable_pricing_unit .form-row").hide(),o(".variable_pricing_unit .wc-gzd-unit-price-disabled-notice").show(),!n.has_unit_price()&&n.has_unit()?(o(".variable_pricing_unit .form-row").hide(),o(".variable_pricing_unit .wc-gzd-unit-price-disabled-notice").show(),o(".variable_pricing_unit").find("input[name*=variable_unit_product]").parents(".form-row").show()):n.has_unit_price()&&(o(".variable_pricing_unit .form-row").show(),o(".variable_pricing_unit .wc-gzd-unit-price-disabled-notice").hide()),0<(i=o(".variable_pricing_unit .form-row:not(.wc-gzd-unit-price-disabled-notice):visible:last")).length&&i.hasClass("form-row-first")?o(".variable_pricing_unit .wc-gzd-unit-price-disabled-notice").removeClass("form-row-first").addClass("form-row-last"):o(".variable_pricing_unit .wc-gzd-unit-price-disabled-notice").removeClass("form-row-last").addClass("form-row-first"))},is_variable:function(){return"variable"===o("select#product-type").val()},has_unit:function(){return"0"!==o("#_unit").val()},has_unit_price:function(){return"0"!==o("#_unit").val()&&0!==o("#_unit_base").val().length}};n.init()});
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-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"
@@ -6606,7 +6606,7 @@ msgid "Insert product units amount."
6606
  msgstr "Füge die Anzahl der Produkteinheiten ein."
6607
 
6608
  # @ woocommerce-germanized
6609
- #: woocommerce-germanized/includes/admin/class-wc-gzd-admin.php:635
6610
  msgid "Optional Email Content"
6611
  msgstr "Optionaler E-Mail Inhalt"
6612
 
@@ -6618,18 +6618,18 @@ msgstr ""
6618
  "Seite zu bestimmen."
6619
 
6620
  # @ woocommerce-germanized
6621
- #: woocommerce-germanized/includes/admin/class-wc-gzd-admin.php:667
6622
  msgid "Cart description"
6623
  msgstr "Warenkorbkurzbeschreibung"
6624
 
6625
  # @ woocommerce-germanized
6626
- #: woocommerce-germanized/includes/admin/class-wc-gzd-admin.php:672
6627
  #: woocommerce-germanized/includes/api/class-wc-gzd-rest-products-controller.php:518
6628
  msgid "Defect description"
6629
  msgstr "Mängelbeschreibung"
6630
 
6631
  # @ woocommerce-germanized
6632
- #: woocommerce-germanized/includes/admin/class-wc-gzd-admin.php:694
6633
  msgid ""
6634
  "This content will be shown as short product description within checkout and "
6635
  "emails."
@@ -6637,7 +6637,7 @@ msgstr ""
6637
  "Dieser Inhalt wird während des Bezahlvorganges und in den E-Mails als "
6638
  "Produkt Kurzbeschreibung angezeigt."
6639
 
6640
- #: woocommerce-germanized/includes/admin/class-wc-gzd-admin.php:704
6641
  #: woocommerce-germanized/includes/admin/meta-boxes/class-wc-gzd-meta-box-product-data-variable.php:377
6642
  msgid ""
6643
  "Inform your customers about product defects. This description will be shown "
@@ -16179,26 +16179,26 @@ msgstr "https://vendidero.de"
16179
  # @ woocommerce-germanized
16180
  #~ msgctxt "trusted-shops"
16181
  #~ msgid ""
16182
- #~ "This option will enable a Widget which shows your Trusted Shops Reviews "
16183
  #~ "as a graphic. You may configure your Widgets <a href=\"%s\">here</a>."
16184
  #~ msgstr ""
16185
- #~ "Diese Option aktiviert ein Widget, mit dem du das Trusted Shops Review "
16186
- #~ "Widget in deinem Shop platzieren kannst. <a href=\"%s\">Hier</a> kannst "
16187
  #~ "du deine Widgets zuweisen."
16188
 
16189
  # @ woocommerce-germanized
16190
  #~ msgctxt "trusted-shops"
16191
- #~ msgid "Enable Rich Snippets Widget."
16192
- #~ msgstr "Rich Snippets Widget aktivieren"
16193
 
16194
  # @ woocommerce-germanized
16195
  #~ msgctxt "trusted-shops"
16196
  #~ msgid ""
16197
  #~ "This option will update your reviews received via Trusted Shops once per "
16198
- #~ "day and enables a Widget to show your reviews as Rich Snippets"
16199
  #~ msgstr ""
16200
  #~ "Diese Option bewirkt, dass deine über Trusted Shops empfangenen "
16201
- #~ "Bewertungen als Rich Snippets im Shop als Widget verfügbar sind. "
16202
 
16203
  # @ woocommerce-germanized
16204
  #~ msgctxt "trusted-shops"
2
  msgstr ""
3
  "Project-Id-Version: WooCommerce Germanized\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2022-05-28 12:39+0200\n"
6
+ "PO-Revision-Date: 2022-05-28 12:39+0200\n"
7
  "Last-Translator: Dennis Nissle <info@vendidero.de>\n"
8
  "Language-Team: \n"
9
  "Language: de_DE\n"
6606
  msgstr "Füge die Anzahl der Produkteinheiten ein."
6607
 
6608
  # @ woocommerce-germanized
6609
+ #: woocommerce-germanized/includes/admin/class-wc-gzd-admin.php:648
6610
  msgid "Optional Email Content"
6611
  msgstr "Optionaler E-Mail Inhalt"
6612
 
6618
  "Seite zu bestimmen."
6619
 
6620
  # @ woocommerce-germanized
6621
+ #: woocommerce-germanized/includes/admin/class-wc-gzd-admin.php:671
6622
  msgid "Cart description"
6623
  msgstr "Warenkorbkurzbeschreibung"
6624
 
6625
  # @ woocommerce-germanized
6626
+ #: woocommerce-germanized/includes/admin/class-wc-gzd-admin.php:676
6627
  #: woocommerce-germanized/includes/api/class-wc-gzd-rest-products-controller.php:518
6628
  msgid "Defect description"
6629
  msgstr "Mängelbeschreibung"
6630
 
6631
  # @ woocommerce-germanized
6632
+ #: woocommerce-germanized/includes/admin/class-wc-gzd-admin.php:697
6633
  msgid ""
6634
  "This content will be shown as short product description within checkout and "
6635
  "emails."
6637
  "Dieser Inhalt wird während des Bezahlvorganges und in den E-Mails als "
6638
  "Produkt Kurzbeschreibung angezeigt."
6639
 
6640
+ #: woocommerce-germanized/includes/admin/class-wc-gzd-admin.php:707
6641
  #: woocommerce-germanized/includes/admin/meta-boxes/class-wc-gzd-meta-box-product-data-variable.php:377
6642
  msgid ""
6643
  "Inform your customers about product defects. This description will be shown "
16179
  # @ woocommerce-germanized
16180
  #~ msgctxt "trusted-shops"
16181
  #~ msgid ""
16182
+ #~ "This option will enable a Widgets which shows your Trusted Shops Reviews "
16183
  #~ "as a graphic. You may configure your Widgets <a href=\"%s\">here</a>."
16184
  #~ msgstr ""
16185
+ #~ "Diese Option aktiviert ein Widgets, mit dem du das Trusted Shops Review "
16186
+ #~ "Widgets in deinem Shop platzieren kannst. <a href=\"%s\">Hier</a> kannst "
16187
  #~ "du deine Widgets zuweisen."
16188
 
16189
  # @ woocommerce-germanized
16190
  #~ msgctxt "trusted-shops"
16191
+ #~ msgid "Enable Rich Snippets Widgets."
16192
+ #~ msgstr "Rich Snippets Widgets aktivieren"
16193
 
16194
  # @ woocommerce-germanized
16195
  #~ msgctxt "trusted-shops"
16196
  #~ msgid ""
16197
  #~ "This option will update your reviews received via Trusted Shops once per "
16198
+ #~ "day and enables a Widgets to show your reviews as Rich Snippets"
16199
  #~ msgstr ""
16200
  #~ "Diese Option bewirkt, dass deine über Trusted Shops empfangenen "
16201
+ #~ "Bewertungen als Rich Snippets im Shop als Widgets verfügbar sind. "
16202
 
16203
  # @ woocommerce-germanized
16204
  #~ msgctxt "trusted-shops"
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-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"
@@ -6597,7 +6597,7 @@ msgid "Insert product units amount."
6597
  msgstr "Fügen Sie die Anzahl der Produkteinheiten ein."
6598
 
6599
  # @ woocommerce-germanized
6600
- #: woocommerce-germanized/includes/admin/class-wc-gzd-admin.php:635
6601
  msgid "Optional Email Content"
6602
  msgstr "Optionaler E-Mail Inhalt"
6603
 
@@ -6609,18 +6609,18 @@ msgstr ""
6609
  "diese Seite zu bestimmen."
6610
 
6611
  # @ woocommerce-germanized
6612
- #: woocommerce-germanized/includes/admin/class-wc-gzd-admin.php:667
6613
  msgid "Cart description"
6614
  msgstr "Warenkorbkurzbeschreibung"
6615
 
6616
  # @ woocommerce-germanized
6617
- #: woocommerce-germanized/includes/admin/class-wc-gzd-admin.php:672
6618
  #: woocommerce-germanized/includes/api/class-wc-gzd-rest-products-controller.php:518
6619
  msgid "Defect description"
6620
  msgstr "Mängelbeschreibung"
6621
 
6622
  # @ woocommerce-germanized
6623
- #: woocommerce-germanized/includes/admin/class-wc-gzd-admin.php:694
6624
  msgid ""
6625
  "This content will be shown as short product description within checkout and "
6626
  "emails."
@@ -6628,7 +6628,7 @@ msgstr ""
6628
  "Dieser Inhalt wird während des Bezahlvorganges und in den E-Mails als "
6629
  "Produkt Kurzbeschreibung angezeigt."
6630
 
6631
- #: woocommerce-germanized/includes/admin/class-wc-gzd-admin.php:704
6632
  #: woocommerce-germanized/includes/admin/meta-boxes/class-wc-gzd-meta-box-product-data-variable.php:377
6633
  msgid ""
6634
  "Inform your customers about product defects. This description will be shown "
@@ -16099,26 +16099,26 @@ msgstr "https://vendidero.de"
16099
  # @ woocommerce-germanized
16100
  #~ msgctxt "trusted-shops"
16101
  #~ msgid ""
16102
- #~ "This option will enable a Widget which shows your Trusted Shops Reviews "
16103
  #~ "as a graphic. You may configure your Widgets <a href=\"%s\">here</a>."
16104
  #~ msgstr ""
16105
- #~ "Diese Option aktiviert ein Widget, mit dem du das Trusted Shops Review "
16106
- #~ "Widget in deinem Shop platzieren kannst. <a href=\"%s\">Hier</a> kannst "
16107
  #~ "du deine Widgets zuweisen."
16108
 
16109
  # @ woocommerce-germanized
16110
  #~ msgctxt "trusted-shops"
16111
- #~ msgid "Enable Rich Snippets Widget."
16112
- #~ msgstr "Rich Snippets Widget aktivieren"
16113
 
16114
  # @ woocommerce-germanized
16115
  #~ msgctxt "trusted-shops"
16116
  #~ msgid ""
16117
  #~ "This option will update your reviews received via Trusted Shops once per "
16118
- #~ "day and enables a Widget to show your reviews as Rich Snippets"
16119
  #~ msgstr ""
16120
  #~ "Diese Option bewirkt, dass deine über Trusted Shops empfangenen "
16121
- #~ "Bewertungen als Rich Snippets im Shop als Widget verfügbar sind. "
16122
 
16123
  # @ woocommerce-germanized
16124
  #~ msgctxt "trusted-shops"
2
  msgstr ""
3
  "Project-Id-Version: WooCommerce Germanized\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2022-05-28 12:39+0200\n"
6
+ "PO-Revision-Date: 2022-05-28 12:39+0200\n"
7
  "Last-Translator: Dennis Nissle <info@vendidero.de>\n"
8
  "Language-Team: \n"
9
  "Language: de_DE@formal\n"
6597
  msgstr "Fügen Sie die Anzahl der Produkteinheiten ein."
6598
 
6599
  # @ woocommerce-germanized
6600
+ #: woocommerce-germanized/includes/admin/class-wc-gzd-admin.php:648
6601
  msgid "Optional Email Content"
6602
  msgstr "Optionaler E-Mail Inhalt"
6603
 
6609
  "diese Seite zu bestimmen."
6610
 
6611
  # @ woocommerce-germanized
6612
+ #: woocommerce-germanized/includes/admin/class-wc-gzd-admin.php:671
6613
  msgid "Cart description"
6614
  msgstr "Warenkorbkurzbeschreibung"
6615
 
6616
  # @ woocommerce-germanized
6617
+ #: woocommerce-germanized/includes/admin/class-wc-gzd-admin.php:676
6618
  #: woocommerce-germanized/includes/api/class-wc-gzd-rest-products-controller.php:518
6619
  msgid "Defect description"
6620
  msgstr "Mängelbeschreibung"
6621
 
6622
  # @ woocommerce-germanized
6623
+ #: woocommerce-germanized/includes/admin/class-wc-gzd-admin.php:697
6624
  msgid ""
6625
  "This content will be shown as short product description within checkout and "
6626
  "emails."
6628
  "Dieser Inhalt wird während des Bezahlvorganges und in den E-Mails als "
6629
  "Produkt Kurzbeschreibung angezeigt."
6630
 
6631
+ #: woocommerce-germanized/includes/admin/class-wc-gzd-admin.php:707
6632
  #: woocommerce-germanized/includes/admin/meta-boxes/class-wc-gzd-meta-box-product-data-variable.php:377
6633
  msgid ""
6634
  "Inform your customers about product defects. This description will be shown "
16099
  # @ woocommerce-germanized
16100
  #~ msgctxt "trusted-shops"
16101
  #~ msgid ""
16102
+ #~ "This option will enable a Widgets which shows your Trusted Shops Reviews "
16103
  #~ "as a graphic. You may configure your Widgets <a href=\"%s\">here</a>."
16104
  #~ msgstr ""
16105
+ #~ "Diese Option aktiviert ein Widgets, mit dem du das Trusted Shops Review "
16106
+ #~ "Widgets in deinem Shop platzieren kannst. <a href=\"%s\">Hier</a> kannst "
16107
  #~ "du deine Widgets zuweisen."
16108
 
16109
  # @ woocommerce-germanized
16110
  #~ msgctxt "trusted-shops"
16111
+ #~ msgid "Enable Rich Snippets Widgets."
16112
+ #~ msgstr "Rich Snippets Widgets aktivieren"
16113
 
16114
  # @ woocommerce-germanized
16115
  #~ msgctxt "trusted-shops"
16116
  #~ msgid ""
16117
  #~ "This option will update your reviews received via Trusted Shops once per "
16118
+ #~ "day and enables a Widgets to show your reviews as Rich Snippets"
16119
  #~ msgstr ""
16120
  #~ "Diese Option bewirkt, dass deine über Trusted Shops empfangenen "
16121
+ #~ "Bewertungen als Rich Snippets im Shop als Widgets verfügbar sind. "
16122
 
16123
  # @ woocommerce-germanized
16124
  #~ msgctxt "trusted-shops"
includes/admin/class-wc-gzd-admin-customer.php CHANGED
@@ -91,7 +91,7 @@ class WC_GZD_Admin_Customer {
91
  </label>
92
  <?php if ( ! wc_gzd_is_customer_activated( $user->ID ) ) : ?>
93
  <br/> <a class="wc-gzd-resend-activation-link button button-secondary"
94
- href="<?php echo wp_nonce_url( add_query_arg( array( 'gzd-resend-activation' => 'yes' ) ), 'resend-activation-link' ); ?>"><?php _e( 'Resend activation link', 'woocommerce-germanized' ); ?></a>
95
  <?php endif; ?>
96
  </td>
97
  </tr>
91
  </label>
92
  <?php if ( ! wc_gzd_is_customer_activated( $user->ID ) ) : ?>
93
  <br/> <a class="wc-gzd-resend-activation-link button button-secondary"
94
+ href="<?php echo esc_url( wp_nonce_url( add_query_arg( array( 'gzd-resend-activation' => 'yes' ) ), 'resend-activation-link' ) ); ?>"><?php _e( 'Resend activation link', 'woocommerce-germanized' ); ?></a>
95
  <?php endif; ?>
96
  </td>
97
  </tr>
includes/admin/class-wc-gzd-admin-notices.php CHANGED
@@ -254,31 +254,32 @@ if ( ! class_exists( 'WC_GZD_Admin_Notices' ) ) :
254
  }
255
 
256
  public function check_notice_hide() {
257
-
258
  if ( ! current_user_can( 'manage_woocommerce' ) ) {
259
  return;
260
  }
261
 
262
- $notes = $this->get_notes();
 
263
 
264
- foreach( $notes as $note ) {
265
- $notice = 'wc-gzd-hide-' . str_replace( '_', '-', $note->get_name() ) . '-notice';
266
- $notice_deactivate = 'wc-gzd-disable-' . str_replace( '_', '-', $note->get_name() ) . '-notice';
267
 
268
- if ( isset( $_GET['notice'] ) && $_GET['notice'] === $notice && isset( $_GET['nonce'] ) && check_admin_referer( $notice, 'nonce' ) ) {
269
 
270
- $note->dismiss();
271
- $redirect_url = remove_query_arg( 'notice', remove_query_arg( 'nonce', $_SERVER['REQUEST_URI'] ) );
272
 
273
- wp_safe_redirect( $redirect_url );
274
- exit();
275
- } elseif ( isset( $_GET['notice'] ) && $_GET['notice'] === $notice_deactivate && isset( $_GET['nonce'] ) && check_admin_referer( $notice_deactivate, 'nonce' ) ) {
276
 
277
- $note->deactivate();
278
- $redirect_url = remove_query_arg( 'notice', remove_query_arg( 'nonce', $_SERVER['REQUEST_URI'] ) );
279
 
280
- wp_safe_redirect( $redirect_url );
281
- exit();
 
282
  }
283
  }
284
  }
254
  }
255
 
256
  public function check_notice_hide() {
 
257
  if ( ! current_user_can( 'manage_woocommerce' ) ) {
258
  return;
259
  }
260
 
261
+ if ( isset( $_GET['notice'] ) ) {
262
+ $notes = $this->get_notes();
263
 
264
+ foreach( $notes as $note ) {
265
+ $notice = 'wc-gzd-hide-' . str_replace( '_', '-', $note->get_name() ) . '-notice';
266
+ $notice_deactivate = 'wc-gzd-disable-' . str_replace( '_', '-', $note->get_name() ) . '-notice';
267
 
268
+ if ( $_GET['notice'] === $notice && isset( $_GET['nonce'] ) && check_admin_referer( $notice, 'nonce' ) ) {
269
 
270
+ $note->dismiss();
271
+ $redirect_url = remove_query_arg( 'notice', remove_query_arg( 'nonce', $_SERVER['REQUEST_URI'] ) );
272
 
273
+ wp_safe_redirect( esc_url_raw( $redirect_url ) );
274
+ exit();
275
+ } elseif ( $_GET['notice'] === $notice_deactivate && isset( $_GET['nonce'] ) && check_admin_referer( $notice_deactivate, 'nonce' ) ) {
276
 
277
+ $note->deactivate();
278
+ $redirect_url = remove_query_arg( 'notice', remove_query_arg( 'nonce', $_SERVER['REQUEST_URI'] ) );
279
 
280
+ wp_safe_redirect( esc_url_raw( $redirect_url ) );
281
+ exit();
282
+ }
283
  }
284
  }
285
  }
includes/admin/class-wc-gzd-admin-setup-wizard.php CHANGED
@@ -363,7 +363,7 @@ if ( ! class_exists( 'WC_GZD_Admin_Setup_Wizard' ) ) :
363
 
364
  protected function content() {
365
  ?>
366
- <form class="wc-gzd-setup-form" method="post" action="<?php echo admin_url( 'admin-post.php' ); ?>">
367
  <div class="wc-gzd-setup-content">
368
 
369
  <?php if ( $error_message = $this->get_error_message() ) : ?>
@@ -401,7 +401,7 @@ if ( ! class_exists( 'WC_GZD_Admin_Setup_Wizard' ) ) :
401
  <?php wp_nonce_field( 'wc-gzd-setup' ); ?>
402
 
403
  <?php if ( $current['order'] < sizeof( $this->steps ) ) : ?>
404
- <a class="wc-gzd-setup-link wc-gzd-setup-link-skip" href="<?php echo wp_nonce_url( add_query_arg( array( 'skip' => esc_attr( $this->step ) ), $this->get_step_url( $this->get_next_step() ) ), 'wc-gzd-setup-skip' ); ?>"><?php esc_html_e( 'Skip Step', 'woocommerce-germanized' ); ?></a>
405
  <?php endif; ?>
406
 
407
  <?php if ( isset( $current['button_next_link'] ) && ! empty( $current['button_next_link'] ) ) : ?>
@@ -581,7 +581,7 @@ if ( ! class_exists( 'WC_GZD_Admin_Setup_Wizard' ) ) :
581
  }
582
  }
583
 
584
- wp_safe_redirect( $redirect );
585
  exit();
586
  }
587
 
@@ -594,7 +594,7 @@ if ( ! class_exists( 'WC_GZD_Admin_Setup_Wizard' ) ) :
594
  $redirect = add_query_arg( array( 'encrypt-success' => wc_bool_to_string( $result ) ), $redirect );
595
  }
596
 
597
- wp_safe_redirect( $redirect );
598
  exit();
599
  }
600
 
@@ -618,7 +618,7 @@ if ( ! class_exists( 'WC_GZD_Admin_Setup_Wizard' ) ) :
618
  WC_GZD_Install::create_tax_rates();
619
  }
620
 
621
- wp_safe_redirect( $redirect );
622
  exit();
623
  }
624
 
@@ -637,7 +637,7 @@ if ( ! class_exists( 'WC_GZD_Admin_Setup_Wizard' ) ) :
637
  WC_GZD_Admin::instance()->disable_small_business_options();
638
  }
639
 
640
- wp_safe_redirect( $redirect );
641
  exit();
642
  }
643
  }
363
 
364
  protected function content() {
365
  ?>
366
+ <form class="wc-gzd-setup-form" method="post" action="<?php echo esc_url( admin_url( 'admin-post.php' ) ); ?>">
367
  <div class="wc-gzd-setup-content">
368
 
369
  <?php if ( $error_message = $this->get_error_message() ) : ?>
401
  <?php wp_nonce_field( 'wc-gzd-setup' ); ?>
402
 
403
  <?php if ( $current['order'] < sizeof( $this->steps ) ) : ?>
404
+ <a class="wc-gzd-setup-link wc-gzd-setup-link-skip" href="<?php echo esc_url( wp_nonce_url( add_query_arg( array( 'skip' => esc_attr( $this->step ) ), $this->get_step_url( $this->get_next_step() ) ) ), 'wc-gzd-setup-skip' ); ?>"><?php esc_html_e( 'Skip Step', 'woocommerce-germanized' ); ?></a>
405
  <?php endif; ?>
406
 
407
  <?php if ( isset( $current['button_next_link'] ) && ! empty( $current['button_next_link'] ) ) : ?>
581
  }
582
  }
583
 
584
+ wp_safe_redirect( esc_url_raw( $redirect ) );
585
  exit();
586
  }
587
 
594
  $redirect = add_query_arg( array( 'encrypt-success' => wc_bool_to_string( $result ) ), $redirect );
595
  }
596
 
597
+ wp_safe_redirect( esc_url_raw( $redirect ) );
598
  exit();
599
  }
600
 
618
  WC_GZD_Install::create_tax_rates();
619
  }
620
 
621
+ wp_safe_redirect( esc_url_raw( $redirect ) );
622
  exit();
623
  }
624
 
637
  WC_GZD_Admin::instance()->disable_small_business_options();
638
  }
639
 
640
+ wp_safe_redirect( esc_url_raw( $redirect ) );
641
  exit();
642
  }
643
  }
includes/admin/class-wc-gzd-admin-welcome.php CHANGED
@@ -128,9 +128,9 @@ class WC_GZD_Admin_Welcome {
128
  </div>
129
 
130
  <p class="woocommerce-actions wc-gzd-actions">
131
- <a href="<?php echo admin_url( 'admin.php?page=wc-settings&tab=germanized' ); ?>" target="_blank"
132
  class="wc-gzd-default-button button button-primary">Einstellungen</a>
133
- <a href="<?php echo admin_url( 'admin.php?page=wc-settings&tab=germanized&tutorial=yes' ); ?>"
134
  target="_blank" class="wc-gzd-default-button button button-primary">Tutorial</a>
135
  <a href="https://vendidero.de/woocommerce-germanized#upgrade" target="_blank" class="button wc-gzd-button wc-germanized-welcome-pro">Upgrade
136
  zur <span class="wc-gzd-pro wc-gzd-pro-outlined">pro</span> Version</a>
@@ -166,7 +166,7 @@ class WC_GZD_Admin_Welcome {
166
  </div>
167
  </div>
168
  <div class="col col-center">
169
- <img src="<?php echo WC_germanized()->plugin_url(); ?>/assets/images/sell-food.png" style="max-width: 450px;"/>
170
  </div>
171
  </div>
172
  </div>
@@ -176,7 +176,7 @@ class WC_GZD_Admin_Welcome {
176
 
177
  <div class="columns two-col">
178
  <div class="col col-center">
179
- <img src="<?php echo WC_germanized()->plugin_url(); ?>/assets/images/dpd.png" style="max-width: 450px;"/>
180
  </div>
181
  <div class="col">
182
  <p>
@@ -217,7 +217,7 @@ class WC_GZD_Admin_Welcome {
217
  </div>
218
  </div>
219
  <div class="col col-center">
220
- <img src="<?php echo WC_germanized()->plugin_url(); ?>/assets/images/edit-pdf-documents.png"/>
221
  </div>
222
  </div>
223
  </div>
@@ -227,7 +227,7 @@ class WC_GZD_Admin_Welcome {
227
 
228
  <div class="columns two-col">
229
  <div class="col col-center">
230
- <img src="<?php echo WC_germanized()->plugin_url(); ?>/assets/images/lexoffice.png"/>
231
  </div>
232
  <div class="col">
233
  <p>
@@ -261,7 +261,7 @@ class WC_GZD_Admin_Welcome {
261
  </div>
262
  </div>
263
  <div class="col col-center">
264
- <img src="<?php echo WC_germanized()->plugin_url(); ?>/assets/images/sevdesk.png"/>
265
  </div>
266
  </div>
267
  </div>
128
  </div>
129
 
130
  <p class="woocommerce-actions wc-gzd-actions">
131
+ <a href="<?php echo esc_url( admin_url( 'admin.php?page=wc-settings&tab=germanized' ) ); ?>" target="_blank"
132
  class="wc-gzd-default-button button button-primary">Einstellungen</a>
133
+ <a href="<?php echo esc_url( admin_url( 'admin.php?page=wc-settings&tab=germanized&tutorial=yes' ) ); ?>"
134
  target="_blank" class="wc-gzd-default-button button button-primary">Tutorial</a>
135
  <a href="https://vendidero.de/woocommerce-germanized#upgrade" target="_blank" class="button wc-gzd-button wc-germanized-welcome-pro">Upgrade
136
  zur <span class="wc-gzd-pro wc-gzd-pro-outlined">pro</span> Version</a>
166
  </div>
167
  </div>
168
  <div class="col col-center">
169
+ <img src="<?php echo esc_url( WC_germanized()->plugin_url() ); ?>/assets/images/sell-food.png" style="max-width: 450px;"/>
170
  </div>
171
  </div>
172
  </div>
176
 
177
  <div class="columns two-col">
178
  <div class="col col-center">
179
+ <img src="<?php echo esc_url( WC_germanized()->plugin_url() ); ?>/assets/images/dpd.png" style="max-width: 450px;"/>
180
  </div>
181
  <div class="col">
182
  <p>
217
  </div>
218
  </div>
219
  <div class="col col-center">
220
+ <img src="<?php echo esc_url( WC_germanized()->plugin_url() ); ?>/assets/images/edit-pdf-documents.png"/>
221
  </div>
222
  </div>
223
  </div>
227
 
228
  <div class="columns two-col">
229
  <div class="col col-center">
230
+ <img src="<?php echo esc_url( WC_germanized()->plugin_url() ); ?>/assets/images/lexoffice.png"/>
231
  </div>
232
  <div class="col">
233
  <p>
261
  </div>
262
  </div>
263
  <div class="col col-center">
264
+ <img src="<?php echo esc_url( WC_germanized()->plugin_url() ); ?>/assets/images/sevdesk.png"/>
265
  </div>
266
  </div>
267
  </div>
includes/admin/class-wc-gzd-admin.php CHANGED
@@ -44,8 +44,8 @@ class WC_GZD_Admin {
44
  }
45
 
46
  public function __construct() {
47
- add_action( 'add_meta_boxes', array( $this, 'add_legal_page_metabox' ) );
48
- add_action( 'add_meta_boxes', array( $this, 'register_product_meta_boxes' ) );
49
 
50
  add_action( 'admin_enqueue_scripts', array( $this, 'add_scripts' ) );
51
  add_action( 'save_post', array( $this, 'save_legal_page_content' ), 10, 3 );
@@ -123,7 +123,7 @@ class WC_GZD_Admin {
123
  if ( is_callable( array( $this, $method ) ) ) {
124
  $this->$method();
125
 
126
- wp_safe_redirect( admin_url( 'admin.php?page=wc-status&tab=germanized' ) );
127
  exit();
128
  }
129
  }
@@ -174,7 +174,7 @@ class WC_GZD_Admin {
174
 
175
  $this->import_dhl_settings();
176
 
177
- wp_safe_redirect( wc_gzd_get_shipping_provider( 'dhl' )->get_edit_link() );
178
  }
179
  }
180
  }
@@ -208,7 +208,7 @@ class WC_GZD_Admin {
208
 
209
  $this->import_internetmarke_settings();
210
 
211
- wp_safe_redirect( wc_gzd_get_shipping_provider( 'deutsche_post' )->get_edit_link() );
212
  }
213
  }
214
  }
@@ -234,8 +234,8 @@ class WC_GZD_Admin {
234
  ?>
235
  <tr valign="top">
236
  <th class="forminp forminp-image" colspan="2" id="<?php echo esc_attr( $value['id'] ); ?>">
237
- <a href="<?php echo esc_attr( $value['href'] ); ?>" target="_blank"><img
238
- src="<?php echo $value['img']; ?>"/></a>
239
  </th>
240
  </tr>
241
  <?php
@@ -631,25 +631,25 @@ class WC_GZD_Admin {
631
  do_action( 'woocommerce_gzd_admin_assets', $this, $admin_script_path, $suffix );
632
  }
633
 
634
- public function add_legal_page_metabox() {
635
- add_meta_box( 'wc-gzd-legal-page-email-content', __( 'Optional Email Content', 'woocommerce-germanized' ), array(
636
- $this,
637
- 'init_legal_page_metabox'
638
- ), 'page' );
639
- }
 
 
640
 
641
- public function init_legal_page_metabox( $post ) {
642
- $legal_pages = array(
643
- wc_get_page_id( 'revocation' ),
644
- wc_get_page_id( 'data_security' ),
645
- wc_get_page_id( 'imprint' ),
646
- wc_get_page_id( 'terms' )
647
- );
648
- if ( ! in_array( $post->ID, $legal_pages ) ) {
649
- echo '<style type="text/css">#wc-gzd-legal-page-email-content { display: none; }</style>';
650
 
651
- return;
 
652
  }
 
 
 
653
  echo '<p class="small">' . __( 'Add content which will be replacing default page content within emails.', 'woocommerce-germanized' ) . '</p>';
654
  wp_editor( htmlspecialchars_decode( get_post_meta( $post->ID, '_legal_text', true ) ), 'legal_page_email_content', array(
655
  'textarea_name' => '_legal_text',
@@ -657,10 +657,14 @@ class WC_GZD_Admin {
657
  ) );
658
  }
659
 
660
- public function register_product_meta_boxes() {
661
- global $post;
662
-
663
- if ( is_object( $post ) && 'product' === $post->post_type ) {
 
 
 
 
664
  $product = wc_get_product( $post );
665
 
666
  if ( $product && ( ! $product->is_type( 'variable' ) ) ) {
@@ -678,7 +682,6 @@ class WC_GZD_Admin {
678
  }
679
 
680
  public function save_legal_page_content( $post_id, $post, $update ) {
681
-
682
  if ( $post->post_type != 'page' ) {
683
  return;
684
  }
@@ -723,7 +726,7 @@ class WC_GZD_Admin {
723
  load_default_textdomain( $loaded_language );
724
 
725
  // Redirect to check for updates
726
- wp_safe_redirect( admin_url( 'update-core.php?force-check=1' ) );
727
  exit();
728
  }
729
 
@@ -777,7 +780,7 @@ class WC_GZD_Admin {
777
  do_action( 'woocommerce_gzd_deleted_text_options' );
778
 
779
  // Redirect to check for updates
780
- wp_safe_redirect( admin_url( 'admin.php?page=wc-settings&tab=germanized' ) );
781
  exit();
782
  }
783
 
@@ -808,7 +811,7 @@ class WC_GZD_Admin {
808
  }
809
 
810
  // Redirect to check for updates
811
- wp_safe_redirect( admin_url( sprintf( 'user-edit.php?user_id=%d&gzd-sent=yes', $user_id ) ) );
812
  }
813
  }
814
 
@@ -821,7 +824,7 @@ class WC_GZD_Admin {
821
  }
822
  }
823
 
824
- wp_safe_redirect( admin_url( 'admin.php?page=wc-settings&tab=germanized-general&section=disputes' ) );
825
  exit();
826
  }
827
 
@@ -853,7 +856,7 @@ class WC_GZD_Admin {
853
  }
854
 
855
  // Redirect to check for updates
856
- wp_safe_redirect( add_query_arg( array( 'added-encryption-key' => wc_bool_to_string( $result ) ), wp_get_referer() ) );
857
  exit();
858
  }
859
 
@@ -886,7 +889,7 @@ class WC_GZD_Admin {
886
  WC_GZD_Install::create_tax_rates();
887
 
888
  // Redirect to check for updates
889
- wp_safe_redirect( admin_url( 'admin.php?page=wc-settings&tab=tax&section=standard' ) );
890
  exit();
891
  }
892
 
44
  }
45
 
46
  public function __construct() {
47
+ add_action( 'add_meta_boxes', array( $this, 'add_legal_page_metabox' ), 10, 2 );
48
+ add_action( 'add_meta_boxes', array( $this, 'register_product_meta_boxes' ), 10, 2 );
49
 
50
  add_action( 'admin_enqueue_scripts', array( $this, 'add_scripts' ) );
51
  add_action( 'save_post', array( $this, 'save_legal_page_content' ), 10, 3 );
123
  if ( is_callable( array( $this, $method ) ) ) {
124
  $this->$method();
125
 
126
+ wp_safe_redirect( esc_url_raw( admin_url( 'admin.php?page=wc-status&tab=germanized' ) ) );
127
  exit();
128
  }
129
  }
174
 
175
  $this->import_dhl_settings();
176
 
177
+ wp_safe_redirect( esc_url_raw( wc_gzd_get_shipping_provider( 'dhl' )->get_edit_link() ) );
178
  }
179
  }
180
  }
208
 
209
  $this->import_internetmarke_settings();
210
 
211
+ wp_safe_redirect( esc_url_raw( wc_gzd_get_shipping_provider( 'deutsche_post' )->get_edit_link() ) );
212
  }
213
  }
214
  }
234
  ?>
235
  <tr valign="top">
236
  <th class="forminp forminp-image" colspan="2" id="<?php echo esc_attr( $value['id'] ); ?>">
237
+ <a href="<?php echo esc_url( $value['href'] ); ?>" target="_blank"><img
238
+ src="<?php echo esc_url( $value['img'] ); ?>"/></a>
239
  </th>
240
  </tr>
241
  <?php
631
  do_action( 'woocommerce_gzd_admin_assets', $this, $admin_script_path, $suffix );
632
  }
633
 
634
+ /**
635
+ * @param string $post_type
636
+ * @param WP_Post $post
637
+ *
638
+ * @return void
639
+ */
640
+ public function add_legal_page_metabox( $post_type, $post ) {
641
+ $legal_pages = array();
642
 
643
+ foreach( array_keys( wc_gzd_get_legal_pages( true ) ) as $page ) {
644
+ $legal_pages[] = wc_get_page_id( $page );
645
+ }
 
 
 
 
 
 
646
 
647
+ if ( $post && in_array( $post->ID, $legal_pages ) ) {
648
+ add_meta_box( 'wc-gzd-legal-page-email-content', __( 'Optional Email Content', 'woocommerce-germanized' ), array( $this, 'init_legal_page_metabox' ), 'page' );
649
  }
650
+ }
651
+
652
+ public function init_legal_page_metabox( $post ) {
653
  echo '<p class="small">' . __( 'Add content which will be replacing default page content within emails.', 'woocommerce-germanized' ) . '</p>';
654
  wp_editor( htmlspecialchars_decode( get_post_meta( $post->ID, '_legal_text', true ) ), 'legal_page_email_content', array(
655
  'textarea_name' => '_legal_text',
657
  ) );
658
  }
659
 
660
+ /**
661
+ * @param string $post_type
662
+ * @param WP_Post $post
663
+ *
664
+ * @return void
665
+ */
666
+ public function register_product_meta_boxes( $post_type, $post ) {
667
+ if ( 'product' === $post_type && $post ) {
668
  $product = wc_get_product( $post );
669
 
670
  if ( $product && ( ! $product->is_type( 'variable' ) ) ) {
682
  }
683
 
684
  public function save_legal_page_content( $post_id, $post, $update ) {
 
685
  if ( $post->post_type != 'page' ) {
686
  return;
687
  }
726
  load_default_textdomain( $loaded_language );
727
 
728
  // Redirect to check for updates
729
+ wp_safe_redirect( esc_url_raw( admin_url( 'update-core.php?force-check=1' ) ) );
730
  exit();
731
  }
732
 
780
  do_action( 'woocommerce_gzd_deleted_text_options' );
781
 
782
  // Redirect to check for updates
783
+ wp_safe_redirect( esc_url_raw( admin_url( 'admin.php?page=wc-settings&tab=germanized' ) ) );
784
  exit();
785
  }
786
 
811
  }
812
 
813
  // Redirect to check for updates
814
+ wp_safe_redirect( esc_url_raw( admin_url( sprintf( 'user-edit.php?user_id=%d&gzd-sent=yes', $user_id ) ) ) );
815
  }
816
  }
817
 
824
  }
825
  }
826
 
827
+ wp_safe_redirect( esc_url_raw( admin_url( 'admin.php?page=wc-settings&tab=germanized-general&section=disputes' ) ) );
828
  exit();
829
  }
830
 
856
  }
857
 
858
  // Redirect to check for updates
859
+ wp_safe_redirect( esc_url_raw( add_query_arg( array( 'added-encryption-key' => wc_bool_to_string( $result ) ), wp_get_referer() ) ) );
860
  exit();
861
  }
862
 
889
  WC_GZD_Install::create_tax_rates();
890
 
891
  // Redirect to check for updates
892
+ wp_safe_redirect( esc_url_raw( admin_url( 'admin.php?page=wc-settings&tab=tax&section=standard' ) ) );
893
  exit();
894
  }
895
 
includes/admin/meta-boxes/class-wc-gzd-meta-box-product-data-variable.php CHANGED
@@ -228,10 +228,6 @@ class WC_Germanized_Meta_Box_Product_Data_Variable {
228
 
229
  <div class="variable_pricing_unit">
230
  <p class="form-row form-row-first">
231
- <input type="hidden" name="variable_parent_unit_product[<?php echo $loop; ?>]" class="wc-gzd-parent-unit_product" value=""/>
232
- <input type="hidden" name="variable_parent_unit[<?php echo $loop; ?>]" class="wc-gzd-parent-unit" value=""/>
233
- <input type="hidden" name="variable_parent_unit_base[<?php echo $loop; ?>]" class="wc-gzd-parent-unit_base" value=""/>
234
-
235
  <label for="variable_unit_product"><?php echo __( 'Product Units', 'woocommerce-germanized' ); ?><?php echo wc_help_tip( __( 'Number of units included per default product price. Example: 1000 ml. Leave blank to use parent value.', 'woocommerce-germanized' ) ); ?></label>
236
  <input class="input-text wc_input_decimal" size="6" type="text"
237
  name="variable_unit_product[<?php echo $loop; ?>]"
@@ -436,9 +432,6 @@ class WC_Germanized_Meta_Box_Product_Data_Variable {
436
  '_sale_price_label' => '',
437
  '_sale_price_regular_label' => '',
438
  '_unit_price_sale' => '',
439
- '_parent_unit_product' => '',
440
- '_parent_unit' => '',
441
- '_parent_unit_base' => '',
442
  '_mini_desc' => '',
443
  '_defect_description' => '',
444
  '_service' => '',
@@ -473,6 +466,13 @@ class WC_Germanized_Meta_Box_Product_Data_Variable {
473
  $gzd_product = wc_gzd_get_product( $product );
474
  $gzd_parent_product = wc_gzd_get_product( $product_parent );
475
 
 
 
 
 
 
 
 
476
  // Check if parent has unit_base + unit otherwise ignore data
477
  if ( empty( $data['_parent_unit'] ) || empty( $data['_parent_unit_base'] ) ) {
478
  $data['_unit_price_auto'] = '';
228
 
229
  <div class="variable_pricing_unit">
230
  <p class="form-row form-row-first">
 
 
 
 
231
  <label for="variable_unit_product"><?php echo __( 'Product Units', 'woocommerce-germanized' ); ?><?php echo wc_help_tip( __( 'Number of units included per default product price. Example: 1000 ml. Leave blank to use parent value.', 'woocommerce-germanized' ) ); ?></label>
232
  <input class="input-text wc_input_decimal" size="6" type="text"
233
  name="variable_unit_product[<?php echo $loop; ?>]"
432
  '_sale_price_label' => '',
433
  '_sale_price_regular_label' => '',
434
  '_unit_price_sale' => '',
 
 
 
435
  '_mini_desc' => '',
436
  '_defect_description' => '',
437
  '_service' => '',
466
  $gzd_product = wc_gzd_get_product( $product );
467
  $gzd_parent_product = wc_gzd_get_product( $product_parent );
468
 
469
+ /**
470
+ * Parent unit data is passed as global (non-variation-level) data.
471
+ */
472
+ $data['_parent_unit_product'] = isset( $_POST['_unit_product'] ) ? wc_clean( $_POST ) : $gzd_parent_product->get_unit_product( 'edit' );
473
+ $data['_parent_unit'] = isset( $_POST['_unit'] ) ? wc_clean( $_POST ) : $gzd_parent_product->get_unit( 'edit' );
474
+ $data['_parent_unit_base'] = isset( $_POST['_unit_base'] ) ? wc_clean( $_POST ) : $gzd_parent_product->get_unit_base( 'edit' );
475
+
476
  // Check if parent has unit_base + unit otherwise ignore data
477
  if ( empty( $data['_parent_unit'] ) || empty( $data['_parent_unit_base'] ) ) {
478
  $data['_unit_price_auto'] = '';
includes/admin/notes/class-wc-gzd-admin-note-virtual-vat.php CHANGED
@@ -26,7 +26,7 @@ class WC_GZD_Admin_Note_Virtual_Vat extends WC_GZD_Admin_Note {
26
  }
27
 
28
  public function get_content() {
29
- return sprintf( __( 'Seems like you activated the <a href="%1$s">virtual VAT option</a> (or one of your products uses the custom <code>virtual-rate</code> tax class) which is now deprecated as the OSS procedure replaces the MOSS procedure. Please consider <a href="%2$s">migrating to the OSS procedure</a>, if applicable.', 'woocommerce-germanized' ), admin_url( 'admin.php?page=wc-settings&tab=germanized-taxes' ), admin_url( 'admin.php?page=wc-settings&tab=germanized-oss' ) );
30
  }
31
 
32
  public function get_actions() {
26
  }
27
 
28
  public function get_content() {
29
+ return sprintf( __( 'Seems like you activated the <a href="%1$s">virtual VAT option</a> (or one of your products uses the custom <code>virtual-rate</code> tax class) which is now deprecated as the OSS procedure replaces the MOSS procedure. Please consider <a href="%2$s">migrating to the OSS procedure</a>, if applicable.', 'woocommerce-germanized' ), esc_url( admin_url( 'admin.php?page=wc-settings&tab=germanized-taxes' ) ), esc_url( admin_url( 'admin.php?page=wc-settings&tab=germanized-oss' ) ) );
30
  }
31
 
32
  public function get_actions() {
includes/admin/notes/class-wc-gzd-admin-note.php CHANGED
@@ -267,13 +267,13 @@ abstract class WC_GZD_Admin_Note {
267
  public function get_dismiss_url() {
268
  $name = str_replace( '_', '-', $this->get_name() );
269
 
270
- return add_query_arg( 'notice', 'wc-gzd-hide-' . $name . '-notice', add_query_arg( 'nonce', wp_create_nonce( 'wc-gzd-hide-' . $name . '-notice' ) ) );
271
  }
272
 
273
  public function get_deactivate_url() {
274
  $name = str_replace( '_', '-', $this->get_name() );
275
 
276
- return add_query_arg( 'notice', 'wc-gzd-disable-' . $name . '-notice', add_query_arg( 'nonce', wp_create_nonce( 'wc-gzd-disable-' . $name . '-notice' ) ) );
277
  }
278
 
279
  protected function get_dismiss_option_name() {
267
  public function get_dismiss_url() {
268
  $name = str_replace( '_', '-', $this->get_name() );
269
 
270
+ return esc_url_raw( add_query_arg( 'notice', 'wc-gzd-hide-' . $name . '-notice', add_query_arg( 'nonce', wp_create_nonce( 'wc-gzd-hide-' . $name . '-notice' ) ) ) );
271
  }
272
 
273
  public function get_deactivate_url() {
274
  $name = str_replace( '_', '-', $this->get_name() );
275
 
276
+ return esc_url_raw( add_query_arg( 'notice', 'wc-gzd-disable-' . $name . '-notice', add_query_arg( 'nonce', wp_create_nonce( 'wc-gzd-disable-' . $name . '-notice' ) ) ) );
277
  }
278
 
279
  protected function get_dismiss_option_name() {
includes/admin/settings/abstract-wc-gzd-settings-tab.php CHANGED
@@ -119,7 +119,7 @@ abstract class WC_GZD_Settings_Tab extends WC_Settings_Page {
119
  $array_keys = array_keys( $sections );
120
 
121
  foreach ( $sections as $id => $label ) {
122
- $url = $this->get_section_url( $id );
123
  $class = ( $current_section === $id ? 'current' : '' );
124
  $separator = ( end( $array_keys ) === $id ? '' : '|' );
125
  $text = esc_html( $label ) . ( $this->section_is_pro( $id ) && ! WC_germanized()->is_pro() ? '<span class="wc-gzd-pro wc-gzd-pro-outlined">pro</span>' : '' );
119
  $array_keys = array_keys( $sections );
120
 
121
  foreach ( $sections as $id => $label ) {
122
+ $url = esc_url( $this->get_section_url( $id ) );
123
  $class = ( $current_section === $id ? 'current' : '' );
124
  $separator = ( end( $array_keys ) === $id ? '' : '|' );
125
  $text = esc_html( $label ) . ( $this->section_is_pro( $id ) && ! WC_germanized()->is_pro() ? '<span class="wc-gzd-pro wc-gzd-pro-outlined">pro</span>' : '' );
includes/admin/settings/class-wc-gzd-settings-germanized.php CHANGED
@@ -70,7 +70,7 @@ class WC_GZD_Settings_Germanized extends WC_Settings_Page {
70
 
71
  $new_breadcrumbs = array(
72
  array(
73
- add_query_arg( 'page', 'wc-settings', 'admin.php' ),
74
  $core_pages['wc-settings']['title']
75
  ),
76
  );
@@ -79,7 +79,7 @@ class WC_GZD_Settings_Germanized extends WC_Settings_Page {
79
  $new_breadcrumbs[] = $this->label;
80
  } else {
81
  $new_breadcrumbs[] = array(
82
- add_query_arg( array( 'page' => 'wc-settings', 'tab' => 'germanized' ), 'admin.php' ),
83
  $this->label
84
  );
85
  }
70
 
71
  $new_breadcrumbs = array(
72
  array(
73
+ esc_url_raw( add_query_arg( 'page', 'wc-settings', 'admin.php' ) ),
74
  $core_pages['wc-settings']['title']
75
  ),
76
  );
79
  $new_breadcrumbs[] = $this->label;
80
  } else {
81
  $new_breadcrumbs[] = array(
82
+ esc_url_raw( add_query_arg( array( 'page' => 'wc-settings', 'tab' => 'germanized' ), 'admin.php' ) ),
83
  $this->label
84
  );
85
  }
includes/admin/settings/class-wc-gzd-settings-tab-general.php CHANGED
@@ -224,7 +224,7 @@ class WC_GZD_Settings_Tab_General extends WC_GZD_Settings_Tab {
224
  'id' => 'woocommerce_gzd_complaints_procedure_status',
225
  'type' => 'html',
226
  'desc_tip' => false,
227
- 'html' => '<p><span class="wc-gzd-status-text wc-gzd-text-' . ( $is_complaints_shortcode_inserted ? 'green' : 'red' ) . '"> ' . ( $is_complaints_shortcode_inserted ? __( 'Found', 'woocommerce-germanized' ) : sprintf( __( 'Not found within %s', 'woocommerce-germanized' ), implode( ', ', $complaints_shortcode_missing ) ) ) . '</span> ' . ( ! $is_complaints_shortcode_inserted ? '<a class="button button-secondary" style="margin-left: 1em" href="' . wp_nonce_url( add_query_arg( array( 'wc-gzd-check-complaints_shortcode_append' => true ) ), 'wc-gzd-check-complaints_shortcode_append' ) . '">' . __( 'Append it now', 'woocommerce-germanized' ) . '</a></p>' : '' ) . '<div class="wc-gzd-additional-desc">' . $additional_shortcode_info . '</div>',
228
  ),
229
 
230
  array( 'type' => 'sectionend', 'id' => 'complaints_options' ),
224
  'id' => 'woocommerce_gzd_complaints_procedure_status',
225
  'type' => 'html',
226
  'desc_tip' => false,
227
+ 'html' => '<p><span class="wc-gzd-status-text wc-gzd-text-' . ( $is_complaints_shortcode_inserted ? 'green' : 'red' ) . '"> ' . ( $is_complaints_shortcode_inserted ? __( 'Found', 'woocommerce-germanized' ) : sprintf( __( 'Not found within %s', 'woocommerce-germanized' ), implode( ', ', $complaints_shortcode_missing ) ) ) . '</span> ' . ( ! $is_complaints_shortcode_inserted ? '<a class="button button-secondary" style="margin-left: 1em" href="' . esc_url( wp_nonce_url( add_query_arg( array( 'wc-gzd-check-complaints_shortcode_append' => true ) ), 'wc-gzd-check-complaints_shortcode_append' ) ) . '">' . __( 'Append it now', 'woocommerce-germanized' ) . '</a></p>' : '' ) . '<div class="wc-gzd-additional-desc">' . $additional_shortcode_info . '</div>',
228
  ),
229
 
230
  array( 'type' => 'sectionend', 'id' => 'complaints_options' ),
includes/admin/settings/class-wc-gzd-settings-tab-shipments.php CHANGED
@@ -45,7 +45,7 @@ class WC_GZD_Settings_Tab_Shipments extends WC_GZD_Settings_Tab {
45
  $label = parent::get_breadcrumb_label( $label );
46
 
47
  if ( empty( $current_section ) ) {
48
- return $label . '<a href="' . admin_url( 'admin.php?page=wc-gzd-shipments' ) . '" class="page-title-action" target="_blank">' . _x( 'Manage', 'shipments', 'woocommerce-germanized' ) . '</a>';
49
  } else {
50
  return $label;
51
  }
45
  $label = parent::get_breadcrumb_label( $label );
46
 
47
  if ( empty( $current_section ) ) {
48
+ return $label . '<a href="' . esc_url( admin_url( 'admin.php?page=wc-gzd-shipments' ) ) . '" class="page-title-action" target="_blank">' . _x( 'Manage', 'shipments', 'woocommerce-germanized' ) . '</a>';
49
  } else {
50
  return $label;
51
  }
includes/admin/settings/class-wc-gzd-settings-tab-shipping-provider.php CHANGED
@@ -58,7 +58,7 @@ class WC_GZD_Settings_Tab_Shipping_Provider extends WC_GZD_Settings_Tab {
58
  $provider_slug = sanitize_title( $provider->get_name() );
59
  }
60
 
61
- return add_query_arg( array( 'section' => sanitize_title( $section ), 'tab' => $this->id, 'provider' => $provider_slug ), admin_url( 'admin.php?page=wc-settings' ) );
62
  }
63
 
64
  protected function get_breadcrumb() {
58
  $provider_slug = sanitize_title( $provider->get_name() );
59
  }
60
 
61
+ return esc_url_raw( add_query_arg( array( 'section' => sanitize_title( $section ), 'tab' => $this->id, 'provider' => $provider_slug ), admin_url( 'admin.php?page=wc-settings' ) ) );
62
  }
63
 
64
  protected function get_breadcrumb() {
includes/admin/settings/class-wc-gzd-settings-tab-shopmarks.php CHANGED
@@ -524,7 +524,7 @@ class WC_GZD_Settings_Tab_Shopmarks extends WC_GZD_Settings_Tab {
524
  'type' => 'select',
525
  'class' => 'wc-enhanced-select',
526
  'options' => $delivery_terms,
527
- 'desc' => '<a href="' . admin_url( 'edit-tags.php?taxonomy=product_delivery_time&post_type=product' ) . '">' . __( 'Manage Delivery Times', 'woocommerce-germanized' ) . '</a>',
528
  ),
529
  array(
530
  'title' => __( 'Fallback EU Countries', 'woocommerce-germanized' ),
@@ -535,7 +535,7 @@ class WC_GZD_Settings_Tab_Shopmarks extends WC_GZD_Settings_Tab {
535
  'type' => 'select',
536
  'class' => 'wc-enhanced-select',
537
  'options' => $delivery_terms_per_country,
538
- 'desc' => '<a href="' . admin_url( 'edit-tags.php?taxonomy=product_delivery_time&post_type=product' ) . '">' . __( 'Manage Delivery Times', 'woocommerce-germanized' ) . '</a>',
539
  ),
540
  array(
541
  'title' => __( 'Fallback Third Countries', 'woocommerce-germanized' ),
@@ -546,7 +546,7 @@ class WC_GZD_Settings_Tab_Shopmarks extends WC_GZD_Settings_Tab {
546
  'type' => 'select',
547
  'class' => 'wc-enhanced-select',
548
  'options' => $delivery_terms_per_country,
549
- 'desc' => '<a href="' . admin_url( 'edit-tags.php?taxonomy=product_delivery_time&post_type=product' ) . '">' . __( 'Manage Delivery Times', 'woocommerce-germanized' ) . '</a>',
550
  ),
551
  array(
552
  'title' => __( 'Format', 'woocommerce-germanized' ),
@@ -686,7 +686,7 @@ class WC_GZD_Settings_Tab_Shopmarks extends WC_GZD_Settings_Tab {
686
  'type' => 'select',
687
  'class' => 'wc-enhanced-select',
688
  'options' => $labels,
689
- 'desc' => '<a href="' . admin_url( 'edit-tags.php?taxonomy=product_price_label&post_type=product' ) . '">' . __( 'Manage Price Labels', 'woocommerce-germanized' ) . '</a><div class="wc-gzd-additional-desc">' . __( 'Choose whether you would like to have a default sale price label to inform the customer about the regular price (e.g. Recommended Retail Price).', 'woocommerce-germanized' ) . '</div>',
690
  ),
691
  array(
692
  'title' => __( 'Fallback Regular Label', 'woocommerce-germanized' ),
@@ -696,7 +696,7 @@ class WC_GZD_Settings_Tab_Shopmarks extends WC_GZD_Settings_Tab {
696
  'type' => 'select',
697
  'class' => 'wc-enhanced-select',
698
  'options' => $labels,
699
- 'desc' => '<a href="' . admin_url( 'edit-tags.php?taxonomy=product_price_label&post_type=product' ) . '">' . __( 'Manage Price Labels', 'woocommerce-germanized' ) . '</a><div class="wc-gzd-additional-desc">' . __( 'Choose whether you would like to have a default sale price regular label to inform the customer about the sale price (e.g. New Price).', 'woocommerce-germanized' ) . '</div>',
700
  ),
701
 
702
  array(
524
  'type' => 'select',
525
  'class' => 'wc-enhanced-select',
526
  'options' => $delivery_terms,
527
+ 'desc' => '<a href="' . esc_url( admin_url( 'edit-tags.php?taxonomy=product_delivery_time&post_type=product' ) ) . '">' . __( 'Manage Delivery Times', 'woocommerce-germanized' ) . '</a>',
528
  ),
529
  array(
530
  'title' => __( 'Fallback EU Countries', 'woocommerce-germanized' ),
535
  'type' => 'select',
536
  'class' => 'wc-enhanced-select',
537
  'options' => $delivery_terms_per_country,
538
+ 'desc' => '<a href="' . esc_url( admin_url( 'edit-tags.php?taxonomy=product_delivery_time&post_type=product' ) ) . '">' . __( 'Manage Delivery Times', 'woocommerce-germanized' ) . '</a>',
539
  ),
540
  array(
541
  'title' => __( 'Fallback Third Countries', 'woocommerce-germanized' ),
546
  'type' => 'select',
547
  'class' => 'wc-enhanced-select',
548
  'options' => $delivery_terms_per_country,
549
+ 'desc' => '<a href="' . esc_url( admin_url( 'edit-tags.php?taxonomy=product_delivery_time&post_type=product' ) ) . '">' . __( 'Manage Delivery Times', 'woocommerce-germanized' ) . '</a>',
550
  ),
551
  array(
552
  'title' => __( 'Format', 'woocommerce-germanized' ),
686
  'type' => 'select',
687
  'class' => 'wc-enhanced-select',
688
  'options' => $labels,
689
+ 'desc' => '<a href="' . esc_url( admin_url( 'edit-tags.php?taxonomy=product_price_label&post_type=product' ) ) . '">' . __( 'Manage Price Labels', 'woocommerce-germanized' ) . '</a><div class="wc-gzd-additional-desc">' . __( 'Choose whether you would like to have a default sale price label to inform the customer about the regular price (e.g. Recommended Retail Price).', 'woocommerce-germanized' ) . '</div>',
690
  ),
691
  array(
692
  'title' => __( 'Fallback Regular Label', 'woocommerce-germanized' ),
696
  'type' => 'select',
697
  'class' => 'wc-enhanced-select',
698
  'options' => $labels,
699
+ 'desc' => '<a href="' . esc_url( admin_url( 'edit-tags.php?taxonomy=product_price_label&post_type=product' ) ) . '">' . __( 'Manage Price Labels', 'woocommerce-germanized' ) . '</a><div class="wc-gzd-additional-desc">' . __( 'Choose whether you would like to have a default sale price regular label to inform the customer about the sale price (e.g. New Price).', 'woocommerce-germanized' ) . '</div>',
700
  ),
701
 
702
  array(
includes/admin/settings/views/html-admin-page-checkbox-sidebar.php CHANGED
@@ -12,7 +12,7 @@ if ( ! defined( 'ABSPATH' ) ) {
12
  <h3>100% Gestaltungsfreiheit</h3>
13
  <div class="wc-gzd-sidebar-img">
14
  <a href="https://vendidero.de/woocommerce-germanized" target="_blank">
15
- <img class="browser" src="<?php echo WC_germanized()->plugin_url(); ?>/assets/images/new-checkbox.png"/>
16
  </a>
17
  </div>
18
  <p>Mit der <span class="wc-gzd-pro">pro</span> Version von Germanized bekommst du jetzt noch mehr
12
  <h3>100% Gestaltungsfreiheit</h3>
13
  <div class="wc-gzd-sidebar-img">
14
  <a href="https://vendidero.de/woocommerce-germanized" target="_blank">
15
+ <img class="browser" src="<?php echo esc_url( WC_germanized()->plugin_url() ); ?>/assets/images/new-checkbox.png"/>
16
  </a>
17
  </div>
18
  <p>Mit der <span class="wc-gzd-pro">pro</span> Version von Germanized bekommst du jetzt noch mehr
includes/admin/settings/views/html-admin-settings-tabs.php CHANGED
@@ -15,7 +15,7 @@ defined( 'ABSPATH' ) || exit;
15
  <a class="page-title-action" href="<?php echo ( is_multisite() ? network_admin_url( 'index.php?page=vendidero' ) : admin_url( 'index.php?page=vendidero' ) ); ?>"><?php _e( 'Manage license', 'woocommerce-germanized' ); ?></a>
16
  <?php endif; ?>
17
 
18
- <a class="page-title-action" href="<?php echo add_query_arg( array( 'tutorial' => 'yes' ) ); ?>"><?php _e( 'Start tutorial', 'woocommerce-germanized' ); ?></a>
19
  </h2>
20
 
21
  <p class="tab-description">
15
  <a class="page-title-action" href="<?php echo ( is_multisite() ? network_admin_url( 'index.php?page=vendidero' ) : admin_url( 'index.php?page=vendidero' ) ); ?>"><?php _e( 'Manage license', 'woocommerce-germanized' ); ?></a>
16
  <?php endif; ?>
17
 
18
+ <a class="page-title-action" href="<?php echo esc_url( add_query_arg( array( 'tutorial' => 'yes' ) ) ); ?>"><?php _e( 'Start tutorial', 'woocommerce-germanized' ); ?></a>
19
  </h2>
20
 
21
  <p class="tab-description">
includes/admin/views/html-page-status-germanized.php CHANGED
@@ -244,34 +244,34 @@ if ( ! defined( 'ABSPATH' ) ) {
244
  <td><?php _e( 'German Formal', 'woocommerce-germanized' ); ?></td>
245
  <td class="help"><?php echo wc_help_tip( esc_attr( __( 'This option will install and activate German formal as your WordPress and WooCommerce language.', 'woocommerce-germanized' ) ) ); ?></td>
246
  <td>
247
- <a href="<?php echo wp_nonce_url( add_query_arg( array( 'wc-gzd-check-language_install' => 'de_DE_formal' ) ), 'wc-gzd-check-language_install' ); ?>"
248
  class="button button-secondary"><?php _e( 'Install de_DE_formal', 'woocommerce-germanized' ); ?></a></td>
249
  </tr>
250
  <tr>
251
  <td><?php _e( 'Text Options', 'woocommerce-germanized' ); ?></td>
252
  <td class="help"><?php echo wc_help_tip( esc_attr( __( 'This option removes custom Germanized text options (e.g. Pay-Button-Text) and installs default options. You may use this options to reinstall text options e.g. after a language switch.', 'woocommerce-germanized' ) ) ); ?></td>
253
  <td>
254
- <a href="<?php echo wp_nonce_url( add_query_arg( array( 'wc-gzd-check-text_options_deletion' => true ) ), 'wc-gzd-check-text_options_deletion' ); ?>"
255
  class="button button-secondary"><?php _e( 'Delete text options', 'woocommerce-germanized' ); ?></a></td>
256
  </tr>
257
  <tr>
258
  <td><?php _e( 'Renew EU VAT Rates', 'woocommerce-germanized' ); ?></td>
259
  <td class="help"><?php echo wc_help_tip( esc_attr( __( 'Insert VAT rates for EU countries based on your current OSS participation status. This option deletes all current rates before inserting.', 'woocommerce-germanized' ) ) ); ?></td>
260
  <td>
261
- <a href="<?php echo wp_nonce_url( add_query_arg( array( 'wc-gzd-check-insert_vat_rates' => true ) ), 'wc-gzd-check-insert_vat_rates' ); ?>"
262
  class="button button-secondary"><?php _e( 'Renew VAT Rates', 'woocommerce-germanized' ); ?></a></td>
263
  </tr>
264
  <tr>
265
  <td><?php _e( 'Disable notices', 'woocommerce-germanized' ); ?></td>
266
  <td class="help"><?php echo wc_help_tip( esc_attr( __( 'Germanized might ask you to leave a review or notices you of using a possibly unsupported theme. If you want to disable these notices, check this option.', 'woocommerce-germanized' ) ) ); ?></td>
267
- <td><a href="<?php echo wp_nonce_url( add_query_arg( array( 'wc-gzd-check-disable_notices' => true ) ), 'wc-gzd-check-disable_notices' ); ?>"
268
  class="button button-secondary"><?php echo 'yes' === get_option( 'woocommerce_gzd_disable_notices' ) ? __( 'Enable notices', 'woocommerce-germanized' ) : __( 'Disable notices', 'woocommerce-germanized' ); ?></a>
269
  </td>
270
  </tr>
271
  <tr>
272
  <td><?php _e( 'Extended debug mode', 'woocommerce-germanized' ); ?></td>
273
  <td class="help"><?php echo wc_help_tip( esc_attr( __( 'Enable/disable extended debug mode via log files. Check your logs via WooCommerce > Status > Logs.', 'woocommerce-germanized' ) ) ); ?></td>
274
- <td><a href="<?php echo wp_nonce_url( add_query_arg( array( 'wc-gzd-check-enable_debug_mode' => true ) ), 'wc-gzd-check-enable_debug_mode' ); ?>" class="button button-secondary"><?php echo 'yes' === get_option( 'woocommerce_gzd_extended_debug_mode' ) ? __( 'Disable debug mode', 'woocommerce-germanized' ) : __( 'Enable debug mode', 'woocommerce-germanized' ); ?></a>
275
  </td>
276
  </tr>
277
  <?php if ( class_exists( 'WC_GZD_Secret_Box_Helper' ) && ! WC_GZD_Secret_Box_Helper::has_valid_encryption_key() ) : ?>
@@ -280,7 +280,7 @@ if ( ! defined( 'ABSPATH' ) ) {
280
  <td class="help"></td>
281
  <td><?php echo WC_GZD_Secret_Box_Helper::get_encryption_key_notice(); ?>
282
  <?php if ( WC_GZD_Secret_Box_Helper::supports_auto_insert() ) : ?>
283
- <a class="button button-primary" href="<?php echo wp_nonce_url( add_query_arg( array( 'wc-gzd-check-encryption_key_insert' => true ) ), 'wc-gzd-check-encryption_key_insert' ); ?>"><?php _e( 'Auto insert', 'woocommerce-germanized' ); ?></a>
284
  <?php endif; ?>
285
  <a class="button button-secondary" href="https://vendidero.de/dokument/verschluesselung-sensibler-daten" target="_blank"><?php _e( 'Learn more', 'woocommerce-germanized' ); ?></a>
286
  </td>
244
  <td><?php _e( 'German Formal', 'woocommerce-germanized' ); ?></td>
245
  <td class="help"><?php echo wc_help_tip( esc_attr( __( 'This option will install and activate German formal as your WordPress and WooCommerce language.', 'woocommerce-germanized' ) ) ); ?></td>
246
  <td>
247
+ <a href="<?php echo esc_url( wp_nonce_url( add_query_arg( array( 'wc-gzd-check-language_install' => 'de_DE_formal' ) ), 'wc-gzd-check-language_install' ) ); ?>"
248
  class="button button-secondary"><?php _e( 'Install de_DE_formal', 'woocommerce-germanized' ); ?></a></td>
249
  </tr>
250
  <tr>
251
  <td><?php _e( 'Text Options', 'woocommerce-germanized' ); ?></td>
252
  <td class="help"><?php echo wc_help_tip( esc_attr( __( 'This option removes custom Germanized text options (e.g. Pay-Button-Text) and installs default options. You may use this options to reinstall text options e.g. after a language switch.', 'woocommerce-germanized' ) ) ); ?></td>
253
  <td>
254
+ <a href="<?php echo esc_url( wp_nonce_url( add_query_arg( array( 'wc-gzd-check-text_options_deletion' => true ) ), 'wc-gzd-check-text_options_deletion' ) ); ?>"
255
  class="button button-secondary"><?php _e( 'Delete text options', 'woocommerce-germanized' ); ?></a></td>
256
  </tr>
257
  <tr>
258
  <td><?php _e( 'Renew EU VAT Rates', 'woocommerce-germanized' ); ?></td>
259
  <td class="help"><?php echo wc_help_tip( esc_attr( __( 'Insert VAT rates for EU countries based on your current OSS participation status. This option deletes all current rates before inserting.', 'woocommerce-germanized' ) ) ); ?></td>
260
  <td>
261
+ <a href="<?php echo esc_url( wp_nonce_url( add_query_arg( array( 'wc-gzd-check-insert_vat_rates' => true ) ), 'wc-gzd-check-insert_vat_rates' ) ); ?>"
262
  class="button button-secondary"><?php _e( 'Renew VAT Rates', 'woocommerce-germanized' ); ?></a></td>
263
  </tr>
264
  <tr>
265
  <td><?php _e( 'Disable notices', 'woocommerce-germanized' ); ?></td>
266
  <td class="help"><?php echo wc_help_tip( esc_attr( __( 'Germanized might ask you to leave a review or notices you of using a possibly unsupported theme. If you want to disable these notices, check this option.', 'woocommerce-germanized' ) ) ); ?></td>
267
+ <td><a href="<?php echo esc_url( wp_nonce_url( add_query_arg( array( 'wc-gzd-check-disable_notices' => true ) ), 'wc-gzd-check-disable_notices' ) ); ?>"
268
  class="button button-secondary"><?php echo 'yes' === get_option( 'woocommerce_gzd_disable_notices' ) ? __( 'Enable notices', 'woocommerce-germanized' ) : __( 'Disable notices', 'woocommerce-germanized' ); ?></a>
269
  </td>
270
  </tr>
271
  <tr>
272
  <td><?php _e( 'Extended debug mode', 'woocommerce-germanized' ); ?></td>
273
  <td class="help"><?php echo wc_help_tip( esc_attr( __( 'Enable/disable extended debug mode via log files. Check your logs via WooCommerce > Status > Logs.', 'woocommerce-germanized' ) ) ); ?></td>
274
+ <td><a href="<?php echo esc_url( wp_nonce_url( add_query_arg( array( 'wc-gzd-check-enable_debug_mode' => true ) ), 'wc-gzd-check-enable_debug_mode' ) ); ?>" class="button button-secondary"><?php echo 'yes' === get_option( 'woocommerce_gzd_extended_debug_mode' ) ? __( 'Disable debug mode', 'woocommerce-germanized' ) : __( 'Enable debug mode', 'woocommerce-germanized' ); ?></a>
275
  </td>
276
  </tr>
277
  <?php if ( class_exists( 'WC_GZD_Secret_Box_Helper' ) && ! WC_GZD_Secret_Box_Helper::has_valid_encryption_key() ) : ?>
280
  <td class="help"></td>
281
  <td><?php echo WC_GZD_Secret_Box_Helper::get_encryption_key_notice(); ?>
282
  <?php if ( WC_GZD_Secret_Box_Helper::supports_auto_insert() ) : ?>
283
+ <a class="button button-primary" href="<?php echo esc_url( wp_nonce_url( add_query_arg( array( 'wc-gzd-check-encryption_key_insert' => true ) ), 'wc-gzd-check-encryption_key_insert' ) ); ?>"><?php _e( 'Auto insert', 'woocommerce-germanized' ); ?></a>
284
  <?php endif; ?>
285
  <a class="button button-secondary" href="https://vendidero.de/dokument/verschluesselung-sensibler-daten" target="_blank"><?php _e( 'Learn more', 'woocommerce-germanized' ); ?></a>
286
  </td>
includes/admin/views/html-settings-pro.php CHANGED
@@ -26,7 +26,7 @@ global $current_section;
26
  target="_blank"><?php _e( 'Upgrade now', 'woocommerce-germanized' ); ?></a></p>
27
  </div>
28
  <a href="https://vendidero.de/woocommerce-germanized" target="_blank">
29
- <img src="<?php echo WC_Germanized()->plugin_url(); ?>/assets/images/pro/settings-<?php echo $current_section; ?>.png?v=<?php echo WC_germanized()->version; ?>"/>
30
  </a>
31
  </div>
32
  </div>
26
  target="_blank"><?php _e( 'Upgrade now', 'woocommerce-germanized' ); ?></a></p>
27
  </div>
28
  <a href="https://vendidero.de/woocommerce-germanized" target="_blank">
29
+ <img src="<?php echo esc_url( WC_Germanized()->plugin_url() ); ?>/assets/images/pro/settings-<?php echo $current_section; ?>.png?v=<?php echo WC_germanized()->version; ?>"/>
30
  </a>
31
  </div>
32
  </div>
includes/class-wc-gzd-checkout.php CHANGED
@@ -418,7 +418,7 @@ class WC_GZD_Checkout {
418
  *
419
  */
420
  if ( strpos( $url, 'pay_for_order' ) !== false && apply_filters( 'woocommerce_gzd_enable_force_pay_order', true, $order ) ) {
421
- $url = add_query_arg( array( 'force_pay_order' => true ), $url );
422
  }
423
 
424
  return $url;
@@ -468,7 +468,7 @@ class WC_GZD_Checkout {
468
  public function maybe_disable_force_pay_script() {
469
  // Make sure we are not retrying to redirect if an error ocurred
470
  if ( wc_notice_count( 'error' ) > 0 ) {
471
- wp_safe_redirect( remove_query_arg( 'force_pay_order' ) );
472
  exit;
473
  }
474
  }
@@ -617,7 +617,7 @@ class WC_GZD_Checkout {
617
  *
618
  */
619
  if ( apply_filters( 'woocommerce_gzd_add_force_pay_order_parameter', true, $order_id ) ) {
620
- $url = add_query_arg( array( 'force_pay_order' => true ), $url );
621
  }
622
 
623
  wc_get_template( 'order/order-pay-now-button.php', array( 'url' => $url, 'order_id' => $order_id ) );
418
  *
419
  */
420
  if ( strpos( $url, 'pay_for_order' ) !== false && apply_filters( 'woocommerce_gzd_enable_force_pay_order', true, $order ) ) {
421
+ $url = esc_url_raw( add_query_arg( array( 'force_pay_order' => true ), $url ) );
422
  }
423
 
424
  return $url;
468
  public function maybe_disable_force_pay_script() {
469
  // Make sure we are not retrying to redirect if an error ocurred
470
  if ( wc_notice_count( 'error' ) > 0 ) {
471
+ wp_safe_redirect( esc_url_raw( remove_query_arg( 'force_pay_order' ) ) );
472
  exit;
473
  }
474
  }
617
  *
618
  */
619
  if ( apply_filters( 'woocommerce_gzd_add_force_pay_order_parameter', true, $order_id ) ) {
620
+ $url = esc_url_raw( add_query_arg( array( 'force_pay_order' => true ), $url ) );
621
  }
622
 
623
  wc_get_template( 'order/order-pay-now-button.php', array( 'url' => $url, 'order_id' => $order_id ) );
includes/class-wc-gzd-customer-helper.php CHANGED
@@ -155,7 +155,7 @@ class WC_GZD_Customer_Helper {
155
  *
156
  * @since 3.3.2
157
  */
158
- wp_safe_redirect( apply_filters( 'woocommerce_gzd_double_opt_resent_activation_redirect', $url, $user_id ) );
159
  exit();
160
  }
161
  } elseif( isset( $_GET['wc-gzd-resent'] ) ) {
@@ -172,7 +172,7 @@ class WC_GZD_Customer_Helper {
172
  }
173
 
174
  if ( $session_user_id && $session_user_id > 0 && ! is_cart() && ! is_checkout() && $this->enable_double_opt_in_for_user( $session_user_id ) && ! wc_gzd_is_customer_activated( $session_user_id ) && ! isset( $_GET['wc-gzd-resent'] ) ) {
175
- $notice_text = sprintf( __( 'Did not receive the activation email? <a href="%s">Try again</a>.', 'woocommerce-germanized' ), $this->get_resend_activation_url() );
176
 
177
  if ( ! wc_has_notice( $notice_text, 'notice' ) ) {
178
  wc_add_notice( $notice_text, 'notice' );
@@ -184,7 +184,7 @@ class WC_GZD_Customer_Helper {
184
  $url = add_query_arg( array( 'action' => 'wc-gzd-resend-activation' ), wc_gzd_get_page_permalink( 'myaccount' ) );
185
  $url = wp_nonce_url( $url, 'wc-gzd-resend-activation' );
186
 
187
- return $url;
188
  }
189
 
190
  public function is_customer_title_enabled() {
@@ -329,7 +329,7 @@ class WC_GZD_Customer_Helper {
329
  if ( is_checkout() && WC()->cart && WC()->cart->get_cart_contents_count() > 0 && ( ! is_user_logged_in() || ( $this->enable_double_opt_in_for_user() && ! wc_gzd_is_customer_activated() ) ) ) {
330
 
331
  WC()->session->set( 'login_redirect', 'checkout' );
332
- wp_safe_redirect( $this->registration_redirect() );
333
  exit;
334
 
335
  } elseif ( is_checkout() ) {
@@ -353,7 +353,7 @@ class WC_GZD_Customer_Helper {
353
  if ( ! is_user_logged_in() ) {
354
  if ( isset( $_GET['show_checkout_notice'] ) && 'yes' === $_GET['show_checkout_notice'] ) {
355
  if ( get_option( 'woocommerce_enable_guest_checkout' ) === 'yes' ) {
356
- wc_add_notice( sprintf( __( 'Continue without creating an account? <a href="%s">Click here</a>', 'woocommerce-germanized' ), add_query_arg( array( 'force-guest' => 'yes' ), wc_gzd_get_page_permalink( 'checkout' ) ) ), 'notice' );
357
  } else {
358
  wc_add_notice( __( 'Please create an account or login before continuing to checkout', 'woocommerce-germanized' ), 'notice' );
359
  }
@@ -363,7 +363,7 @@ class WC_GZD_Customer_Helper {
363
  unset( WC()->session->login_redirect );
364
 
365
  /** This filter is documented in includes/class-wc-gzd-customer-helper.php */
366
- wp_safe_redirect( apply_filters( 'woocommerce_gzd_customer_activation_checkout_redirect', wc_gzd_get_page_permalink( 'checkout' ) ) );
367
  exit;
368
  }
369
  }
@@ -383,7 +383,7 @@ class WC_GZD_Customer_Helper {
383
  *
384
  * @since 1.0.0
385
  */
386
- return apply_filters( 'woocommerce_gzd_customer_registration_redirect', add_query_arg( $query_args, wc_gzd_get_page_permalink( 'myaccount' ) ), $query_args );
387
  }
388
 
389
  public function disable_registration_auto_login( $result, $user_id ) {
@@ -393,7 +393,7 @@ class WC_GZD_Customer_Helper {
393
 
394
  // Has not been activated yet
395
  if ( $this->enable_double_opt_in_for_user( $user_id ) && ! wc_gzd_is_customer_activated( $user_id ) ) {
396
- wp_redirect( wp_validate_redirect( $this->registration_redirect( array( 'account' => 'activate' ) ) ) ); //phpcs:ignore WordPress.Security.SafeRedirect.wp_redirect_wp_redirect
397
  exit;
398
  }
399
 
@@ -464,7 +464,7 @@ class WC_GZD_Customer_Helper {
464
  if ( $this->enable_double_opt_in_for_user( $user ) && ! wc_gzd_is_customer_activated( $user->ID ) ) {
465
  $this->set_doi_session( $user->ID );
466
 
467
- return new WP_Error( 'woocommerce_gzd_login', sprintf( __( 'Please activate your account through clicking on the activation link received via email. Did not receive the email? <a href="%s">Try again</a>.', 'woocommerce-germanized' ), $this->get_resend_activation_url() ) );
468
  }
469
 
470
  return $user;
@@ -494,7 +494,7 @@ class WC_GZD_Customer_Helper {
494
  * @since 1.0.0
495
  *
496
  */
497
- wp_safe_redirect( apply_filters( 'woocommerce_gzd_double_opt_in_successful_redirect', $url ) );
498
  } elseif ( is_wp_error( $result ) && 'expired_key' === $result->get_error_code() ) {
499
  wc_add_notice( __( 'This activation code has expired. We have sent you a new activation code via e-mail.', 'woocommerce-germanized' ), 'error' );
500
  } else {
@@ -766,10 +766,10 @@ class WC_GZD_Customer_Helper {
766
  * @since 1.0.0
767
  *
768
  */
769
- return apply_filters( 'woocommerce_gzd_customer_activation_url', add_query_arg( array(
770
  'activate' => urlencode( $key ),
771
  'suffix' => 'yes'
772
- ), wc_gzd_get_page_permalink( 'myaccount' ) ) );
773
  }
774
 
775
  public function get_customer_activation_meta( $customer_id, $force_new = false ) {
155
  *
156
  * @since 3.3.2
157
  */
158
+ wp_safe_redirect( esc_url_raw( apply_filters( 'woocommerce_gzd_double_opt_resent_activation_redirect', $url, $user_id ) ) );
159
  exit();
160
  }
161
  } elseif( isset( $_GET['wc-gzd-resent'] ) ) {
172
  }
173
 
174
  if ( $session_user_id && $session_user_id > 0 && ! is_cart() && ! is_checkout() && $this->enable_double_opt_in_for_user( $session_user_id ) && ! wc_gzd_is_customer_activated( $session_user_id ) && ! isset( $_GET['wc-gzd-resent'] ) ) {
175
+ $notice_text = sprintf( __( 'Did not receive the activation email? <a href="%s">Try again</a>.', 'woocommerce-germanized' ), esc_url( $this->get_resend_activation_url() ) );
176
 
177
  if ( ! wc_has_notice( $notice_text, 'notice' ) ) {
178
  wc_add_notice( $notice_text, 'notice' );
184
  $url = add_query_arg( array( 'action' => 'wc-gzd-resend-activation' ), wc_gzd_get_page_permalink( 'myaccount' ) );
185
  $url = wp_nonce_url( $url, 'wc-gzd-resend-activation' );
186
 
187
+ return esc_url_raw( $url );
188
  }
189
 
190
  public function is_customer_title_enabled() {
329
  if ( is_checkout() && WC()->cart && WC()->cart->get_cart_contents_count() > 0 && ( ! is_user_logged_in() || ( $this->enable_double_opt_in_for_user() && ! wc_gzd_is_customer_activated() ) ) ) {
330
 
331
  WC()->session->set( 'login_redirect', 'checkout' );
332
+ wp_safe_redirect( esc_url_raw( $this->registration_redirect() ) );
333
  exit;
334
 
335
  } elseif ( is_checkout() ) {
353
  if ( ! is_user_logged_in() ) {
354
  if ( isset( $_GET['show_checkout_notice'] ) && 'yes' === $_GET['show_checkout_notice'] ) {
355
  if ( get_option( 'woocommerce_enable_guest_checkout' ) === 'yes' ) {
356
+ wc_add_notice( sprintf( __( 'Continue without creating an account? <a href="%s">Click here</a>', 'woocommerce-germanized' ), esc_url( add_query_arg( array( 'force-guest' => 'yes' ), wc_gzd_get_page_permalink( 'checkout' ) ) ) ), 'notice' );
357
  } else {
358
  wc_add_notice( __( 'Please create an account or login before continuing to checkout', 'woocommerce-germanized' ), 'notice' );
359
  }
363
  unset( WC()->session->login_redirect );
364
 
365
  /** This filter is documented in includes/class-wc-gzd-customer-helper.php */
366
+ wp_safe_redirect( esc_url_raw( apply_filters( 'woocommerce_gzd_customer_activation_checkout_redirect', wc_gzd_get_page_permalink( 'checkout' ) ) ) );
367
  exit;
368
  }
369
  }
383
  *
384
  * @since 1.0.0
385
  */
386
+ return apply_filters( 'woocommerce_gzd_customer_registration_redirect', esc_url_raw( add_query_arg( $query_args, wc_gzd_get_page_permalink( 'myaccount' ) ) ), $query_args );
387
  }
388
 
389
  public function disable_registration_auto_login( $result, $user_id ) {
393
 
394
  // Has not been activated yet
395
  if ( $this->enable_double_opt_in_for_user( $user_id ) && ! wc_gzd_is_customer_activated( $user_id ) ) {
396
+ wp_redirect( esc_url_raw( wp_validate_redirect( $this->registration_redirect( array( 'account' => 'activate' ) ) ) ) ); //phpcs:ignore WordPress.Security.SafeRedirect.wp_redirect_wp_redirect
397
  exit;
398
  }
399
 
464
  if ( $this->enable_double_opt_in_for_user( $user ) && ! wc_gzd_is_customer_activated( $user->ID ) ) {
465
  $this->set_doi_session( $user->ID );
466
 
467
+ return new WP_Error( 'woocommerce_gzd_login', sprintf( __( 'Please activate your account through clicking on the activation link received via email. Did not receive the email? <a href="%s">Try again</a>.', 'woocommerce-germanized' ), esc_url( $this->get_resend_activation_url() ) ) );
468
  }
469
 
470
  return $user;
494
  * @since 1.0.0
495
  *
496
  */
497
+ wp_safe_redirect( esc_url_raw( apply_filters( 'woocommerce_gzd_double_opt_in_successful_redirect', $url ) ) );
498
  } elseif ( is_wp_error( $result ) && 'expired_key' === $result->get_error_code() ) {
499
  wc_add_notice( __( 'This activation code has expired. We have sent you a new activation code via e-mail.', 'woocommerce-germanized' ), 'error' );
500
  } else {
766
  * @since 1.0.0
767
  *
768
  */
769
+ return apply_filters( 'woocommerce_gzd_customer_activation_url', esc_url_raw( add_query_arg( array(
770
  'activate' => urlencode( $key ),
771
  'suffix' => 'yes'
772
+ ), wc_gzd_get_page_permalink( 'myaccount' ) ) ) );
773
  }
774
 
775
  public function get_customer_activation_meta( $customer_id, $force_new = false ) {
includes/class-wc-gzd-install.php CHANGED
@@ -76,7 +76,7 @@ if ( ! class_exists( 'WC_GZD_Install' ) ) :
76
  delete_transient( '_wc_gzd_activation_redirect' );
77
 
78
  // What's new redirect
79
- wp_redirect( admin_url( 'index.php?page=wc-gzd-about&wc-gzd-updated=true' ) );
80
  exit;
81
  }
82
 
@@ -92,7 +92,7 @@ if ( ! class_exists( 'WC_GZD_Install' ) ) :
92
  }
93
 
94
  delete_option( '_wc_gzd_setup_wizard_redirect' );
95
- wp_safe_redirect( admin_url( 'admin.php?page=wc-gzd-setup' ) );
96
  exit();
97
 
98
  } elseif ( get_transient( '_wc_gzd_activation_redirect' ) ) {
@@ -114,7 +114,7 @@ if ( ! class_exists( 'WC_GZD_Install' ) ) :
114
  return;
115
  }
116
 
117
- wp_redirect( admin_url( 'index.php?page=wc-gzd-about' ) );
118
  exit;
119
  }
120
  }
76
  delete_transient( '_wc_gzd_activation_redirect' );
77
 
78
  // What's new redirect
79
+ wp_safe_redirect( esc_url_raw( admin_url( 'index.php?page=wc-gzd-about&wc-gzd-updated=true' ) ) );
80
  exit;
81
  }
82
 
92
  }
93
 
94
  delete_option( '_wc_gzd_setup_wizard_redirect' );
95
+ wp_safe_redirect( esc_url_raw( admin_url( 'admin.php?page=wc-gzd-setup' ) ) );
96
  exit();
97
 
98
  } elseif ( get_transient( '_wc_gzd_activation_redirect' ) ) {
114
  return;
115
  }
116
 
117
+ wp_safe_redirect( esc_url_raw( admin_url( 'index.php?page=wc-gzd-about' ) ) );
118
  exit;
119
  }
120
  }
includes/class-wc-gzd-legal-checkbox-manager.php CHANGED
@@ -244,7 +244,7 @@ class WC_GZD_Legal_Checkbox_Manager {
244
  'html_wrapper_classes' => array( 'legal', 'direct-debit-checkbox' ),
245
  'label' => __( 'I hereby agree to the {link}direct debit mandate{/link}.', 'woocommerce-germanized' ),
246
  'label_args' => array(
247
- '{link}' => '<a href="' . $ajax_url . '" id="show-direct-debit-trigger" rel="prettyPhoto">',
248
  '{/link}' => '</a>'
249
  ),
250
  'is_mandatory' => true,
244
  'html_wrapper_classes' => array( 'legal', 'direct-debit-checkbox' ),
245
  'label' => __( 'I hereby agree to the {link}direct debit mandate{/link}.', 'woocommerce-germanized' ),
246
  'label_args' => array(
247
+ '{link}' => '<a href="' . esc_url( $ajax_url ) . '" id="show-direct-debit-trigger" rel="prettyPhoto">',
248
  '{/link}' => '</a>'
249
  ),
250
  'is_mandatory' => true,
includes/class-wc-gzd-order-helper.php CHANGED
@@ -187,7 +187,7 @@ class WC_GZD_Order_Helper {
187
  $return = apply_filters( 'woocommerce_gzd_attempt_order_cancellation_url', add_query_arg( array( 'retry' => true ), $order->get_checkout_order_received_url(), $order ) );
188
  }
189
 
190
- return $return;
191
  }
192
 
193
  /**
187
  $return = apply_filters( 'woocommerce_gzd_attempt_order_cancellation_url', add_query_arg( array( 'retry' => true ), $order->get_checkout_order_received_url(), $order ) );
188
  }
189
 
190
+ return esc_url_raw( $return );
191
  }
192
 
193
  /**
includes/class-wc-gzd-revocation.php CHANGED
@@ -101,7 +101,7 @@ class WC_GZD_Revocation {
101
  *
102
  * @since 1.9.10
103
  */
104
- 'label' => apply_filters( 'woocommerce_gzd_revocation_privacy_notice_label', sprintf( _x( 'Please accept our <a href="%s" target="_blank">Privacy Policy</a> so that we can process your inquiry.', 'revocation-form', 'woocommerce-germanized' ), wc_gzd_get_privacy_policy_url() ) ),
105
  'required' => true,
106
  ),
107
  ) );
101
  *
102
  * @since 1.9.10
103
  */
104
+ 'label' => apply_filters( 'woocommerce_gzd_revocation_privacy_notice_label', sprintf( _x( 'Please accept our <a href="%s" target="_blank">Privacy Policy</a> so that we can process your inquiry.', 'revocation-form', 'woocommerce-germanized' ), esc_url( wc_gzd_get_privacy_policy_url() ) ) ),
105
  'required' => true,
106
  ),
107
  ) );
includes/gateways/direct-debit/class-wc-gzd-gateway-direct-debit.php CHANGED
@@ -200,11 +200,11 @@ Please notice: Period for pre-information of the SEPA direct debit is shortened
200
  <?php _e( 'SEPA', 'woocommerce-germanized' ); ?>
201
 
202
  <?php if ( ! wc_gzd_order_is_anonymized( $order ) ) : ?>
203
- <a href="<?php echo add_query_arg( array(
204
  'download' => 'true',
205
  'content' => 'sepa',
206
  'sepa_order_id' => $order->get_id()
207
- ), admin_url( 'export.php' ) ); ?>" target="_blank"
208
  class="download_sepa_xml"><?php _e( 'SEPA XML', 'woocommerce-germanized' ); ?></a>
209
  <?php endif; ?>
210
  </h3>
@@ -276,11 +276,11 @@ Please notice: Period for pre-information of the SEPA direct debit is shortened
276
 
277
  if ( ! wc_gzd_order_is_anonymized( $order ) && $order->get_payment_method() === $this->id ) {
278
  $actions['download-sepa'] = array(
279
- 'url' => add_query_arg( array(
280
  'download' => 'true',
281
  'content' => 'sepa',
282
  'sepa_order_id' => $order->get_id()
283
- ), admin_url( 'export.php' ) ),
284
  'name' => __( 'SEPA XML Export', 'woocommerce-germanized' ),
285
  'action' => "xml"
286
  );
200
  <?php _e( 'SEPA', 'woocommerce-germanized' ); ?>
201
 
202
  <?php if ( ! wc_gzd_order_is_anonymized( $order ) ) : ?>
203
+ <a href="<?php echo esc_url( add_query_arg( array(
204
  'download' => 'true',
205
  'content' => 'sepa',
206
  'sepa_order_id' => $order->get_id()
207
+ ), admin_url( 'export.php' ) ) ); ?>" target="_blank"
208
  class="download_sepa_xml"><?php _e( 'SEPA XML', 'woocommerce-germanized' ); ?></a>
209
  <?php endif; ?>
210
  </h3>
276
 
277
  if ( ! wc_gzd_order_is_anonymized( $order ) && $order->get_payment_method() === $this->id ) {
278
  $actions['download-sepa'] = array(
279
+ 'url' => esc_url_raw( add_query_arg( array(
280
  'download' => 'true',
281
  'content' => 'sepa',
282
  'sepa_order_id' => $order->get_id()
283
+ ), admin_url( 'export.php' ) ) ),
284
  'name' => __( 'SEPA XML Export', 'woocommerce-germanized' ),
285
  'action' => "xml"
286
  );
includes/wc-gzd-template-functions.php CHANGED
@@ -575,7 +575,7 @@ if ( ! function_exists( 'woocommerce_gzd_template_checkout_back_to_cart' ) ) {
575
  * Display back to cart button within checkout cart
576
  */
577
  function woocommerce_gzd_template_checkout_back_to_cart() {
578
- echo '<tr><td colspan="5" class="actions"><a class="button" href="' . wc_get_cart_url() . '">' . __( 'Edit Order', 'woocommerce-germanized' ) . '</a></td></tr>';
579
  }
580
 
581
  }
@@ -721,7 +721,7 @@ if ( ! function_exists( 'woocommerce_gzd_template_loop_add_to_cart' ) ) {
721
  function woocommerce_gzd_template_loop_add_to_cart( $text, $product ) {
722
  return sprintf(
723
  '<a href="%s" class="button">%s</a>',
724
- esc_attr( $product->get_permalink() ),
725
  esc_html( get_option( 'woocommerce_gzd_display_listings_link_details_text' ) )
726
  );
727
  }
575
  * Display back to cart button within checkout cart
576
  */
577
  function woocommerce_gzd_template_checkout_back_to_cart() {
578
+ echo '<tr><td colspan="5" class="actions"><a class="button" href="' . esc_url( wc_get_cart_url() ) . '">' . __( 'Edit Order', 'woocommerce-germanized' ) . '</a></td></tr>';
579
  }
580
 
581
  }
721
  function woocommerce_gzd_template_loop_add_to_cart( $text, $product ) {
722
  return sprintf(
723
  '<a href="%s" class="button">%s</a>',
724
+ esc_url( $product->get_permalink() ),
725
  esc_html( get_option( 'woocommerce_gzd_display_listings_link_details_text' ) )
726
  );
727
  }
packages/one-stop-shop-woocommerce/one-stop-shop-woocommerce.php CHANGED
@@ -5,7 +5,7 @@
5
  * Description: Comply with the One Stop Shop procedure while using WooCommerce.
6
  * Author: vendidero
7
  * Author URI: https://vendidero.de
8
- * Version: 1.2.2
9
  * Requires PHP: 5.6
10
  * License: GPLv3
11
  * Tested up to: 5.9
5
  * Description: Comply with the One Stop Shop procedure while using WooCommerce.
6
  * Author: vendidero
7
  * Author URI: https://vendidero.de
8
+ * Version: 1.2.3
9
  * Requires PHP: 5.6
10
  * License: GPLv3
11
  * Tested up to: 5.9
packages/one-stop-shop-woocommerce/readme.txt CHANGED
@@ -5,7 +5,7 @@ Requires at least: 5.4
5
  Tested up to: 5.9
6
  WC requires at least: 3.9
7
  WC tested up to: 6.4
8
- Stable tag: 1.2.2
9
  Requires PHP: 5.6
10
  License: GPLv3
11
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
@@ -60,6 +60,9 @@ Bug reports may be filed via our [GitHub repository](https://github.com/vendider
60
  3. Create a new report
61
 
62
  == Changelog ==
 
 
 
63
  = 1.2.2 =
64
  * Improvement: Fallback to standard tax class for countries which are missing the reduced tax class.
65
 
5
  Tested up to: 5.9
6
  WC requires at least: 3.9
7
  WC tested up to: 6.4
8
+ Stable tag: 1.2.3
9
  Requires PHP: 5.6
10
  License: GPLv3
11
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
60
  3. Create a new report
61
 
62
  == Changelog ==
63
+ = 1.2.3 =
64
+ * Improvement: Harden URL escaping
65
+
66
  = 1.2.2 =
67
  * Improvement: Fallback to standard tax class for countries which are missing the reduced tax class.
68
 
packages/one-stop-shop-woocommerce/src/Admin.php CHANGED
@@ -79,7 +79,7 @@ class Admin {
79
  'desc' => sprintf(
80
  '<strong class="red">%1$s</strong> %2$s',
81
  _x( 'Note:', 'oss', 'woocommerce-germanized' ),
82
- sprintf( _x( 'This option will delete all of your current EU VAT rates and re-import them based on your current <a href="%s">OSS status</a>.', 'oss', 'woocommerce-germanized' ), Settings::get_settings_url() )
83
  ),
84
  );
85
 
@@ -317,11 +317,11 @@ class Admin {
317
  $referer = admin_url( 'admin.php?page=oss-reports' );
318
  }
319
 
320
- wp_safe_redirect( add_query_arg( array( 'report_deleted' => $report_id ), $referer ) );
321
  exit();
322
  }
323
 
324
- wp_safe_redirect( wp_get_referer() );
325
  exit();
326
  }
327
 
@@ -372,11 +372,11 @@ class Admin {
372
  if ( ! empty( $report_id ) && ( $report = Package::get_report( $report_id ) ) ) {
373
  Queue::start( $report->get_type(), $report->get_date_start(), $report->get_date_end() );
374
 
375
- wp_safe_redirect( add_query_arg( array( 'report_restarted' => $report_id ), self::get_clean_referer() ) );
376
  exit();
377
  }
378
 
379
- wp_safe_redirect( wp_get_referer() );
380
  exit();
381
  }
382
 
@@ -399,11 +399,11 @@ class Admin {
399
  $referer = admin_url( 'admin.php?page=oss-reports' );
400
  }
401
 
402
- wp_safe_redirect( add_query_arg( array( 'report_cancelled' => $report_id ), $referer ) );
403
  exit();
404
  }
405
 
406
- wp_safe_redirect( wp_get_referer() );
407
  exit();
408
  }
409
 
@@ -479,7 +479,7 @@ class Admin {
479
  }
480
  ?>
481
  <div class="wrap oss-reports create-oss-reports">
482
- <form class="create-oss-report" method="post" action="<?php echo admin_url( 'admin-post.php' ); ?>">
483
  <header>
484
  <h2><?php _ex( 'New Report', 'oss', 'woocommerce-germanized' ); ?></h2>
485
  </header>
@@ -562,7 +562,7 @@ class Admin {
562
  ?>
563
  <div class="wrap oss-reports">
564
  <h1 class="wp-heading-inline"><?php echo _x( 'One Stop Shop', 'oss', 'woocommerce-germanized' ); ?></h1>
565
- <a href="<?php echo add_query_arg( array( 'new' => 'yes' ), admin_url( 'admin.php?page=oss-reports' ) ); ?>" class="page-title-action"><?php _ex( 'New report', 'oss', 'woocommerce-germanized' ); ?></a>
566
 
567
  <hr class="wp-header-end" />
568
 
@@ -706,7 +706,7 @@ class Admin {
706
  <?php else :
707
  $details = Queue::get_queue_details( $report_id );
708
  ?>
709
- <p class="summary"><?php printf( _x( 'Currently processed %1$s orders. Next iteration is scheduled for %2$s. <a href="%3$s">Find pending actions</a>', 'oss', 'woocommerce-germanized' ), $details['order_count'], $details['next_date'] ? $details['next_date']->date_i18n( wc_date_format() . ' @ ' . wc_time_format() ) : _x( 'Not yet known', 'oss', 'woocommerce-germanized' ), esc_url( $details['link'] ) ); ?></p>
710
  <?php endif; ?>
711
  </div>
712
  <?php
@@ -762,10 +762,10 @@ class Admin {
762
 
763
  $sendback = remove_query_arg( array( 'action', 'action2', '_status', 'bulk_edit', 'report', 'report_created' ), $sendback );
764
 
765
- wp_redirect( $sendback );
766
  exit();
767
  } elseif ( ! empty( $_REQUEST['_wp_http_referer'] ) ) {
768
- wp_redirect( remove_query_arg( array( '_wp_http_referer', '_wpnonce' ), wp_unslash( $_SERVER['REQUEST_URI'] ) ) );
769
  exit;
770
  }
771
 
79
  'desc' => sprintf(
80
  '<strong class="red">%1$s</strong> %2$s',
81
  _x( 'Note:', 'oss', 'woocommerce-germanized' ),
82
+ sprintf( _x( 'This option will delete all of your current EU VAT rates and re-import them based on your current <a href="%s">OSS status</a>.', 'oss', 'woocommerce-germanized' ), esc_url( Settings::get_settings_url() ) )
83
  ),
84
  );
85
 
317
  $referer = admin_url( 'admin.php?page=oss-reports' );
318
  }
319
 
320
+ wp_safe_redirect( esc_url_raw( add_query_arg( array( 'report_deleted' => $report_id ), $referer ) ) );
321
  exit();
322
  }
323
 
324
+ wp_safe_redirect( esc_url_raw( wp_get_referer() ) );
325
  exit();
326
  }
327
 
372
  if ( ! empty( $report_id ) && ( $report = Package::get_report( $report_id ) ) ) {
373
  Queue::start( $report->get_type(), $report->get_date_start(), $report->get_date_end() );
374
 
375
+ wp_safe_redirect( esc_url_raw( add_query_arg( array( 'report_restarted' => $report_id ), self::get_clean_referer() ) ) );
376
  exit();
377
  }
378
 
379
+ wp_safe_redirect( esc_url_raw( wp_get_referer() ) );
380
  exit();
381
  }
382
 
399
  $referer = admin_url( 'admin.php?page=oss-reports' );
400
  }
401
 
402
+ wp_safe_redirect( esc_url_raw( add_query_arg( array( 'report_cancelled' => $report_id ), $referer ) ) );
403
  exit();
404
  }
405
 
406
+ wp_safe_redirect( esc_url_raw( wp_get_referer() ) );
407
  exit();
408
  }
409
 
479
  }
480
  ?>
481
  <div class="wrap oss-reports create-oss-reports">
482
+ <form class="create-oss-report" method="post" action="<?php echo esc_url( admin_url( 'admin-post.php' ) ); ?>">
483
  <header>
484
  <h2><?php _ex( 'New Report', 'oss', 'woocommerce-germanized' ); ?></h2>
485
  </header>
562
  ?>
563
  <div class="wrap oss-reports">
564
  <h1 class="wp-heading-inline"><?php echo _x( 'One Stop Shop', 'oss', 'woocommerce-germanized' ); ?></h1>
565
+ <a href="<?php echo esc_url( add_query_arg( array( 'new' => 'yes' ), admin_url( 'admin.php?page=oss-reports' ) ) ); ?>" class="page-title-action"><?php _ex( 'New report', 'oss', 'woocommerce-germanized' ); ?></a>
566
 
567
  <hr class="wp-header-end" />
568
 
706
  <?php else :
707
  $details = Queue::get_queue_details( $report_id );
708
  ?>
709
+ <p class="summary"><?php printf( _x( 'Currently processed %1$s orders. Next iteration is scheduled for %2$s. <a href="%3$s">Find pending actions</a>', 'oss', 'woocommerce-germanized' ), esc_html( $details['order_count'] ), $details['next_date'] ? $details['next_date']->date_i18n( wc_date_format() . ' @ ' . wc_time_format() ) : _x( 'Not yet known', 'oss', 'woocommerce-germanized' ), esc_url( $details['link'] ) ); ?></p>
710
  <?php endif; ?>
711
  </div>
712
  <?php
762
 
763
  $sendback = remove_query_arg( array( 'action', 'action2', '_status', 'bulk_edit', 'report', 'report_created' ), $sendback );
764
 
765
+ wp_redirect( esc_url_raw( $sendback ) );
766
  exit();
767
  } elseif ( ! empty( $_REQUEST['_wp_http_referer'] ) ) {
768
+ wp_redirect( esc_url_raw( remove_query_arg( array( '_wp_http_referer', '_wpnonce' ), wp_unslash( $_SERVER['REQUEST_URI'] ) ) ) );
769
  exit;
770
  }
771
 
packages/one-stop-shop-woocommerce/src/Package.php CHANGED
@@ -14,7 +14,7 @@ class Package {
14
  *
15
  * @var string
16
  */
17
- const VERSION = '1.2.2';
18
 
19
  /**
20
  * Init the package
14
  *
15
  * @var string
16
  */
17
+ const VERSION = '1.2.3';
18
 
19
  /**
20
  * Init the package
packages/one-stop-shop-woocommerce/src/Settings.php CHANGED
@@ -111,8 +111,8 @@ class Settings {
111
  ob_start();
112
  ?>
113
  <p>
114
- <a class="button button-secondary" onclick="return confirm('<?php echo esc_html( _x( 'Are you sure? Please backup your tax rates before proceeding.', 'oss', 'woocommerce-germanized' ) ); ?>');" href="<?php echo self::get_oss_switch_link(); ?>"><?php echo ( Package::oss_procedure_is_enabled() ? _x( 'End OSS participation', 'oss', 'woocommerce-germanized' ) : _x( 'Start OSS participation', 'oss', 'woocommerce-germanized' ) ); ?></a>
115
- <a class="oss-settings-refresh-tax-rates" onclick="return confirm('<?php echo esc_html( _x( 'Are you sure? Please backup your tax rates before proceeding.', 'oss', 'woocommerce-germanized' ) ); ?>');" href="<?php echo wp_nonce_url( admin_url( 'admin.php?page=wc-status&tab=tools&action=refresh_oss_tax_rates' ), 'debug_action' ); ?> "><?php _ex( 'refresh VAT rates', 'oss', 'woocommerce-germanized' ); ?></a>
116
  <a class="oss-settings-learn-more" href="https://vendidero.github.io/one-stop-shop-woocommerce/tax-adjustments"><?php _ex( 'learn more', 'oss', 'woocommerce-germanized' ); ?></a>
117
  </p>
118
  <p class="oss-woocommerce-additional-desc wc-gzd-additional-desc"><?php _ex( 'Use this option to automatically adjust tax-related options in WooCommerce. Warning: This option will delete your current tax rates and add new tax rates based on your OSS participation status.', 'oss', 'woocommerce-germanized' ); ?></p>
@@ -147,7 +147,7 @@ class Settings {
147
  if ( ! $observer_report || Queue::get_running_observer() ) {
148
  $running = Package::get_observer_report() ? Package::get_observer_report() : Queue::get_running_observer();
149
 
150
- $status_link = $running ? '<a href="' . $running->get_url() . '">' . _x( 'See status', 'oss', 'woocommerce-germanized' ) . '</a>' : '<a href="' . add_query_arg( array( 'action' => 'oss_init_observer' ), wp_nonce_url( admin_url( 'admin-post.php' ), 'oss_init_observer' ) ) . '">' . _x( 'Start initial report', 'oss', 'woocommerce-germanized' ) . '</a>';
151
  $status_text = sprintf( ( $running ? _x( 'Report not yet completed. %s', 'oss', 'woocommerce-germanized' ) : _x( 'Report not yet started. %s', 'oss', 'woocommerce-germanized' ) ), $status_link );
152
  ob_start();
153
  ?>
111
  ob_start();
112
  ?>
113
  <p>
114
+ <a class="button button-secondary" onclick="return confirm('<?php echo esc_html( _x( 'Are you sure? Please backup your tax rates before proceeding.', 'oss', 'woocommerce-germanized' ) ); ?>');" href="<?php echo esc_url( self::get_oss_switch_link() ); ?>"><?php echo ( Package::oss_procedure_is_enabled() ? _x( 'End OSS participation', 'oss', 'woocommerce-germanized' ) : _x( 'Start OSS participation', 'oss', 'woocommerce-germanized' ) ); ?></a>
115
+ <a class="oss-settings-refresh-tax-rates" onclick="return confirm('<?php echo esc_html( _x( 'Are you sure? Please backup your tax rates before proceeding.', 'oss', 'woocommerce-germanized' ) ); ?>');" href="<?php echo esc_url( wp_nonce_url( admin_url( 'admin.php?page=wc-status&tab=tools&action=refresh_oss_tax_rates' ), 'debug_action' ) ); ?> "><?php _ex( 'refresh VAT rates', 'oss', 'woocommerce-germanized' ); ?></a>
116
  <a class="oss-settings-learn-more" href="https://vendidero.github.io/one-stop-shop-woocommerce/tax-adjustments"><?php _ex( 'learn more', 'oss', 'woocommerce-germanized' ); ?></a>
117
  </p>
118
  <p class="oss-woocommerce-additional-desc wc-gzd-additional-desc"><?php _ex( 'Use this option to automatically adjust tax-related options in WooCommerce. Warning: This option will delete your current tax rates and add new tax rates based on your OSS participation status.', 'oss', 'woocommerce-germanized' ); ?></p>
147
  if ( ! $observer_report || Queue::get_running_observer() ) {
148
  $running = Package::get_observer_report() ? Package::get_observer_report() : Queue::get_running_observer();
149
 
150
+ $status_link = $running ? '<a href="' . esc_url( $running->get_url() ) . '">' . _x( 'See status', 'oss', 'woocommerce-germanized' ) . '</a>' : '<a href="' . esc_url( add_query_arg( array( 'action' => 'oss_init_observer' ), wp_nonce_url( admin_url( 'admin-post.php' ), 'oss_init_observer' ) ) ) . '">' . _x( 'Start initial report', 'oss', 'woocommerce-germanized' ) . '</a>';
151
  $status_text = sprintf( ( $running ? _x( 'Report not yet completed. %s', 'oss', 'woocommerce-germanized' ) : _x( 'Report not yet started. %s', 'oss', 'woocommerce-germanized' ) ), $status_link );
152
  ob_start();
153
  ?>
packages/one-stop-shop-woocommerce/src/SettingsPage.php CHANGED
@@ -20,7 +20,7 @@ class SettingsPage extends \WC_Settings_Page {
20
  }
21
 
22
  public function output() {
23
- echo '<h2 class="oss-woocommerce-settings-title">' . _x( 'One Stop Shop', 'oss', 'woocommerce-germanized' ) . ' <a class="page-title-action" href="' . admin_url( 'admin.php?page=oss-reports' ) . '">' . _x( 'Reports', 'oss', 'woocommerce-germanized' ) . '</a> <a class="page-title-action" target="_blank" href="' . Settings::get_help_url() . '">' . _x( 'Learn More', 'oss', 'woocommerce-germanized' ) . '</a></h2>';
24
 
25
  parent::output();
26
  }
20
  }
21
 
22
  public function output() {
23
+ echo '<h2 class="oss-woocommerce-settings-title">' . _x( 'One Stop Shop', 'oss', 'woocommerce-germanized' ) . ' <a class="page-title-action" href="' . esc_url( admin_url( 'admin.php?page=oss-reports' ) ) . '">' . _x( 'Reports', 'oss', 'woocommerce-germanized' ) . '</a> <a class="page-title-action" target="_blank" href="' . Settings::get_help_url() . '">' . _x( 'Learn More', 'oss', 'woocommerce-germanized' ) . '</a></h2>';
24
 
25
  parent::output();
26
  }
packages/woocommerce-germanized-dhl/src/Admin/Admin.php CHANGED
@@ -41,7 +41,7 @@ class Admin {
41
  public static function refresh_im_notices() {
42
  if ( current_user_can( 'manage_woocommerce' ) && isset( $_GET['im-refresh-type'] ) ) {
43
  ?>
44
- <div class="notice fade <?php echo ( isset( $_GET['success'] ) ? 'updated' : 'error' ); ?>"><p><?php echo ( isset( $_GET['success'] ) ? _x( 'Refreshed data successfully.', 'dhl', 'woocommerce-germanized' ) : sprintf( _x( 'Error while refreshing data. Please make sure that the Internetmarke API URL can be <a href="%s">accessed</a>.', 'dhl', 'woocommerce-germanized' ), admin_url( 'admin.php?page=wc-status&tab=dhl' ) ) ); ?></p></div>
45
  <?php
46
  }
47
  }
@@ -58,7 +58,7 @@ class Admin {
58
  $settings_url = add_query_arg( array( 'success' => 1 ), $settings_url );
59
  }
60
 
61
- wp_safe_redirect( $settings_url );
62
  exit();
63
  }
64
  } elseif ( current_user_can( 'manage_woocommerce' ) && isset( $_GET['action'], $_GET['_wpnonce'] ) && 'wc-gzd-dhl-im-page-formats-refresh' === $_GET['action'] ) {
@@ -72,7 +72,7 @@ class Admin {
72
  $settings_url = add_query_arg( array( 'success' => 1 ), $settings_url );
73
  }
74
 
75
- wp_safe_redirect( $settings_url );
76
  exit();
77
  }
78
  }
@@ -191,14 +191,14 @@ class Admin {
191
 
192
  if ( ! empty( $meta ) ) {
193
  echo '<p>' . _x( 'This label has been generated by the DHL for WooCommerce Plugin and is shown for legacy purposes.', 'dhl', 'woocommerce-germanized' ) . '</p>';
194
- echo '<a class="button button-primary" target="_blank" href="' . self::get_legacy_label_download_url( $order_id ) . '">' . _x( 'Download label', 'dhl', 'woocommerce-germanized' ) . '</a>';
195
  }
196
  }
197
 
198
  public static function get_legacy_label_download_url( $order_id ) {
199
  $url = add_query_arg( array( 'action' => 'wc-gzd-dhl-download-legacy-label', 'order_id' => $order_id, 'force' => 'yes' ), wp_nonce_url( admin_url(), 'dhl-download-legacy-label' ) );
200
 
201
- return $url;
202
  }
203
 
204
  public static function download_legacy_label() {
41
  public static function refresh_im_notices() {
42
  if ( current_user_can( 'manage_woocommerce' ) && isset( $_GET['im-refresh-type'] ) ) {
43
  ?>
44
+ <div class="notice fade <?php echo ( isset( $_GET['success'] ) ? 'updated' : 'error' ); ?>"><p><?php echo ( isset( $_GET['success'] ) ? _x( 'Refreshed data successfully.', 'dhl', 'woocommerce-germanized' ) : sprintf( _x( 'Error while refreshing data. Please make sure that the Internetmarke API URL can be <a href="%s">accessed</a>.', 'dhl', 'woocommerce-germanized' ), esc_url( admin_url( 'admin.php?page=wc-status&tab=dhl' ) ) ) ); ?></p></div>
45
  <?php
46
  }
47
  }
58
  $settings_url = add_query_arg( array( 'success' => 1 ), $settings_url );
59
  }
60
 
61
+ wp_safe_redirect( esc_url_raw( $settings_url ) );
62
  exit();
63
  }
64
  } elseif ( current_user_can( 'manage_woocommerce' ) && isset( $_GET['action'], $_GET['_wpnonce'] ) && 'wc-gzd-dhl-im-page-formats-refresh' === $_GET['action'] ) {
72
  $settings_url = add_query_arg( array( 'success' => 1 ), $settings_url );
73
  }
74
 
75
+ wp_safe_redirect( esc_url_raw( $settings_url ) );
76
  exit();
77
  }
78
  }
191
 
192
  if ( ! empty( $meta ) ) {
193
  echo '<p>' . _x( 'This label has been generated by the DHL for WooCommerce Plugin and is shown for legacy purposes.', 'dhl', 'woocommerce-germanized' ) . '</p>';
194
+ echo '<a class="button button-primary" target="_blank" href="' . esc_url( self::get_legacy_label_download_url( $order_id ) ) . '">' . _x( 'Download label', 'dhl', 'woocommerce-germanized' ) . '</a>';
195
  }
196
  }
197
 
198
  public static function get_legacy_label_download_url( $order_id ) {
199
  $url = add_query_arg( array( 'action' => 'wc-gzd-dhl-download-legacy-label', 'order_id' => $order_id, 'force' => 'yes' ), wp_nonce_url( admin_url(), 'dhl-download-legacy-label' ) );
200
 
201
+ return esc_url_raw( $url );
202
  }
203
 
204
  public static function download_legacy_label() {
packages/woocommerce-germanized-dhl/src/Admin/Status.php CHANGED
@@ -56,7 +56,7 @@ class Status {
56
  $get_response_code = get_transient( $transient_name );
57
 
58
  if ( false === $get_response_code || is_wp_error( $get_response_code ) ) {
59
- $response = wp_remote_get( $url );
60
 
61
  if ( ! is_wp_error( $response ) ) {
62
  $get_response_code = $response['response']['code'];
56
  $get_response_code = get_transient( $transient_name );
57
 
58
  if ( false === $get_response_code || is_wp_error( $get_response_code ) ) {
59
+ $response = wp_remote_get( esc_url_raw( $url ) );
60
 
61
  if ( ! is_wp_error( $response ) ) {
62
  $get_response_code = $response['response']['code'];
packages/woocommerce-germanized-dhl/src/Api/Internetmarke.php CHANGED
@@ -69,7 +69,7 @@ class Internetmarke {
69
  if ( is_null( $this->api ) ) {
70
  try {
71
  if ( ! Package::has_load_dependencies() ) {
72
- throw new \Exception( sprintf( _x( 'To enable communication between your shop and DHL, the PHP <a href="%s">SOAPClient</a> is required. Please contact your host and make sure that SOAPClient is <a href="%s">installed</a>.', 'dhl', 'woocommerce-germanize-dhl' ), 'https://www.php.net/manual/class.soapclient.php', admin_url( 'admin.php?page=wc-status' ) ) );
73
  }
74
 
75
  $this->api = new Service( $this->partner, array(), Package::get_wsdl_file( Package::get_internetmarke_main_url() ) );
@@ -787,7 +787,7 @@ class Internetmarke {
787
 
788
  return $this->update_default_label( $label, $stamp );
789
  } catch( \Exception $e ) {
790
- throw new \Exception( sprintf( _x( 'Error while trying to purchase the stamp. Please manually <a href="%s">refresh</a> your product database and try again.', 'dhl', 'woocommerce-germanized' ), Package::get_deutsche_post_shipping_provider()->get_edit_link( 'label' ) ) );
791
  }
792
  }
793
 
69
  if ( is_null( $this->api ) ) {
70
  try {
71
  if ( ! Package::has_load_dependencies() ) {
72
+ throw new \Exception( sprintf( _x( 'To enable communication between your shop and DHL, the PHP <a href="%s">SOAPClient</a> is required. Please contact your host and make sure that SOAPClient is <a href="%s">installed</a>.', 'dhl', 'woocommerce-germanize-dhl' ), 'https://www.php.net/manual/class.soapclient.php', esc_url( admin_url( 'admin.php?page=wc-status' ) ) ) );
73
  }
74
 
75
  $this->api = new Service( $this->partner, array(), Package::get_wsdl_file( Package::get_internetmarke_main_url() ) );
787
 
788
  return $this->update_default_label( $label, $stamp );
789
  } catch( \Exception $e ) {
790
+ throw new \Exception( sprintf( _x( 'Error while trying to purchase the stamp. Please manually <a href="%s">refresh</a> your product database and try again.', 'dhl', 'woocommerce-germanized' ), esc_url( Package::get_deutsche_post_shipping_provider()->get_edit_link( 'label' ) ) ) );
791
  }
792
  }
793
 
packages/woocommerce-germanized-dhl/src/Api/LabelSoap.php CHANGED
@@ -605,7 +605,7 @@ class LabelSoap extends Soap {
605
  }
606
 
607
  if ( ! empty( $missing_address_fields ) ) {
608
- throw new Exception( sprintf( _x( 'Your shipper address is incomplete (%1$s). Please validate your <a href="%2$s">settings</a> and try again.', 'dhl', 'woocommerce-germanized' ), implode( ', ', $missing_address_fields ), admin_url( 'admin.php?page=wc-settings&tab=germanized-shipments&section=address' ) ) );
609
  }
610
 
611
  $dhl_label_body['ShipmentOrder']['Shipment']['Shipper'] = array(
605
  }
606
 
607
  if ( ! empty( $missing_address_fields ) ) {
608
+ throw new Exception( sprintf( _x( 'Your shipper address is incomplete (%1$s). Please validate your <a href="%2$s">settings</a> and try again.', 'dhl', 'woocommerce-germanized' ), implode( ', ', $missing_address_fields ), esc_url( admin_url( 'admin.php?page=wc-settings&tab=germanized-shipments&section=address' ) ) ) );
609
  }
610
 
611
  $dhl_label_body['ShipmentOrder']['Shipment']['Shipper'] = array(
packages/woocommerce-germanized-dhl/src/Api/Rest.php CHANGED
@@ -69,7 +69,7 @@ abstract class Rest {
69
  Package::log( 'GET URL: ' . $wp_request_url );
70
 
71
  $wp_dhl_rest_response = wp_remote_get(
72
- $wp_request_url,
73
  array(
74
  'headers' => $wp_request_headers,
75
  'timeout' => 30
@@ -141,7 +141,7 @@ abstract class Rest {
141
  Package::log( 'POST URL: ' . $wp_request_url );
142
 
143
  $wp_dhl_rest_response = wp_remote_post(
144
- $wp_request_url,
145
  array(
146
  'headers' => $wp_request_headers,
147
  'timeout' => 100,
69
  Package::log( 'GET URL: ' . $wp_request_url );
70
 
71
  $wp_dhl_rest_response = wp_remote_get(
72
+ esc_url_raw( $wp_request_url ),
73
  array(
74
  'headers' => $wp_request_headers,
75
  'timeout' => 30
141
  Package::log( 'POST URL: ' . $wp_request_url );
142
 
143
  $wp_dhl_rest_response = wp_remote_post(
144
+ esc_url_raw( $wp_request_url ),
145
  array(
146
  'headers' => $wp_request_headers,
147
  'timeout' => 100,
packages/woocommerce-germanized-dhl/src/Api/Soap.php CHANGED
@@ -51,7 +51,7 @@ abstract class Soap {
51
  public function __construct( $wsdl_link ) {
52
  try {
53
  if ( ! Package::has_load_dependencies() ) {
54
- throw new Exception( sprintf( _x( 'To enable communication between your shop and DHL, the PHP <a href="%s">SOAPClient</a> is required. Please contact your host and make sure that SOAPClient is <a href="%s">installed</a>.', 'dhl', 'woocommerce-germanize-dhl' ), 'https://www.php.net/manual/class.soapclient.php', admin_url( 'admin.php?page=wc-status' ) ) );
55
  }
56
 
57
  $this->soap_auth = new AuthSoap( $this->get_wsdl_file( $wsdl_link ) );
@@ -78,7 +78,7 @@ abstract class Soap {
78
  }
79
 
80
  // Explicitly allow street_number fields to equal 0
81
- if ( empty( $v ) && ( ! in_array( $k, array( 'minorRelease', 'streetNumber', 'houseNumber' ) ) ) ) {
82
  unset( $array[ $k ] );
83
  }
84
  }
51
  public function __construct( $wsdl_link ) {
52
  try {
53
  if ( ! Package::has_load_dependencies() ) {
54
+ throw new Exception( sprintf( _x( 'To enable communication between your shop and DHL, the PHP <a href="%s">SOAPClient</a> is required. Please contact your host and make sure that SOAPClient is <a href="%s">installed</a>.', 'dhl', 'woocommerce-germanize-dhl' ), 'https://www.php.net/manual/class.soapclient.php', esc_url( admin_url( 'admin.php?page=wc-status' ) ) ) );
55
  }
56
 
57
  $this->soap_auth = new AuthSoap( $this->get_wsdl_file( $wsdl_link ) );
78
  }
79
 
80
  // Explicitly allow street_number fields to equal 0
81
+ if ( empty( $v ) && ( ! in_array( $k, array( 'minorRelease', 'streetNumber', 'houseNumber', 'zip' ) ) ) ) {
82
  unset( $array[ $k ] );
83
  }
84
  }
packages/woocommerce-germanized-dhl/src/Package.php CHANGED
@@ -25,7 +25,7 @@ class Package {
25
  *
26
  * @var string
27
  */
28
- const VERSION = '1.6.14';
29
 
30
  public static $upload_dir_suffix = '';
31
 
25
  *
26
  * @var string
27
  */
28
+ const VERSION = '1.6.15';
29
 
30
  public static $upload_dir_suffix = '';
31
 
packages/woocommerce-germanized-dhl/src/ParcelLocator.php CHANGED
@@ -1018,7 +1018,7 @@ class ParcelLocator {
1018
  if ( self::has_map() ) {
1019
  return '<a class="dhl-parcel-finder-link gzd-dhl-parcel-shop-modal" href="javascript:;">' . $text . '</a>';
1020
  } else {
1021
- return '<a href="' . self::get_pickup_locator_link() . '" class="dhl-parcel-finder-link dhl-parcel-finder-plain-link" target="_blank">' . $text . '</a>';
1022
  }
1023
  }
1024
 
@@ -1127,7 +1127,7 @@ class ParcelLocator {
1127
  ) );
1128
  }
1129
  } catch ( Exception $e ) {
1130
- $error = sprintf( _x( 'There was an error while communicating with DHL. Please manually find a %s or %s.', 'dhl', 'woocommerce-germanized' ), '<a href="' . self::get_pickup_locator_link() . '" target="_blank">' . _x( 'DHL location', 'dhl', 'woocommerce-germanized' ) . '</a>', '<a class="dhl-retry-search" href="#">' . _x( 'retry', 'dhl', 'woocommerce-germanized' ) . '</a>' );
1131
 
1132
  wp_send_json( array(
1133
  'success' => false,
1018
  if ( self::has_map() ) {
1019
  return '<a class="dhl-parcel-finder-link gzd-dhl-parcel-shop-modal" href="javascript:;">' . $text . '</a>';
1020
  } else {
1021
+ return '<a href="' . esc_url( self::get_pickup_locator_link() ) . '" class="dhl-parcel-finder-link dhl-parcel-finder-plain-link" target="_blank">' . $text . '</a>';
1022
  }
1023
  }
1024
 
1127
  ) );
1128
  }
1129
  } catch ( Exception $e ) {
1130
+ $error = sprintf( _x( 'There was an error while communicating with DHL. Please manually find a %s or %s.', 'dhl', 'woocommerce-germanized' ), '<a href="' . esc_url( self::get_pickup_locator_link() ) . '" target="_blank">' . _x( 'DHL location', 'dhl', 'woocommerce-germanized' ) . '</a>', '<a class="dhl-retry-search" href="#">' . _x( 'retry', 'dhl', 'woocommerce-germanized' ) . '</a>' );
1131
 
1132
  wp_send_json( array(
1133
  'success' => false,
packages/woocommerce-germanized-dhl/src/ShippingProvider/DHL.php CHANGED
@@ -986,7 +986,7 @@ class DHL extends Auto {
986
  array(
987
  'title' => _x( 'Customer Number (EKP)', 'dhl', 'woocommerce-germanized' ),
988
  'type' => 'text',
989
- 'desc' => '<div class="wc-gzd-additional-desc">' . sprintf( _x( 'Your 10 digits DHL customer number, also called "EKP". Find your %s in the DHL business portal.', 'dhl', 'woocommerce-germanized' ), '<a href="' . Package::get_geschaeftskunden_portal_url() .'" target="_blank">' . _x( 'customer number', 'dhl', 'woocommerce-germanized' ) . '</a>' ) . '</div>',
990
  'id' => 'account_number',
991
  'value' => $this->get_setting( 'account_number', '' ),
992
  'placeholder' => '1234567890',
@@ -1008,7 +1008,7 @@ class DHL extends Auto {
1008
  array(
1009
  'title' => _x( 'Live Username', 'dhl', 'woocommerce-germanized' ),
1010
  'type' => 'text',
1011
- 'desc' => '<div class="wc-gzd-additional-desc">' . sprintf( _x( 'Your username (<strong>not</strong> your email address) to the DHL business customer portal. Please make sure to test your access data in advance %s.', 'dhl', 'woocommerce-germanized' ), '<a href="' . Package::get_geschaeftskunden_portal_url() . '" target = "_blank">' . _x( 'here', 'dhl', 'woocommerce-germanized' ) . '</a>' ) . '</div>',
1012
  'id' => 'api_username',
1013
  'default' => '',
1014
  'value' => $this->get_setting( 'api_username', '' ),
@@ -1018,7 +1018,7 @@ class DHL extends Auto {
1018
  array(
1019
  'title' => _x( 'Live Password', 'dhl', 'woocommerce-germanized' ),
1020
  'type' => 'password',
1021
- 'desc' => '<div class="wc-gzd-additional-desc">' . sprintf( _x( 'Your password to the DHL business customer portal. Please note the new assignment of the password to 3 (Standard User) or 12 (System User) months and make sure to test your access data in advance %s.', 'dhl', 'woocommerce-germanized' ), '<a href="' . Package::get_geschaeftskunden_portal_url() . '" target = "_blank">' . _x( 'here', 'dhl', 'woocommerce-germanized' ) .'</a>' ) . '</div>',
1022
  'id' => 'api_password',
1023
  'value' => $this->get_setting( 'api_password', '' ),
1024
  'custom_attributes' => array( 'data-show_if_sandbox_mode' => 'no', 'autocomplete' => 'new-password' )
@@ -1431,7 +1431,7 @@ class DHL extends Auto {
1431
  $settings = array_merge( $settings, parent::get_label_settings( $for_shipping_method ) );
1432
 
1433
  $settings = array_merge( $settings, array(
1434
- array( 'title' => _x( 'Retoure', 'dhl', 'woocommerce-germanized' ), 'type' => 'title', 'id' => 'dhl_retoure_options', 'desc' => sprintf( _x( 'Adjust handling of return shipments through the DHL Retoure API. Make sure that your %s contains DHL Retoure Online.', 'dhl', 'woocommerce-germanized' ), '<a href="' . Package::get_geschaeftskunden_portal_url() . '">' . _x( 'contract', 'dhl', 'woocommerce-germanized' ) . '</a>' ) ),
1435
 
1436
  array(
1437
  'title' => _x( 'Retoure', 'dhl', 'woocommerce-germanized' ),
@@ -1511,7 +1511,7 @@ class DHL extends Auto {
1511
  ),
1512
  array(
1513
  'title' => _x( 'Sync (Visual Check)', 'dhl', 'woocommerce-germanized' ),
1514
- 'desc' => _x( 'Visually verify age if shipment contains applicable items.', 'dhl', 'woocommerce-germanized' ) . '<div class="wc-gzd-additional-desc">' . sprintf( _x( 'Germanized offers an %s to be enabled for certain products and/or product categories. By checking this option labels for shipments with applicable items will automatically have the visual age check service enabled.', 'dhl', 'woocommerce-germanized' ), '<a href="' . admin_url( 'admin.php?page=wc-settings&tab=germanized-checkboxes&checkbox_id=age_verification' ) . '">' . _x( 'age verification checkbox', 'dhl', 'woocommerce-germanized' ) . '</a>' ) . '</div>',
1515
  'id' => 'label_auto_age_check_sync',
1516
  'value' => wc_bool_to_string( $this->get_setting( 'label_auto_age_check_sync', 'yes' ) ),
1517
  'default' => 'yes',
@@ -1528,7 +1528,7 @@ class DHL extends Auto {
1528
  ),
1529
  array(
1530
  'title' => _x( 'Sync (Ident Check)', 'dhl', 'woocommerce-germanized' ),
1531
- 'desc' => _x( 'Verify identity and age if shipment contains applicable items.', 'dhl', 'woocommerce-germanized' ) . '<div class="wc-gzd-additional-desc">' . sprintf( _x( 'Germanized offers an %s to be enabled for certain products and/or product categories. By checking this option labels for shipments with applicable items will automatically have the identity check service enabled.', 'dhl', 'woocommerce-germanized' ), '<a href="' . admin_url( 'admin.php?page=wc-settings&tab=germanized-checkboxes&checkbox_id=age_verification' ) . '">' . _x( 'age verification checkbox', 'dhl', 'woocommerce-germanized' ) . '</a>' ) . '</div>',
1532
  'id' => 'label_auto_age_check_ident_sync',
1533
  'value' => wc_bool_to_string( $this->get_setting( 'label_auto_age_check_ident_sync', 'no' ) ),
1534
  'default' => 'no',
986
  array(
987
  'title' => _x( 'Customer Number (EKP)', 'dhl', 'woocommerce-germanized' ),
988
  'type' => 'text',
989
+ 'desc' => '<div class="wc-gzd-additional-desc">' . sprintf( _x( 'Your 10 digits DHL customer number, also called "EKP". Find your %s in the DHL business portal.', 'dhl', 'woocommerce-germanized' ), '<a href="' . esc_url( Package::get_geschaeftskunden_portal_url() ) .'" target="_blank">' . _x( 'customer number', 'dhl', 'woocommerce-germanized' ) . '</a>' ) . '</div>',
990
  'id' => 'account_number',
991
  'value' => $this->get_setting( 'account_number', '' ),
992
  'placeholder' => '1234567890',
1008
  array(
1009
  'title' => _x( 'Live Username', 'dhl', 'woocommerce-germanized' ),
1010
  'type' => 'text',
1011
+ 'desc' => '<div class="wc-gzd-additional-desc">' . sprintf( _x( 'Your username (<strong>not</strong> your email address) to the DHL business customer portal. Please make sure to test your access data in advance %s.', 'dhl', 'woocommerce-germanized' ), '<a href="' . esc_url( Package::get_geschaeftskunden_portal_url() ) . '" target = "_blank">' . _x( 'here', 'dhl', 'woocommerce-germanized' ) . '</a>' ) . '</div>',
1012
  'id' => 'api_username',
1013
  'default' => '',
1014
  'value' => $this->get_setting( 'api_username', '' ),
1018
  array(
1019
  'title' => _x( 'Live Password', 'dhl', 'woocommerce-germanized' ),
1020
  'type' => 'password',
1021
+ 'desc' => '<div class="wc-gzd-additional-desc">' . sprintf( _x( 'Your password to the DHL business customer portal. Please note the new assignment of the password to 3 (Standard User) or 12 (System User) months and make sure to test your access data in advance %s.', 'dhl', 'woocommerce-germanized' ), '<a href="' . esc_url( Package::get_geschaeftskunden_portal_url() ) . '" target = "_blank">' . _x( 'here', 'dhl', 'woocommerce-germanized' ) .'</a>' ) . '</div>',
1022
  'id' => 'api_password',
1023
  'value' => $this->get_setting( 'api_password', '' ),
1024
  'custom_attributes' => array( 'data-show_if_sandbox_mode' => 'no', 'autocomplete' => 'new-password' )
1431
  $settings = array_merge( $settings, parent::get_label_settings( $for_shipping_method ) );
1432
 
1433
  $settings = array_merge( $settings, array(
1434
+ array( 'title' => _x( 'Retoure', 'dhl', 'woocommerce-germanized' ), 'type' => 'title', 'id' => 'dhl_retoure_options', 'desc' => sprintf( _x( 'Adjust handling of return shipments through the DHL Retoure API. Make sure that your %s contains DHL Retoure Online.', 'dhl', 'woocommerce-germanized' ), '<a href="' . esc_url( Package::get_geschaeftskunden_portal_url() ) . '">' . _x( 'contract', 'dhl', 'woocommerce-germanized' ) . '</a>' ) ),
1435
 
1436
  array(
1437
  'title' => _x( 'Retoure', 'dhl', 'woocommerce-germanized' ),
1511
  ),
1512
  array(
1513
  'title' => _x( 'Sync (Visual Check)', 'dhl', 'woocommerce-germanized' ),
1514
+ 'desc' => _x( 'Visually verify age if shipment contains applicable items.', 'dhl', 'woocommerce-germanized' ) . '<div class="wc-gzd-additional-desc">' . sprintf( _x( 'Germanized offers an %s to be enabled for certain products and/or product categories. By checking this option labels for shipments with applicable items will automatically have the visual age check service enabled.', 'dhl', 'woocommerce-germanized' ), '<a href="' . esc_url( admin_url( 'admin.php?page=wc-settings&tab=germanized-checkboxes&checkbox_id=age_verification' ) ) . '">' . _x( 'age verification checkbox', 'dhl', 'woocommerce-germanized' ) . '</a>' ) . '</div>',
1515
  'id' => 'label_auto_age_check_sync',
1516
  'value' => wc_bool_to_string( $this->get_setting( 'label_auto_age_check_sync', 'yes' ) ),
1517
  'default' => 'yes',
1528
  ),
1529
  array(
1530
  'title' => _x( 'Sync (Ident Check)', 'dhl', 'woocommerce-germanized' ),
1531
+ 'desc' => _x( 'Verify identity and age if shipment contains applicable items.', 'dhl', 'woocommerce-germanized' ) . '<div class="wc-gzd-additional-desc">' . sprintf( _x( 'Germanized offers an %s to be enabled for certain products and/or product categories. By checking this option labels for shipments with applicable items will automatically have the identity check service enabled.', 'dhl', 'woocommerce-germanized' ), '<a href="' . esc_url( admin_url( 'admin.php?page=wc-settings&tab=germanized-checkboxes&checkbox_id=age_verification' ) ) . '">' . _x( 'age verification checkbox', 'dhl', 'woocommerce-germanized' ) . '</a>' ) . '</div>',
1532
  'id' => 'label_auto_age_check_ident_sync',
1533
  'value' => wc_bool_to_string( $this->get_setting( 'label_auto_age_check_ident_sync', 'no' ) ),
1534
  'default' => 'no',
packages/woocommerce-germanized-dhl/src/ShippingProvider/DeutschePost.php CHANGED
@@ -217,7 +217,7 @@ class DeutschePost extends Auto {
217
  'title' => _x( 'Available Products', 'dhl', 'woocommerce-germanized' ),
218
  'id' => 'available_products',
219
  'class' => 'wc-enhanced-select',
220
- 'desc' => '<div class="wc-gzd-additional-desc">' . sprintf( _x( 'Choose the products you want to be available for your shipments from the list above. Manually <a href="%s">refresh</a> the product list to make sure it is up-to-date.', 'dhl', 'woocommerce-germanized' ), wp_nonce_url( add_query_arg( array( 'action' => 'wc-gzd-dhl-im-product-refresh' ), $settings_url ), 'wc-gzd-dhl-refresh-im-products' ) ) . '</div>',
221
  'type' => 'multiselect',
222
  'value' => $this->get_setting( 'available_products', $product_options['default_available'] ),
223
  'options' => $product_options['available'],
@@ -268,7 +268,7 @@ class DeutschePost extends Auto {
268
  'title' => _x( 'Default Format', 'dhl', 'woocommerce-germanized' ),
269
  'id' => 'label_default_page_format',
270
  'class' => 'wc-enhanced-select',
271
- 'desc' => '<div class="wc-gzd-additional-desc">' . sprintf( _x( 'Choose a print format which will be selected by default when creating labels. Manually <a href="%s">refresh</a> available print formats to make sure the list is up-to-date.', 'dhl', 'woocommerce-germanized' ), wp_nonce_url( add_query_arg( array( 'action' => 'wc-gzd-dhl-im-page-formats-refresh' ), $settings_url ), 'wc-gzd-dhl-refresh-im-page-formats' ) ) . '</div>',
272
  'type' => 'select',
273
  'value' => $this->get_setting( 'label_default_page_format', 1 ),
274
  'options' => $page_format_options,
@@ -396,7 +396,7 @@ class DeutschePost extends Auto {
396
  }
397
 
398
  if ( empty( $products ) ) {
399
- return new \WP_Error( 'dp-label-missing-products', sprintf( _x( 'Sorry but none of your selected <a href="%s">Deutsche Post Products</a> is available for this shipment. Please verify your shipment data (e.g. weight) and try again.', 'dhl', 'woocommerce-germanized' ), $this->get_edit_link( 'label' ) ) );
400
  }
401
 
402
  $settings = array_merge( $settings, $this->get_available_additional_services( $default_args['product_id'], $default_args['services'] ) );
@@ -621,7 +621,7 @@ class DeutschePost extends Auto {
621
  * In case no other products are available or this is a manual request - return error
622
  */
623
  if ( empty( $available_products ) || ( is_admin() && current_user_can( 'manage_woocommerce' ) ) ) {
624
- $error->add( 500, sprintf( _x( 'Sorry but none of your selected <a href="%s">Deutsche Post Products</a> is available for this shipment. Please verify your shipment data (e.g. weight) and try again.', 'dhl', 'woocommerce-germanized' ), $this->get_edit_link( 'label' ) ) );
625
  } else {
626
  /**
627
  * In case the chosen product is not available - use the first product available instead
217
  'title' => _x( 'Available Products', 'dhl', 'woocommerce-germanized' ),
218
  'id' => 'available_products',
219
  'class' => 'wc-enhanced-select',
220
+ 'desc' => '<div class="wc-gzd-additional-desc">' . sprintf( _x( 'Choose the products you want to be available for your shipments from the list above. Manually <a href="%s">refresh</a> the product list to make sure it is up-to-date.', 'dhl', 'woocommerce-germanized' ), esc_url( wp_nonce_url( add_query_arg( array( 'action' => 'wc-gzd-dhl-im-product-refresh' ), $settings_url ), 'wc-gzd-dhl-refresh-im-products' ) ) ) . '</div>',
221
  'type' => 'multiselect',
222
  'value' => $this->get_setting( 'available_products', $product_options['default_available'] ),
223
  'options' => $product_options['available'],
268
  'title' => _x( 'Default Format', 'dhl', 'woocommerce-germanized' ),
269
  'id' => 'label_default_page_format',
270
  'class' => 'wc-enhanced-select',
271
+ 'desc' => '<div class="wc-gzd-additional-desc">' . sprintf( _x( 'Choose a print format which will be selected by default when creating labels. Manually <a href="%s">refresh</a> available print formats to make sure the list is up-to-date.', 'dhl', 'woocommerce-germanized' ), esc_url( wp_nonce_url( add_query_arg( array( 'action' => 'wc-gzd-dhl-im-page-formats-refresh' ), $settings_url ), 'wc-gzd-dhl-refresh-im-page-formats' ) ) ) . '</div>',
272
  'type' => 'select',
273
  'value' => $this->get_setting( 'label_default_page_format', 1 ),
274
  'options' => $page_format_options,
396
  }
397
 
398
  if ( empty( $products ) ) {
399
+ return new \WP_Error( 'dp-label-missing-products', sprintf( _x( 'Sorry but none of your selected <a href="%s">Deutsche Post Products</a> is available for this shipment. Please verify your shipment data (e.g. weight) and try again.', 'dhl', 'woocommerce-germanized' ), esc_url( $this->get_edit_link( 'label' ) ) ) );
400
  }
401
 
402
  $settings = array_merge( $settings, $this->get_available_additional_services( $default_args['product_id'], $default_args['services'] ) );
621
  * In case no other products are available or this is a manual request - return error
622
  */
623
  if ( empty( $available_products ) || ( is_admin() && current_user_can( 'manage_woocommerce' ) ) ) {
624
+ $error->add( 500, sprintf( _x( 'Sorry but none of your selected <a href="%s">Deutsche Post Products</a> is available for this shipment. Please verify your shipment data (e.g. weight) and try again.', 'dhl', 'woocommerce-germanized' ), esc_url( $this->get_edit_link( 'label' ) ) ) );
625
  } else {
626
  /**
627
  * In case the chosen product is not available - use the first product available instead
packages/woocommerce-germanized-dhl/templates/checkout/dhl/preferred-services.php CHANGED
@@ -12,7 +12,7 @@
12
  *
13
  * @see https://github.com/vendidero/woocommerce-germanized/wiki/Overriding-Germanized-Templates
14
  * @package Germanized/DHL/Templates
15
- * @version 1.0.0
16
  */
17
  defined( 'ABSPATH' ) || exit;
18
  ?>
@@ -21,7 +21,7 @@ defined( 'ABSPATH' ) || exit;
21
  <td colspan="2" class="dhl-preferred-service-content">
22
  <div class="dhl-preferred-service-item dhl-preferred-service-header">
23
  <div class="dhl-preferred-service-logo">
24
- <img src="<?php echo $logo_url; ?>" alt="DHL logo" class="dhl-co-logo">
25
  </div>
26
  <div class="dhl-preferred-service-title">
27
  <?php _ex('DHL Preferred Delivery. Delivered just as you wish.', 'dhl', 'woocommerce-germanized' ); ?>
12
  *
13
  * @see https://github.com/vendidero/woocommerce-germanized/wiki/Overriding-Germanized-Templates
14
  * @package Germanized/DHL/Templates
15
+ * @version 1.0.1
16
  */
17
  defined( 'ABSPATH' ) || exit;
18
  ?>
21
  <td colspan="2" class="dhl-preferred-service-content">
22
  <div class="dhl-preferred-service-item dhl-preferred-service-header">
23
  <div class="dhl-preferred-service-logo">
24
+ <img src="<?php echo esc_url( $logo_url ); ?>" alt="DHL logo" class="dhl-co-logo">
25
  </div>
26
  <div class="dhl-preferred-service-title">
27
  <?php _ex('DHL Preferred Delivery. Delivered just as you wish.', 'dhl', 'woocommerce-germanized' ); ?>
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.14
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.15
9
  * Requires PHP: 5.6
10
  * License: GPLv3
11
  *
packages/woocommerce-germanized-shipments/includes/admin/views/html-settings-provider-list.php CHANGED
@@ -50,13 +50,13 @@ defined( 'ABSPATH' ) || exit;
50
  <a class="button button-secondary wc-gzd-dash-button help-link"
51
  aria-label="<?php echo esc_attr_x( 'Help', 'shipments', 'woocommerce-germanized' ); ?>"
52
  title="<?php echo esc_attr_x( 'Help', 'shipments', 'woocommerce-germanized' ); ?>"
53
- href="<?php echo $provider->get_help_link(); ?>"><?php _ex( 'Help', 'shipments', 'woocommerce-germanized' ); ?>
54
  </a>
55
  <?php endif; ?>
56
  <a class="button button-secondary wc-gzd-dash-button"
57
  aria-label="<?php echo esc_attr_x( 'Manage shipping provider', 'shipments', 'woocommerce-germanized' ); ?>"
58
  title="<?php echo esc_attr_x( 'Manage shipping provider', 'shipments', 'woocommerce-germanized' ); ?>"
59
- href="<?php echo $provider->get_edit_link(); ?>"><?php _ex( 'Manage', 'shipments', 'woocommerce-germanized' ); ?>
60
  </a>
61
  </td>
62
  </tr>
50
  <a class="button button-secondary wc-gzd-dash-button help-link"
51
  aria-label="<?php echo esc_attr_x( 'Help', 'shipments', 'woocommerce-germanized' ); ?>"
52
  title="<?php echo esc_attr_x( 'Help', 'shipments', 'woocommerce-germanized' ); ?>"
53
+ href="<?php echo esc_url( $provider->get_help_link() ); ?>"><?php _ex( 'Help', 'shipments', 'woocommerce-germanized' ); ?>
54
  </a>
55
  <?php endif; ?>
56
  <a class="button button-secondary wc-gzd-dash-button"
57
  aria-label="<?php echo esc_attr_x( 'Manage shipping provider', 'shipments', 'woocommerce-germanized' ); ?>"
58
  title="<?php echo esc_attr_x( 'Manage shipping provider', 'shipments', 'woocommerce-germanized' ); ?>"
59
+ href="<?php echo esc_url( $provider->get_edit_link() ); ?>"><?php _ex( 'Manage', 'shipments', 'woocommerce-germanized' ); ?>
60
  </a>
61
  </td>
62
  </tr>
packages/woocommerce-germanized-shipments/includes/admin/views/label/html-shipment-label.php CHANGED
@@ -20,7 +20,7 @@ use Vendidero\Germanized\Shipments\Shipment;
20
  <?php if ( $label ) : ?>
21
  <div class="shipment-label-actions-wrapper shipment-label-actions-download">
22
  <?php if ( $label->get_file() ) : ?>
23
- <a class="button button-secondary download-shipment-label" href="<?php echo $label->get_download_url(); ?>" target="_blank"><?php _ex( 'Download', 'shipments', 'woocommerce-germanized' ); ?></a>
24
  <?php endif; ?>
25
  <?php
26
  /**
20
  <?php if ( $label ) : ?>
21
  <div class="shipment-label-actions-wrapper shipment-label-actions-download">
22
  <?php if ( $label->get_file() ) : ?>
23
+ <a class="button button-secondary download-shipment-label" href="<?php echo esc_url( $label->get_download_url() ); ?>" target="_blank"><?php _ex( 'Download', 'shipments', 'woocommerce-germanized' ); ?></a>
24
  <?php endif; ?>
25
  <?php
26
  /**
packages/woocommerce-germanized-shipments/src/Admin/Admin.php CHANGED
@@ -663,11 +663,11 @@ class Admin {
663
 
664
  $sendback = remove_query_arg( array( 'action', 'action2', '_status', 'bulk_edit', 'shipment' ), $sendback );
665
 
666
- wp_redirect( $sendback );
667
  exit();
668
 
669
  } elseif ( ! empty( $_REQUEST['_wp_http_referer'] ) ) {
670
- wp_redirect( remove_query_arg( array( '_wp_http_referer', '_wpnonce' ), wp_unslash( $_SERVER['REQUEST_URI'] ) ) );
671
  exit;
672
  }
673
 
663
 
664
  $sendback = remove_query_arg( array( 'action', 'action2', '_status', 'bulk_edit', 'shipment' ), $sendback );
665
 
666
+ wp_redirect( esc_url_raw( $sendback ) );
667
  exit();
668
 
669
  } elseif ( ! empty( $_REQUEST['_wp_http_referer'] ) ) {
670
+ wp_redirect( esc_url_raw( remove_query_arg( array( '_wp_http_referer', '_wpnonce' ), wp_unslash( $_SERVER['REQUEST_URI'] ) ) ) );
671
  exit;
672
  }
673
 
packages/woocommerce-germanized-shipments/src/Admin/BulkLabel.php CHANGED
@@ -80,7 +80,7 @@ class BulkLabel extends BulkActionHandler {
80
  'force' => 'no'
81
  ), wp_nonce_url( admin_url(), 'download-export-shipment-label' ) );
82
 
83
- $download_button = '<a class="button button-primary bulk-download-button" style="margin-left: 1em;" href="' . $download_url . '" target="_blank">' . _x( 'Download labels', 'shipments', 'woocommerce-germanized' ) . '</a>';
84
  }
85
 
86
  return $download_button;
@@ -140,7 +140,7 @@ class BulkLabel extends BulkActionHandler {
140
  $result = $shipment->create_label();
141
 
142
  if ( is_wp_error( $result ) ) {
143
- $this->add_notice( sprintf( _x( 'Error while creating label for %s: %s', 'shipments', 'woocommerce-germanized' ), '<a href="' . $shipment->get_edit_shipment_url() .'" target="_blank">' . sprintf( _x( 'shipment #%d', 'shipments', 'woocommerce-germanized' ), $shipment_id ) . '</a>', $result->get_error_message() ), 'error' );
144
  } else {
145
  $label = $shipment->get_label();
146
  }
80
  'force' => 'no'
81
  ), wp_nonce_url( admin_url(), 'download-export-shipment-label' ) );
82
 
83
+ $download_button = '<a class="button button-primary bulk-download-button" style="margin-left: 1em;" href="' . esc_url( $download_url ) . '" target="_blank">' . _x( 'Download labels', 'shipments', 'woocommerce-germanized' ) . '</a>';
84
  }
85
 
86
  return $download_button;
140
  $result = $shipment->create_label();
141
 
142
  if ( is_wp_error( $result ) ) {
143
+ $this->add_notice( sprintf( _x( 'Error while creating label for %s: %s', 'shipments', 'woocommerce-germanized' ), '<a href="' . esc_url( $shipment->get_edit_shipment_url() ) .'" target="_blank">' . sprintf( _x( 'shipment #%d', 'shipments', 'woocommerce-germanized' ), $shipment_id ) . '</a>', $result->get_error_message() ), 'error' );
144
  } else {
145
  $label = $shipment->get_label();
146
  }
packages/woocommerce-germanized-shipments/src/Admin/ProviderSettings.php CHANGED
@@ -186,7 +186,7 @@ class ProviderSettings {
186
  $label = $label . '<a class="page-title-action" href="' . esc_url( $provider->get_signup_link() ) . '" target="_blank">' . _x( 'Not yet a customer?', 'shipments', 'woocommerce-germanized' ) . '</a>';
187
  }
188
  } elseif ( ! $provider ) {
189
- $label = $label . '<a href="' . admin_url( 'admin.php?page=wc-settings&tab=germanized-shipping_provider&provider=new' ) . '" class="page-title-action">' . _x( 'Add provider', 'shipments', 'woocommerce-germanized' ) . '</a>';
190
 
191
  if ( ! empty( $help_link ) ) {
192
  $label = $label . '<a class="page-title-action" href="' . esc_url( self::get_help_link() ) . '" target="_blank">' . _x( 'Learn more', 'shipments', 'woocommerce-germanized' ) . '</a>';
186
  $label = $label . '<a class="page-title-action" href="' . esc_url( $provider->get_signup_link() ) . '" target="_blank">' . _x( 'Not yet a customer?', 'shipments', 'woocommerce-germanized' ) . '</a>';
187
  }
188
  } elseif ( ! $provider ) {
189
+ $label = $label . '<a href="' . esc_url( admin_url( 'admin.php?page=wc-settings&tab=germanized-shipping_provider&provider=new' ) ) . '" class="page-title-action">' . _x( 'Add provider', 'shipments', 'woocommerce-germanized' ) . '</a>';
190
 
191
  if ( ! empty( $help_link ) ) {
192
  $label = $label . '<a class="page-title-action" href="' . esc_url( self::get_help_link() ) . '" target="_blank">' . _x( 'Learn more', 'shipments', 'woocommerce-germanized' ) . '</a>';
packages/woocommerce-germanized-shipments/src/Admin/Settings.php CHANGED
@@ -96,7 +96,7 @@ class Settings {
96
 
97
  array(
98
  'title' => _x( 'Notify', 'shipments', 'woocommerce-germanized' ),
99
- 'desc' => _x( 'Notify customers about new shipments.', 'shipments', 'woocommerce-germanized' ) . '<div class="wc-gzd-additional-desc">' . sprintf( _x( 'Notify customers by email as soon as a shipment is marked as shipped. %s the notification email.', 'shipments', 'woocommerce-germanized' ), '<a href="' . admin_url( 'admin.php?page=wc-settings&tab=email&section=wc_gzd_email_customer_shipment' ) . '" target="_blank">' . _x( 'Manage', 'shipments notification', 'woocommerce-germanized' ) .'</a>' ) . '</div>',
100
  'id' => 'woocommerce_gzd_shipments_notify_enable',
101
  'default' => 'yes',
102
  'type' => 'gzd_toggle',
@@ -169,7 +169,7 @@ class Settings {
169
 
170
  array( 'type' => 'sectionend', 'id' => 'shipments_auto_options' ),
171
 
172
- array( 'title' => _x( 'Returns', 'shipments', 'woocommerce-germanized' ), 'type' => 'title', 'id' => 'shipments_return_options', 'desc' => sprintf( _x( 'Returns can be added manually by the shop manager or by the customer. Decide what suits you best by turning customer-added returns on or off in your %s.', 'shipments', 'woocommerce-germanized' ), '<a href="' . admin_url( 'admin.php?page=wc-settings&tab=germanized-shipping_provider' ) . '">' . _x( 'shipping provider settings', 'shipments', 'woocommerce-germanized' ) . '</a>' ) ),
173
 
174
  array(
175
  'type' => 'shipment_return_reasons',
@@ -177,7 +177,7 @@ class Settings {
177
 
178
  array(
179
  'title' => _x( 'Days to return', 'shipments', 'woocommerce-germanized' ),
180
- 'desc' => '<div class="wc-gzd-additional-desc">' . sprintf( _x( 'In case one of your %s supports returns added by customers you might want to limit the number of days a customer is allowed to add returns to an order. The days are counted starting with the date the order was shipped, completed or created (by checking for existance in this order).', 'shipments', 'woocommerce-germanized' ), '<a href="' . admin_url( 'admin.php?page=wc-settings&tab=germanized-shipping_provider' ) . '">' . _x( 'shipping providers', 'shipments', 'woocommerce-germanized' ) . '</a>' ) . '</div>',
181
  'css' => 'max-width: 60px;',
182
  'type' => 'number',
183
  'id' => 'woocommerce_gzd_shipments_customer_return_open_days',
96
 
97
  array(
98
  'title' => _x( 'Notify', 'shipments', 'woocommerce-germanized' ),
99
+ 'desc' => _x( 'Notify customers about new shipments.', 'shipments', 'woocommerce-germanized' ) . '<div class="wc-gzd-additional-desc">' . sprintf( _x( 'Notify customers by email as soon as a shipment is marked as shipped. %s the notification email.', 'shipments', 'woocommerce-germanized' ), '<a href="' . esc_url( admin_url( 'admin.php?page=wc-settings&tab=email&section=wc_gzd_email_customer_shipment' ) ) . '" target="_blank">' . _x( 'Manage', 'shipments notification', 'woocommerce-germanized' ) .'</a>' ) . '</div>',
100
  'id' => 'woocommerce_gzd_shipments_notify_enable',
101
  'default' => 'yes',
102
  'type' => 'gzd_toggle',
169
 
170
  array( 'type' => 'sectionend', 'id' => 'shipments_auto_options' ),
171
 
172
+ array( 'title' => _x( 'Returns', 'shipments', 'woocommerce-germanized' ), 'type' => 'title', 'id' => 'shipments_return_options', 'desc' => sprintf( _x( 'Returns can be added manually by the shop manager or by the customer. Decide what suits you best by turning customer-added returns on or off in your %s.', 'shipments', 'woocommerce-germanized' ), '<a href="' . esc_url( admin_url( 'admin.php?page=wc-settings&tab=germanized-shipping_provider' ) ) . '">' . _x( 'shipping provider settings', 'shipments', 'woocommerce-germanized' ) . '</a>' ) ),
173
 
174
  array(
175
  'type' => 'shipment_return_reasons',
177
 
178
  array(
179
  'title' => _x( 'Days to return', 'shipments', 'woocommerce-germanized' ),
180
+ 'desc' => '<div class="wc-gzd-additional-desc">' . sprintf( _x( 'In case one of your %s supports returns added by customers you might want to limit the number of days a customer is allowed to add returns to an order. The days are counted starting with the date the order was shipped, completed or created (by checking for existance in this order).', 'shipments', 'woocommerce-germanized' ), '<a href="' . esc_url( admin_url( 'admin.php?page=wc-settings&tab=germanized-shipping_provider' ) ) . '">' . _x( 'shipping providers', 'shipments', 'woocommerce-germanized' ) . '</a>' ) . '</div>',
181
  'css' => 'max-width: 60px;',
182
  'type' => 'number',
183
  'id' => 'woocommerce_gzd_shipments_customer_return_open_days',
packages/woocommerce-germanized-shipments/src/Admin/Table.php CHANGED
@@ -787,7 +787,7 @@ class Table extends WP_List_Table {
787
  $title = sprintf( _x( '%s #%s', 'shipment title', 'woocommerce-germanized' ), wc_gzd_get_shipment_label_title( $shipment->get_type() ), $shipment->get_id() );
788
 
789
  if ( $order = $shipment->get_order() ) {
790
- echo '<a href="' . $shipment->get_edit_shipment_url() . '">' . $title . '</a> ';
791
  } else {
792
  echo $title . ' ';
793
  }
@@ -949,7 +949,7 @@ class Table extends WP_List_Table {
949
  <tr class="wc-gzd-shipment-item-preview wc-gzd-shipment-item-preview-<?php echo esc_attr( $item->get_id() ); ?>">
950
  <td class="wc-gzd-shipment-item-column-name">
951
  <?php if ( $product = $item->get_product() ) : ?>
952
- <a href="<?php echo get_edit_post_link( $product->get_parent_id() > 0 ? $product->get_parent_id() : $product->get_id() ); ?>"><?php echo wp_kses_post( $item->get_name() ); ?></a>
953
  <?php else: ?>
954
  <?php echo wp_kses_post( $item->get_name() ); ?>
955
  <?php endif; ?>
@@ -1095,7 +1095,7 @@ class Table extends WP_List_Table {
1095
  */
1096
  public function column_order( $shipment ) {
1097
  if ( ( $order = $shipment->get_order() ) && is_callable( array( $order, 'get_edit_order_url' ) ) ) {
1098
- echo '<a href="' . $order->get_edit_order_url() . '">' . $order->get_order_number() . '</a>';
1099
  } else {
1100
  echo $shipment->get_order_id();
1101
  }
787
  $title = sprintf( _x( '%s #%s', 'shipment title', 'woocommerce-germanized' ), wc_gzd_get_shipment_label_title( $shipment->get_type() ), $shipment->get_id() );
788
 
789
  if ( $order = $shipment->get_order() ) {
790
+ echo '<a href="' . esc_url( $shipment->get_edit_shipment_url() ) . '">' . $title . '</a> ';
791
  } else {
792
  echo $title . ' ';
793
  }
949
  <tr class="wc-gzd-shipment-item-preview wc-gzd-shipment-item-preview-<?php echo esc_attr( $item->get_id() ); ?>">
950
  <td class="wc-gzd-shipment-item-column-name">
951
  <?php if ( $product = $item->get_product() ) : ?>
952
+ <a href="<?php echo esc_url( get_edit_post_link( $product->get_parent_id() > 0 ? $product->get_parent_id() : $product->get_id() ) ); ?>"><?php echo wp_kses_post( $item->get_name() ); ?></a>
953
  <?php else: ?>
954
  <?php echo wp_kses_post( $item->get_name() ); ?>
955
  <?php endif; ?>
1095
  */
1096
  public function column_order( $shipment ) {
1097
  if ( ( $order = $shipment->get_order() ) && is_callable( array( $order, 'get_edit_order_url' ) ) ) {
1098
+ echo '<a href="' . esc_url( $order->get_edit_order_url() ) . '">' . $order->get_order_number() . '</a>';
1099
  } else {
1100
  echo $shipment->get_order_id();
1101
  }
packages/woocommerce-germanized-shipments/src/Ajax.php CHANGED
@@ -339,7 +339,7 @@ class Ajax {
339
  * @return string
340
  */
341
  protected static function label_download_button_html( $label ) {
342
- return '<a class="button wc-gzd-shipment-action-button wc-gzd-shipment-action-button-download-label download" href="' . $label->get_download_url() .'" target="_blank" title="' . _x( 'Download label', 'shipments', 'woocommerce-germanized' ) . '">' . _x( 'Download label', 'shipments', 'woocommerce-germanized' ) . '</a>';
343
  }
344
 
345
  public static function edit_shipping_provider_status() {
339
  * @return string
340
  */
341
  protected static function label_download_button_html( $label ) {
342
+ return '<a class="button wc-gzd-shipment-action-button wc-gzd-shipment-action-button-download-label download" href="' . esc_url( $label->get_download_url() ) .'" target="_blank" title="' . _x( 'Download label', 'shipments', 'woocommerce-germanized' ) . '">' . _x( 'Download label', 'shipments', 'woocommerce-germanized' ) . '</a>';
343
  }
344
 
345
  public static function edit_shipping_provider_status() {
packages/woocommerce-germanized-shipments/src/FormHandler.php CHANGED
@@ -292,7 +292,7 @@ class FormHandler {
292
  */
293
  $redirect = apply_filters( 'woocommerce_gzd_customer_new_return_shipment_request_redirect', $return_url, $return_shipment, $needs_manual_confirmation );
294
 
295
- wp_safe_redirect( $redirect );
296
  exit;
297
  }
298
  }
292
  */
293
  $redirect = apply_filters( 'woocommerce_gzd_customer_new_return_shipment_request_redirect', $return_url, $return_shipment, $needs_manual_confirmation );
294
 
295
+ wp_safe_redirect( esc_url_raw( $redirect ) );
296
  exit;
297
  }
298
  }
packages/woocommerce-germanized-shipments/src/Labels/Label.php CHANGED
@@ -482,7 +482,7 @@ class Label extends WC_Data implements ShipmentLabel {
482
  * @since 3.0.6
483
  * @package Vendidero/Germanized/Shipments
484
  */
485
- return apply_filters( "{$this->get_hook_prefix()}download_url", $download_url, $this );
486
  }
487
 
488
  /**
482
  * @since 3.0.6
483
  * @package Vendidero/Germanized/Shipments
484
  */
485
+ return esc_url_raw( apply_filters( "{$this->get_hook_prefix()}download_url", $download_url, $this ) );
486
  }
487
 
488
  /**
packages/woocommerce-germanized-shipments/src/Package.php CHANGED
@@ -18,7 +18,7 @@ class Package {
18
  *
19
  * @var string
20
  */
21
- const VERSION = '1.6.8';
22
 
23
  public static $upload_dir_suffix = '';
24
 
18
  *
19
  * @var string
20
  */
21
+ const VERSION = '1.6.9';
22
 
23
  public static $upload_dir_suffix = '';
24
 
packages/woocommerce-germanized-shipments/src/ShippingProvider/Simple.php CHANGED
@@ -156,7 +156,7 @@ class Simple extends WC_Data implements ShippingProvider {
156
  $url = admin_url( 'admin.php?page=wc-settings&tab=germanized-shipping_provider&provider=' . esc_attr( $this->get_name() ) );
157
  $url = add_query_arg( array( 'section' => $section ), $url );
158
 
159
- return $url;
160
  }
161
 
162
  /**
@@ -973,7 +973,7 @@ class Simple extends WC_Data implements ShippingProvider {
973
  $settings = array_merge( $settings, array(
974
  array(
975
  'title' => _x( 'Customer returns', 'shipments', 'woocommerce-germanized' ),
976
- 'desc' => _x( 'Allow customers to submit return requests to shipments.', 'shipments', 'woocommerce-germanized' ) . '<div class="wc-gzd-additional-desc">' . sprintf( _x( 'This option will allow your customers to submit return requests to orders. Return requests will be visible within your %s. To learn more about return requests by customers and/or guests, please check the %s.', 'shipments', 'woocommerce-germanized' ), '<a href="' . admin_url( 'admin.php?page=wc-gzd-return-shipments' ) . '">' . _x( 'Return Dashboard', 'shipments', 'woocommerce-germanized' ) . '</a>', '<a href="https://vendidero.de/dokument/retouren-konfigurieren-und-verwalten" target="_blank">' . _x( 'docs', 'shipments', 'woocommerce-germanized' ) . '</a>' ) . '</div>',
977
  'id' => 'supports_customer_returns',
978
  'placeholder' => '',
979
  'value' => wc_bool_to_string( $this->get_supports_customer_returns( 'edit' ) ),
@@ -1094,7 +1094,7 @@ class Simple extends WC_Data implements ShippingProvider {
1094
  }
1095
 
1096
  if( 'title' === $new_setting['type'] ) {
1097
- $new_setting['description'] = sprintf( _x( 'These settings override your <a href="%1$s">global %2$s options</a>. Do only adjust these settings in case you would like to specifically adjust them for this specific shipping method.', 'shipments', 'woocommerce-germanized' ), $global_settings_url, $this->get_title() );
1098
 
1099
  if ( empty( $setting['title'] ) ) {
1100
  $new_setting['title'] = $default_title;
156
  $url = admin_url( 'admin.php?page=wc-settings&tab=germanized-shipping_provider&provider=' . esc_attr( $this->get_name() ) );
157
  $url = add_query_arg( array( 'section' => $section ), $url );
158
 
159
+ return esc_url_raw( $url );
160
  }
161
 
162
  /**
973
  $settings = array_merge( $settings, array(
974
  array(
975
  'title' => _x( 'Customer returns', 'shipments', 'woocommerce-germanized' ),
976
+ 'desc' => _x( 'Allow customers to submit return requests to shipments.', 'shipments', 'woocommerce-germanized' ) . '<div class="wc-gzd-additional-desc">' . sprintf( _x( 'This option will allow your customers to submit return requests to orders. Return requests will be visible within your %s. To learn more about return requests by customers and/or guests, please check the %s.', 'shipments', 'woocommerce-germanized' ), '<a href="' . esc_url( admin_url( 'admin.php?page=wc-gzd-return-shipments' ) ) . '">' . _x( 'Return Dashboard', 'shipments', 'woocommerce-germanized' ) . '</a>', '<a href="https://vendidero.de/dokument/retouren-konfigurieren-und-verwalten" target="_blank">' . _x( 'docs', 'shipments', 'woocommerce-germanized' ) . '</a>' ) . '</div>',
977
  'id' => 'supports_customer_returns',
978
  'placeholder' => '',
979
  'value' => wc_bool_to_string( $this->get_supports_customer_returns( 'edit' ) ),
1094
  }
1095
 
1096
  if( 'title' === $new_setting['type'] ) {
1097
+ $new_setting['description'] = sprintf( _x( 'These settings override your <a href="%1$s">global %2$s options</a>. Do only adjust these settings in case you would like to specifically adjust them for this specific shipping method.', 'shipments', 'woocommerce-germanized' ), esc_url( $global_settings_url ), $this->get_title() );
1098
 
1099
  if ( empty( $setting['title'] ) ) {
1100
  $new_setting['title'] = $default_title;
packages/woocommerce-germanized-shipments/templates/shipment/add-return-shipment-item.php CHANGED
@@ -12,7 +12,7 @@
12
  *
13
  * @see https://github.com/vendidero/woocommerce-germanized/wiki/Overriding-Germanized-Templates
14
  * @package Vendidero/Germanized/Shipments/Templates
15
- * @version 3.0.0
16
  */
17
  use Vendidero\Germanized\Shipments\Shipment;
18
  use Vendidero\Germanized\Shipments\ShipmentItem;
@@ -37,7 +37,7 @@ if ( ! defined( 'ABSPATH' ) ) {
37
  $product_permalink = apply_filters( 'woocommerce_gzd_shipment_item_permalink', $is_visible ? $product->get_permalink() : '', $item, $order );
38
 
39
  /** This filter is documented in templates/emails/email-shipment-items.php */
40
- echo apply_filters( 'woocommerce_gzd_shipment_item_name', ( $product_permalink ? sprintf( '<a href="%s">%s</a>', $product_permalink, $item->get_name() ) : $item->get_name() ) . ( ! empty( $item_sku ) ? ' <small>(' . esc_html( $item_sku ) . ')</small>' : '' ), $item, $is_visible ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
41
  ?>
42
  </td>
43
 
12
  *
13
  * @see https://github.com/vendidero/woocommerce-germanized/wiki/Overriding-Germanized-Templates
14
  * @package Vendidero/Germanized/Shipments/Templates
15
+ * @version 3.0.1
16
  */
17
  use Vendidero\Germanized\Shipments\Shipment;
18
  use Vendidero\Germanized\Shipments\ShipmentItem;
37
  $product_permalink = apply_filters( 'woocommerce_gzd_shipment_item_permalink', $is_visible ? $product->get_permalink() : '', $item, $order );
38
 
39
  /** This filter is documented in templates/emails/email-shipment-items.php */
40
+ echo apply_filters( 'woocommerce_gzd_shipment_item_name', ( $product_permalink ? sprintf( '<a href="%s">%s</a>', esc_url( $product_permalink ), $item->get_name() ) : $item->get_name() ) . ( ! empty( $item_sku ) ? ' <small>(' . esc_html( $item_sku ) . ')</small>' : '' ), $item, $is_visible ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
41
  ?>
42
  </td>
43
 
packages/woocommerce-germanized-shipments/templates/shipment/shipment-details-item.php CHANGED
@@ -42,7 +42,7 @@ if ( ! apply_filters( 'woocommerce_gzd_shipment_item_visible', true, $item ) ) {
42
  * @param ShipmentItem $item The shipment item instance.
43
  * @param Shipment $shipment The shipment instance.
44
  *
45
- * @since 3.0.0
46
  * @package Vendidero/Germanized/Shipments
47
  */
48
  $item_class = apply_filters( 'woocommerce_gzd_shipment_item_class', 'woocommerce-table__line-item shipment_item', $item, $shipment );
@@ -67,7 +67,7 @@ $item_class = apply_filters( 'woocommerce_gzd_shipment_item_class', 'woocommerce
67
  $product_permalink = apply_filters( 'woocommerce_gzd_shipment_item_permalink', $is_visible ? $product->get_permalink() : '', $item, $shipment );
68
 
69
  /** This filter is documented in templates/emails/email-shipment-items.php */
70
- echo apply_filters( 'woocommerce_gzd_shipment_item_name', ( $product_permalink ? sprintf( '<a href="%s">%s</a>', $product_permalink, $item->get_name() ) : $item->get_name() ) . ( ! empty( $item_sku ) ? ' <small>(' . esc_html( $item_sku ) . ')</small>' : '' ), $item, $is_visible ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
71
  ?>
72
  </td>
73
 
42
  * @param ShipmentItem $item The shipment item instance.
43
  * @param Shipment $shipment The shipment instance.
44
  *
45
+ * @since 3.0.1
46
  * @package Vendidero/Germanized/Shipments
47
  */
48
  $item_class = apply_filters( 'woocommerce_gzd_shipment_item_class', 'woocommerce-table__line-item shipment_item', $item, $shipment );
67
  $product_permalink = apply_filters( 'woocommerce_gzd_shipment_item_permalink', $is_visible ? $product->get_permalink() : '', $item, $shipment );
68
 
69
  /** This filter is documented in templates/emails/email-shipment-items.php */
70
+ echo apply_filters( 'woocommerce_gzd_shipment_item_name', ( $product_permalink ? sprintf( '<a href="%s">%s</a>', esc_url( $product_permalink ), $item->get_name() ) : $item->get_name() ) . ( ! empty( $item_sku ) ? ' <small>(' . esc_html( $item_sku ) . ')</small>' : '' ), $item, $is_visible ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
71
  ?>
72
  </td>
73
 
packages/woocommerce-germanized-shipments/woocommerce-germanized-shipments.php CHANGED
@@ -5,7 +5,7 @@
5
  * Description: The Germanized Shipments integration, installed as a feature plugin for development and testing purposes.
6
  * Author: vendidero
7
  * Author URI: https://vendidero.de
8
- * Version: 1.6.8
9
  * Requires PHP: 5.6
10
  * License: GPLv3
11
  *
5
  * Description: The Germanized Shipments integration, installed as a feature plugin for development and testing purposes.
6
  * Author: vendidero
7
  * Author URI: https://vendidero.de
8
+ * Version: 1.6.9
9
  * Requires PHP: 5.6
10
  * License: GPLv3
11
  *
packages/woocommerce-trusted-shops/assets/js/admin.min.js CHANGED
@@ -1 +1 @@
1
- window.trusted_shops=window.trusted_shops||{},function(s,a){a.admin={params:{},optionPrefix:"",init:function(){this.params=trusted_shops_params,this.optionPrefix=this.params.option_prefix;var e=this;s(document).on("click","a.woocommerce-ts-input-toggle-trigger",this.onInputToogleClick),s(document).on("change","#woocommerce_"+this.optionPrefix+"trusted_shops_integration_mode",this.onChangeIntegrationMode),s(document).on("change",":input[id$=_enable]",this.onChangeEnable),s(document).on("change","#woocommerce_"+this.optionPrefix+"trusted_shops_reviews_enable",this.onChangeEnableReviews),s(document).find("#woocommerce_"+this.optionPrefix+"trusted_shops_integration_mode").trigger("change"),s(document).find(":input[id$=_enable]").trigger("change"),s(document).on("click","#wc-gzd-trusted-shops-export",this.onClickExport),s(document).on("click","table.form-table tr",this.onSidebarChange),s(":data(sidebar)").each(function(){s(this).parents("tr").on("click",e.onSidebarChange)}),s(document).on("click",'h2, div[id$="options-description"]',this.onSidebarTitelChange),s(document).on("submit","#mainform",this.onSaveForm)},onInputToogleClick:function(){var e=s(this).find("span.woocommerce-ts-input-toggle"),t=e.parents("tr").find("input[type=checkbox]"),o=e.hasClass("woocommerce-input-toggle--enabled");return e.removeClass("woocommerce-input-toggle--enabled"),e.removeClass("woocommerce-input-toggle--disabled"),o?(t.prop("checked",!1),e.addClass("woocommerce-input-toggle--disabled")):(t.prop("checked",!0),e.addClass("woocommerce-input-toggle--enabled")),t.trigger("change"),!1},onChangeEnableReviews:function(){var e=a.admin;s(this).is(":checked")?(s(document).find("#woocommerce_"+e.optionPrefix+"trusted_shops_product_sticker_enable").parents("tr").show(),s(document).find("#woocommerce_"+e.optionPrefix+"trusted_shops_product_widget_enable").parents("tr").show(),s(document).find("#woocommerce_"+e.optionPrefix+"trusted_shops_brand_attribute").parents("tr").show()):(s(document).find("#woocommerce_"+e.optionPrefix+"trusted_shops_product_sticker_enable").prop("checked",!1),s(document).find("#woocommerce_"+e.optionPrefix+"trusted_shops_product_widget_enable").prop("checked",!1),s(document).find("#woocommerce_"+e.optionPrefix+"trusted_shops_product_sticker_enable").parents("tr").hide(),s(document).find("#woocommerce_"+e.optionPrefix+"trusted_shops_product_widget_enable").parents("tr").hide(),s(document).find("#woocommerce_"+e.optionPrefix+"trusted_shops_brand_attribute").parents("tr").hide()),s(document).find("#woocommerce_"+e.optionPrefix+"trusted_shops_product_sticker_enable").trigger("change"),s(document).find("#woocommerce_"+e.optionPrefix+"trusted_shops_product_widget_enable").trigger("change")},onChangeIntegrationMode:function(){a.admin;s(document).find(":input[id$=_enable]").trigger("change")},onChangeEnable:function(){self=a.admin,self.showHideGroupElements(s(this))},showHideGroupElements:function(e){var t=e.attr("id"),o=a.admin,t=t.replace("woocommerce_"+o.optionPrefix+"trusted_shops_",""),i=t.substr(0,t.length-7),t=s(":input[id^=woocommerce_"+o.optionPrefix+"trusted_shops_"+i+"_], th[id^=woocommerce_"+o.optionPrefix+"trusted_shops_"+i+"_]"),r=!1,n=["woocommerce_"+o.optionPrefix+"trusted_shops_rich_snippets_category","woocommerce_"+o.optionPrefix+"trusted_shops_rich_snippets_product","woocommerce_"+o.optionPrefix+"trusted_shops_rich_snippets_home","woocommerce_"+o.optionPrefix+"trusted_shops_product_sticker_tab_text"];e.is(":checked")&&(r=!0),t.each(function(){var e=s(this).attr("id"),t=r;"woocommerce_"+o.optionPrefix+"trusted_shops_"+i+"_enable"!==e&&("woocommerce_"+o.optionPrefix+"trusted_shops_"+i+"_code"===e||"woocommerce_"+o.optionPrefix+"trusted_shops_"+i+"_selector"===e?!o.isExpertMode()&&t&&(t=!1):o.isExpertMode()&&0<s(this).parents("table.form-table").find(":input[id$=_code]").length&&-1==s.inArray(e,n)&&(t=!1),t?s(this).parents("tr").show():s(this).parents("tr").hide())})},onSidebarTitelChange:function(){s(this).nextAll("table.form-table:first").find("tr:first").trigger("click")},onSidebarChange:function(){var e=s(this).find("[data-sidebar]"),t=s(this).parents(".form-table"),o=s(".wc-ts-sidebar-active"),i=o,i=(e=e.length<=0&&0<t.find("[data-sidebar]").length?t.find("[data-sidebar]:first"):e).length<=0?s("#wc-ts-sidebar-default"):s("#"+e.data("sidebar"));o.removeClass("wc-ts-sidebar-active"),i.addClass("wc-ts-sidebar-active")},getSettingsWrapper:function(){var e=a.admin.optionPrefix.replace("_","-");return s(".wc-"+e+"admin-settings")},addNotice:function(e,t){var o=a.admin;o.getSettingsWrapper().find("#message").remove(),o.getSettingsWrapper().prepend('<div id="message" class="notice '+e+' inline"><p>'+t.join("<br/>")+"</p></div>"),s("html, body").animate({scrollTop:o.getSettingsWrapper().offset().top-100},1e3)},validate:function(e){var t=a.admin,o=!0,i=e.attr("id"),r="_code"===i.substr(i.length-5),i=e.val();return e.data("validate")?"integer"===e.data("validate")&&(i=parseInt(i),isNaN(i)&&(o=!1)):t.isExpertMode()&&r&&""===i&&(o=!1),o},onSaveForm:function(){var o=a.admin,i=!0;return s("textarea, input, select").removeClass("wc-ts-has-error"),s("textarea:visible, input:visible, select:visible").each(function(){var e=s(this).attr("id"),t="_code"===e.substr(e.length-5),e=s(this).parents("tr").find("td");e.find(".wc-ts-error").remove(),o.validate(s(this))||(s(this).addClass("wc-ts-has-error"),t=t?o.params.i18n_error_mandatory:s(this).data("validate-msg"),e.append('<span class="wc-ts-error">'+t+"</span>"),i=!1)}),i||s("html, body").animate({scrollTop:o.getSettingsWrapper().find(".wc-ts-has-error:first").offset().top-100},1e3),i},isExpertMode:function(){a.admin;return"expert"===s("#woocommerce_"+this.optionPrefix+"trusted_shops_integration_mode").val()},onClickExport:function(){var e=a.admin,t=s(this).data("href-org");s(this).attr("href",t+"&interval="+s("#woocommerce_"+e.optionPrefix+"trusted_shops_review_collector").val()+"&days="+s("#woocommerce_"+e.params.option_prefix+"trusted_shops_review_collector_days_to_send").val())}},s(document).ready(function(){a.admin.init()})}(jQuery,(wp,window.trusted_shops));
1
+ window.trusted_shops=window.trusted_shops||{},function(s,a){a.admin={params:{},optionPrefix:"",init:function(){this.params=trusted_shops_params,this.optionPrefix=this.params.option_prefix;var e=this;s(document).on("click","a.woocommerce-ts-input-toggle-trigger",this.onInputToogleClick),s(document).on("change","#woocommerce_"+this.optionPrefix+"trusted_shops_integration_mode",this.onChangeIntegrationMode),s(document).on("change",":input[id$=_enable]",this.onChangeEnable),s(document).on("change","#woocommerce_"+this.optionPrefix+"trusted_shops_reviews_enable",this.onChangeEnableReviews),s(document).find("#woocommerce_"+this.optionPrefix+"trusted_shops_integration_mode").trigger("change"),s(document).find(":input[id$=_enable]").trigger("change"),s(document).on("click","#wc-gzd-trusted-shops-export",this.onClickExport),s(document).on("click","table.form-table tr",this.onSidebarChange),s(":data(sidebar)").each(function(){s(this).parents("tr").on("click",e.onSidebarChange)}),s(document).on("click",'h2, div[id$="options-description"]',this.onSidebarTitelChange),s(document).on("submit","#mainform",this.onSaveForm)},onInputToogleClick:function(){var e=s(this).find("span.woocommerce-ts-input-toggle"),t=e.parents("tr").find("input[type=checkbox]"),o=e.hasClass("woocommerce-input-toggle--enabled");return e.removeClass("woocommerce-input-toggle--enabled"),e.removeClass("woocommerce-input-toggle--disabled"),o?(t.prop("checked",!1),e.addClass("woocommerce-input-toggle--disabled")):(t.prop("checked",!0),e.addClass("woocommerce-input-toggle--enabled")),t.trigger("change"),!1},onChangeEnableReviews:function(){var e=a.admin;s(this).is(":checked")?(s(document).find("#woocommerce_"+e.optionPrefix+"trusted_shops_product_sticker_enable").parents("tr").show(),s(document).find("#woocommerce_"+e.optionPrefix+"trusted_shops_product_widget_enable").parents("tr").show(),s(document).find("#woocommerce_"+e.optionPrefix+"trusted_shops_brand_attribute").parents("tr").show()):(s(document).find("#woocommerce_"+e.optionPrefix+"trusted_shops_product_sticker_enable").prop("checked",!1),s(document).find("#woocommerce_"+e.optionPrefix+"trusted_shops_product_widget_enable").prop("checked",!1),s(document).find("#woocommerce_"+e.optionPrefix+"trusted_shops_product_sticker_enable").parents("tr").hide(),s(document).find("#woocommerce_"+e.optionPrefix+"trusted_shops_product_widget_enable").parents("tr").hide(),s(document).find("#woocommerce_"+e.optionPrefix+"trusted_shops_brand_attribute").parents("tr").hide()),s(document).find("#woocommerce_"+e.optionPrefix+"trusted_shops_product_sticker_enable").trigger("change"),s(document).find("#woocommerce_"+e.optionPrefix+"trusted_shops_product_widget_enable").trigger("change")},onChangeIntegrationMode:function(){a.admin;s(document).find(":input[id$=_enable]").trigger("change")},onChangeEnable:function(){(self=a.admin).showHideGroupElements(s(this))},showHideGroupElements:function(e){var t=e.attr("id"),o=a.admin,t=t.replace("woocommerce_"+o.optionPrefix+"trusted_shops_",""),i=t.substr(0,t.length-7),t=s(":input[id^=woocommerce_"+o.optionPrefix+"trusted_shops_"+i+"_], th[id^=woocommerce_"+o.optionPrefix+"trusted_shops_"+i+"_]"),r=!1,n=["woocommerce_"+o.optionPrefix+"trusted_shops_rich_snippets_category","woocommerce_"+o.optionPrefix+"trusted_shops_rich_snippets_product","woocommerce_"+o.optionPrefix+"trusted_shops_rich_snippets_home","woocommerce_"+o.optionPrefix+"trusted_shops_product_sticker_tab_text"];e.is(":checked")&&(r=!0),t.each(function(){var e=s(this).attr("id"),t=r;"woocommerce_"+o.optionPrefix+"trusted_shops_"+i+"_enable"!==e&&("woocommerce_"+o.optionPrefix+"trusted_shops_"+i+"_code"===e||"woocommerce_"+o.optionPrefix+"trusted_shops_"+i+"_selector"===e?!o.isExpertMode()&&t&&(t=!1):o.isExpertMode()&&0<s(this).parents("table.form-table").find(":input[id$=_code]").length&&-1==s.inArray(e,n)&&(t=!1),t?s(this).parents("tr").show():s(this).parents("tr").hide())})},onSidebarTitelChange:function(){s(this).nextAll("table.form-table:first").find("tr:first").trigger("click")},onSidebarChange:function(){var e=s(this).find("[data-sidebar]"),t=s(this).parents(".form-table"),o=s(".wc-ts-sidebar-active"),i=o,i=(e=e.length<=0&&0<t.find("[data-sidebar]").length?t.find("[data-sidebar]:first"):e).length<=0?s("#wc-ts-sidebar-default"):s("#"+e.data("sidebar"));o.removeClass("wc-ts-sidebar-active"),i.addClass("wc-ts-sidebar-active")},getSettingsWrapper:function(){var e=a.admin.optionPrefix.replace("_","-");return s(".wc-"+e+"admin-settings")},addNotice:function(e,t){var o=a.admin;o.getSettingsWrapper().find("#message").remove(),o.getSettingsWrapper().prepend('<div id="message" class="notice '+e+' inline"><p>'+t.join("<br/>")+"</p></div>"),s("html, body").animate({scrollTop:o.getSettingsWrapper().offset().top-100},1e3)},validate:function(e){var t=a.admin,o=!0,i=e.attr("id"),i="_code"===i.substr(i.length-5),r=e.val();return e.data("validate")?"integer"===e.data("validate")&&(r=parseInt(r),isNaN(r)&&(o=!1)):t.isExpertMode()&&i&&""===r&&(o=!1),o},onSaveForm:function(){var o=a.admin,i=!0;return s("textarea, input, select").removeClass("wc-ts-has-error"),s("textarea:visible, input:visible, select:visible").each(function(){var e=s(this).attr("id"),e="_code"===e.substr(e.length-5),t=s(this).parents("tr").find("td");t.find(".wc-ts-error").remove(),o.validate(s(this))||(s(this).addClass("wc-ts-has-error"),e=e?o.params.i18n_error_mandatory:s(this).data("validate-msg"),t.append('<span class="wc-ts-error">'+e+"</span>"),i=!1)}),i||s("html, body").animate({scrollTop:o.getSettingsWrapper().find(".wc-ts-has-error:first").offset().top-100},1e3),i},isExpertMode:function(){a.admin;return"expert"===s("#woocommerce_"+this.optionPrefix+"trusted_shops_integration_mode").val()},onClickExport:function(){var e=a.admin,t=s(this).data("href-org");s(this).attr("href",t+"&interval="+s("#woocommerce_"+e.optionPrefix+"trusted_shops_review_collector").val()+"&days="+s("#woocommerce_"+e.params.option_prefix+"trusted_shops_review_collector_days_to_send").val())}},s(document).ready(function(){a.admin.init()})}(jQuery,(wp,window.trusted_shops));
packages/woocommerce-trusted-shops/includes/admin/views/html-notice-dependencies.php CHANGED
@@ -25,7 +25,7 @@ $version_count = 0;
25
 
26
  <?php endif; ?>
27
 
28
- <p><a class="button button-secondary" href="<?php echo admin_url( "plugin-install.php?tab=search&s=" . urlencode( $data[ 'name' ] ) ); ?>"><?php printf( _x( 'Install %s', 'trusted-shops', 'woocommerce-germanized' ), $data[ 'name' ] ); ?></a></p>
29
 
30
  <?php endif; ?>
31
 
@@ -46,7 +46,7 @@ $version_count = 0;
46
  <?php if ( $version_count > 0 ) : ?>
47
 
48
  <p>
49
- <a class="button button-secondary" href="<?php echo admin_url( "update-core.php" ); ?>"><?php echo _x( 'Check for Updates', 'trusted-shops', 'woocommerce-germanized' ); ?></a>
50
  <?php echo _x( 'or', 'trusted-shops', 'woocommerce-germanized' ); ?>
51
  <a class="" href="https://wordpress.org/plugins/woocommerce-trusted-shops/developers/" target="_blank"><?php echo _x( 'Install an older version', 'trusted-shops', 'woocommerce-germanized' ); ?></a>
52
  </p>
25
 
26
  <?php endif; ?>
27
 
28
+ <p><a class="button button-secondary" href="<?php echo esc_url( admin_url( "plugin-install.php?tab=search&s=" . urlencode( $data[ 'name' ] ) ) ); ?>"><?php printf( _x( 'Install %s', 'trusted-shops', 'woocommerce-germanized' ), $data[ 'name' ] ); ?></a></p>
29
 
30
  <?php endif; ?>
31
 
46
  <?php if ( $version_count > 0 ) : ?>
47
 
48
  <p>
49
+ <a class="button button-secondary" href="<?php echo esc_url( admin_url( "update-core.php" ) ); ?>"><?php echo _x( 'Check for Updates', 'trusted-shops', 'woocommerce-germanized' ); ?></a>
50
  <?php echo _x( 'or', 'trusted-shops', 'woocommerce-germanized' ); ?>
51
  <a class="" href="https://wordpress.org/plugins/woocommerce-trusted-shops/developers/" target="_blank"><?php echo _x( 'Install an older version', 'trusted-shops', 'woocommerce-germanized' ); ?></a>
52
  </p>
packages/woocommerce-trusted-shops/includes/class-wc-trusted-shops-admin.php CHANGED
@@ -218,7 +218,7 @@ class WC_Trusted_Shops_Admin {
218
  $settings = array(
219
  array(
220
  'title' => _x( 'Trusted Shops Integration', 'trusted-shops', 'woocommerce-germanized' ),
221
- 'desc' => sprintf( _x( 'Do you need help with integrating your Trustbadge? %s', 'trusted-shops', 'woocommerce-germanized' ), '<a href="' . $this->get_trusted_url( 'https://support.trustedshops.com/en/apps/woocommerce' ) . '" class="button button-secondary" target="_blank">' . _x( 'To the step-by-step instructions', 'trusted-shops', 'woocommerce-germanized' ) .'</a>' ),
222
  'type' => 'title',
223
  'id' => 'trusted_shops_options'
224
  ),
@@ -313,7 +313,7 @@ class WC_Trusted_Shops_Admin {
313
  array(
314
  'title' => _x( 'Display Shop Review Sticker', 'trusted-shops', 'woocommerce-germanized' ),
315
  'desc_tip' => _x( 'To display the Shop Review Sticker, you have to assign the widget "Trusted Shops Review Sticker".', 'trusted-shops', 'woocommerce-germanized' ),
316
- 'desc' => sprintf( _x( 'Assign widget %s', 'trusted-shops', 'woocommerce-germanized' ), '<a href="' . admin_url( 'widgets.php' ) . '" target="_blank">' . _x( 'here', 'trusted-shops', 'woocommerce-germanized' ) . '</a>' ),
317
  'id' => 'woocommerce_' . $this->base->option_prefix . 'trusted_shops_review_sticker_enable',
318
  'type' => 'ts_toggle',
319
  'custom_attributes' => array( 'data-sidebar' => 'wc-ts-sidebar-shop-reviews' ),
@@ -429,7 +429,7 @@ class WC_Trusted_Shops_Admin {
429
 
430
  array(
431
  'title' => _x( 'Configure your Product Reviews ', 'trusted-shops', 'woocommerce-germanized' ),
432
- 'desc' => sprintf( _x( 'To use Product Reviews, activate them in your %s first.', 'trusted-shops', 'woocommerce-germanized' ), '<a href="' . $this->get_trusted_url( 'https://www.trustedshops.com/uk/shop/login.html', array( 'lang_mapping' => array( 'en' => 'uk' ) ) ) . '" target="_blank">' . _x( 'Trusted Shops package', 'trusted-shops', 'woocommerce-germanized' ) .'</a>' ),
433
  'type' => 'title',
434
  'id' => 'trusted_shops_reviews_options'
435
  ),
@@ -585,7 +585,7 @@ class WC_Trusted_Shops_Admin {
585
 
586
  array(
587
  'title' => _x( 'Brand attribute', 'trusted-shops', 'woocommerce-germanized' ),
588
- 'desc' => sprintf( _x( 'Create brand attribute %s', 'trusted-shops', 'woocommerce-germanized' ), '<a href="' . admin_url( 'edit.php?post_type=product&page=product_attributes' ) . '" target="_blank">' . _x( 'here', 'trusted-shops', 'woocommerce-germanized' ) . '</a>' ),
589
  'desc_tip' => _x( 'Brand name of the product. By passing this information on to Google, you improve your chances of having Google identify your products. Assign your brand attribute. If your products don\'t have a GTIN, you can pass on the brand name and the MPN to use Google Integration.', 'trusted-shops', 'woocommerce-germanized' ),
590
  'id' => 'woocommerce_' . $this->base->option_prefix . 'trusted_shops_brand_attribute',
591
  'css' => 'min-width:250px;',
@@ -646,7 +646,7 @@ class WC_Trusted_Shops_Admin {
646
  'default' => '',
647
  'id' => 'woocommerce_' . $this->base->option_prefix . 'trusted_shops_review_reminder_checkbox',
648
  'type' => 'html',
649
- 'html' => '<a href="' . admin_url( 'admin.php?page=wc-settings&tab=germanized-checkboxes&checkbox_id=review_reminder' ) . '" class="button button-secondary" target="_blank">' . _x( 'Edit checkbox', 'trusted-shops', 'woocommerce-germanized' ) . '</a>',
650
  ),
651
 
652
  array(
@@ -753,41 +753,41 @@ class WC_Trusted_Shops_Admin {
753
  <div class="wc-gzd-admin-settings-sidebar-trusted-shops">
754
  <div class="wc-ts-sidebar wc-ts-sidebar-active" id="wc-ts-sidebar-default">
755
  <h3><?php echo _x( 'How does Trusted Shops make your shop better?', 'trusted-shops', 'woocommerce-germanized' ); ?></h3>
756
- <a href="<?php echo $this->get_signup_url(); ?>" target="_blank"><img style="width: 100%; height: auto" src="<?php echo $this->get_image( 'ts.png' ); ?>" /></a>
757
- <a class="button button-primary" href="<?php echo $this->get_signup_url(); ?>" target="_blank"><?php echo _x( 'Get your account', 'trusted-shops', 'woocommerce-germanized' ); ?></a>
758
  </div>
759
 
760
  <div class="wc-ts-sidebar wc-ts-sidebar-flex" id="wc-ts-sidebar-trustbadge">
761
  <div class="wc-ts-sidebar-left wc-ts-sidebar-container">
762
- <img src="<?php echo $this->get_image( 'ts_trustbadge_trustmark_reviews.png' ); ?>" />
763
  <span class="wc-ts-sidebar-desc"><?php echo _x( 'Display Trustbadge with review stars', 'trusted-shops', 'woocommerce-germanized' ); ?></span>
764
  </div>
765
  <div class="wc-ts-sidebar-right wc-ts-sidebar-container">
766
- <img src="<?php echo $this->get_image( 'ts_trustbadge_trustmark-only.png' ); ?>" />
767
  <span class="wc-ts-sidebar-desc"><?php echo _x( 'Display Trustbadge without review stars', 'trusted-shops', 'woocommerce-germanized' ); ?></span>
768
  </div>
769
  </div>
770
 
771
  <div class="wc-ts-sidebar" id="wc-ts-sidebar-shop-reviews">
772
- <img style="width: 100%; height: auto" src="<?php echo $this->get_image( 'ts_shop_review_sticker.jpg' ); ?>" />
773
  </div>
774
 
775
  <div class="wc-ts-sidebar" id="wc-ts-sidebar-product-reviews">
776
- <img style="width: 100%; height: auto" src="<?php echo $this->get_image( 'ts_product_reviews.jpg' ); ?>" />
777
  <span class="wc-ts-sidebar-desc"><?php echo _x( 'Product Reviews on the product detail page in an additional tab', 'trusted-shops', 'woocommerce-germanized' ); ?></span>
778
 
779
- <img style="width: 100%; height: auto" src="<?php echo $this->get_image( 'ts_woo.jpg' ); ?>" />
780
  <span class="wc-ts-sidebar-desc"><?php echo _x( 'Show Star-Ratings on the product detail page below your product name', 'trusted-shops', 'woocommerce-germanized' ); ?></span>
781
  </div>
782
 
783
  <div class="wc-ts-sidebar" id="wc-ts-sidebar-review-reminder">
784
  <p><?php echo _x( 'Please note: If you want to send review requests through WooCommerce, you should deactivate automated review requests through Trusted Shops. To do so, please go to your My Trusted Shops account. Log in and go to Reviews > Settings and deactivate "Collect reviews automatically"', 'trusted-shops', 'woocommerce-germanized' ); ?></p>
785
- <a class="button button-secondary" href="<?php echo $this->get_trusted_url( 'https://www.trustedshops.com/tsb2b/sa/ratings/shopRatingWidgetSettings.seam' ); ?>" target="_blank"><?php echo _x( 'To your My Trusted Shops account', 'trusted-shops', 'woocommerce-germanized' ); ?></a>
786
  </div>
787
 
788
  <div class="wc-ts-sidebar" id="wc-ts-sidebar-review-collector">
789
  <p><?php echo _x( 'Export your customer information here and upload it in the Trusted Shops Review Collector. To do so go to your My Trusted Shops account. Log in and go to Reviews > Shop Reviews > Review Collector', 'trusted-shops', 'woocommerce-germanized' ); ?></p>
790
- <a class="button button-secondary" href="<?php echo $this->get_trusted_url( 'https://www.trustedshops.com/tsb2b/sa/ratings/reviewCollector/reviewCollector.seam' ); ?>" target="_blank"><?php echo _x( 'To the Trusted Shops Review Collector', 'trusted-shops', 'woocommerce-germanized' ); ?></a>
791
  </div>
792
  </div>
793
  </div>
@@ -880,7 +880,7 @@ class WC_Trusted_Shops_Admin {
880
  ?>
881
  <h2><?php echo _x( 'Review Collector', 'trusted-shops', 'woocommerce-germanized' ); ?></h2>
882
  <div id="trusted_shops_review_collector_options-description">
883
- <p class="description"><?php printf( _x( 'Want to collect reviews for orders that were placed before your Trusted Shops Integration? No problem. Export old orders here and upload them in your %s.', 'trusted-shops', 'woocommerce-germanized' ), '<a href="' . $this->get_trusted_url( 'https://www.trustedshops.com/tsb2b/sa/ratings/reviewCollector/reviewCollector.seam' ) . '" target="_blank">' . _x( 'My Trusted Shops account', 'trusted-shops', 'woocommerce-germanized' ) . '</a>' ); ?></p>
884
  </div>
885
  <table class="form-table">
886
  <tbody>
@@ -894,7 +894,7 @@ class WC_Trusted_Shops_Admin {
894
  <option value="60" <?php selected( 60, $days_interval ); ?>><?php echo _x( '60 days', 'trusted-shops', 'woocommerce-germanized' ); ?></option>
895
  <option value="90" <?php selected( 90, $days_interval ); ?>><?php echo _x( '90 days', 'trusted-shops', 'woocommerce-germanized' ); ?></option>
896
  </select>
897
- <span class="description"><?php printf( _x( 'Upload customer and order information %s.', 'trusted-shops', 'woocommerce-germanized' ), '<a href="' . $this->get_trusted_url( 'https://www.trustedshops.com/tsb2b/sa/ratings/reviewCollector/reviewCollector.seam' ) . '" target="_blank">' . _x( 'here', 'trusted-shops', 'woocommerce-germanized' ) . '</a>' ); ?></span>
898
  <div class="trusted-shops-review-collector-wrap">
899
  <div class="review-collector-days">
900
  <label for="woocommerce_gzd_trusted_shops_review_collector"><?php echo _x( 'Days until reminder mail', 'trusted-shops', 'woocommerce-germanized' ); ?> <?php echo wc_ts_help_tip( _x( 'Set the number of days to wait after the order date before having a Review Request sent to your customers.', 'trusted-shops', 'woocommerce-germanized' ) ); ?></label>
@@ -946,7 +946,7 @@ class WC_Trusted_Shops_Admin {
946
  'shop_id' => $args['shop_id'],
947
  ) );
948
 
949
- return add_query_arg( $param_args, $url );
950
  } else {
951
  return $url;
952
  }
218
  $settings = array(
219
  array(
220
  'title' => _x( 'Trusted Shops Integration', 'trusted-shops', 'woocommerce-germanized' ),
221
+ 'desc' => sprintf( _x( 'Do you need help with integrating your Trustbadge? %s', 'trusted-shops', 'woocommerce-germanized' ), '<a href="' . esc_url( $this->get_trusted_url( 'https://support.trustedshops.com/en/apps/woocommerce' ) ) . '" class="button button-secondary" target="_blank">' . _x( 'To the step-by-step instructions', 'trusted-shops', 'woocommerce-germanized' ) .'</a>' ),
222
  'type' => 'title',
223
  'id' => 'trusted_shops_options'
224
  ),
313
  array(
314
  'title' => _x( 'Display Shop Review Sticker', 'trusted-shops', 'woocommerce-germanized' ),
315
  'desc_tip' => _x( 'To display the Shop Review Sticker, you have to assign the widget "Trusted Shops Review Sticker".', 'trusted-shops', 'woocommerce-germanized' ),
316
+ 'desc' => sprintf( _x( 'Assign widget %s', 'trusted-shops', 'woocommerce-germanized' ), '<a href="' . esc_url( admin_url( 'widgets.php' ) ) . '" target="_blank">' . _x( 'here', 'trusted-shops', 'woocommerce-germanized' ) . '</a>' ),
317
  'id' => 'woocommerce_' . $this->base->option_prefix . 'trusted_shops_review_sticker_enable',
318
  'type' => 'ts_toggle',
319
  'custom_attributes' => array( 'data-sidebar' => 'wc-ts-sidebar-shop-reviews' ),
429
 
430
  array(
431
  'title' => _x( 'Configure your Product Reviews ', 'trusted-shops', 'woocommerce-germanized' ),
432
+ 'desc' => sprintf( _x( 'To use Product Reviews, activate them in your %s first.', 'trusted-shops', 'woocommerce-germanized' ), '<a href="' . esc_url( $this->get_trusted_url( 'https://www.trustedshops.com/uk/shop/login.html', array( 'lang_mapping' => array( 'en' => 'uk' ) ) ) ) . '" target="_blank">' . _x( 'Trusted Shops package', 'trusted-shops', 'woocommerce-germanized' ) .'</a>' ),
433
  'type' => 'title',
434
  'id' => 'trusted_shops_reviews_options'
435
  ),
585
 
586
  array(
587
  'title' => _x( 'Brand attribute', 'trusted-shops', 'woocommerce-germanized' ),
588
+ 'desc' => sprintf( _x( 'Create brand attribute %s', 'trusted-shops', 'woocommerce-germanized' ), '<a href="' . esc_url( admin_url( 'edit.php?post_type=product&page=product_attributes' ) ) . '" target="_blank">' . _x( 'here', 'trusted-shops', 'woocommerce-germanized' ) . '</a>' ),
589
  'desc_tip' => _x( 'Brand name of the product. By passing this information on to Google, you improve your chances of having Google identify your products. Assign your brand attribute. If your products don\'t have a GTIN, you can pass on the brand name and the MPN to use Google Integration.', 'trusted-shops', 'woocommerce-germanized' ),
590
  'id' => 'woocommerce_' . $this->base->option_prefix . 'trusted_shops_brand_attribute',
591
  'css' => 'min-width:250px;',
646
  'default' => '',
647
  'id' => 'woocommerce_' . $this->base->option_prefix . 'trusted_shops_review_reminder_checkbox',
648
  'type' => 'html',
649
+ 'html' => '<a href="' . esc_url( admin_url( 'admin.php?page=wc-settings&tab=germanized-checkboxes&checkbox_id=review_reminder' ) . '" class="button button-secondary" target="_blank">' . _x( 'Edit checkbox', 'trusted-shops', 'woocommerce-germanized' ) ) . '</a>',
650
  ),
651
 
652
  array(
753
  <div class="wc-gzd-admin-settings-sidebar-trusted-shops">
754
  <div class="wc-ts-sidebar wc-ts-sidebar-active" id="wc-ts-sidebar-default">
755
  <h3><?php echo _x( 'How does Trusted Shops make your shop better?', 'trusted-shops', 'woocommerce-germanized' ); ?></h3>
756
+ <a href="<?php echo esc_url( $this->get_signup_url() ); ?>" target="_blank"><img style="width: 100%; height: auto" src="<?php echo esc_url( $this->get_image( 'ts.png' ) ); ?>" /></a>
757
+ <a class="button button-primary" href="<?php echo esc_url( $this->get_signup_url() ); ?>" target="_blank"><?php echo _x( 'Get your account', 'trusted-shops', 'woocommerce-germanized' ); ?></a>
758
  </div>
759
 
760
  <div class="wc-ts-sidebar wc-ts-sidebar-flex" id="wc-ts-sidebar-trustbadge">
761
  <div class="wc-ts-sidebar-left wc-ts-sidebar-container">
762
+ <img src="<?php echo esc_url( $this->get_image( 'ts_trustbadge_trustmark_reviews.png' ) ); ?>" />
763
  <span class="wc-ts-sidebar-desc"><?php echo _x( 'Display Trustbadge with review stars', 'trusted-shops', 'woocommerce-germanized' ); ?></span>
764
  </div>
765
  <div class="wc-ts-sidebar-right wc-ts-sidebar-container">
766
+ <img src="<?php echo esc_url( $this->get_image( 'ts_trustbadge_trustmark-only.png' ) ); ?>" />
767
  <span class="wc-ts-sidebar-desc"><?php echo _x( 'Display Trustbadge without review stars', 'trusted-shops', 'woocommerce-germanized' ); ?></span>
768
  </div>
769
  </div>
770
 
771
  <div class="wc-ts-sidebar" id="wc-ts-sidebar-shop-reviews">
772
+ <img style="width: 100%; height: auto" src="<?php echo esc_url( $this->get_image( 'ts_shop_review_sticker.jpg' ) ); ?>" />
773
  </div>
774
 
775
  <div class="wc-ts-sidebar" id="wc-ts-sidebar-product-reviews">
776
+ <img style="width: 100%; height: auto" src="<?php echo esc_url( $this->get_image( 'ts_product_reviews.jpg' ) ); ?>" />
777
  <span class="wc-ts-sidebar-desc"><?php echo _x( 'Product Reviews on the product detail page in an additional tab', 'trusted-shops', 'woocommerce-germanized' ); ?></span>
778
 
779
+ <img style="width: 100%; height: auto" src="<?php echo esc_url( $this->get_image( 'ts_woo.jpg' ) ); ?>" />
780
  <span class="wc-ts-sidebar-desc"><?php echo _x( 'Show Star-Ratings on the product detail page below your product name', 'trusted-shops', 'woocommerce-germanized' ); ?></span>
781
  </div>
782
 
783
  <div class="wc-ts-sidebar" id="wc-ts-sidebar-review-reminder">
784
  <p><?php echo _x( 'Please note: If you want to send review requests through WooCommerce, you should deactivate automated review requests through Trusted Shops. To do so, please go to your My Trusted Shops account. Log in and go to Reviews > Settings and deactivate "Collect reviews automatically"', 'trusted-shops', 'woocommerce-germanized' ); ?></p>
785
+ <a class="button button-secondary" href="<?php echo esc_url( $this->get_trusted_url( 'https://www.trustedshops.com/tsb2b/sa/ratings/shopRatingWidgetSettings.seam' ) ); ?>" target="_blank"><?php echo _x( 'To your My Trusted Shops account', 'trusted-shops', 'woocommerce-germanized' ); ?></a>
786
  </div>
787
 
788
  <div class="wc-ts-sidebar" id="wc-ts-sidebar-review-collector">
789
  <p><?php echo _x( 'Export your customer information here and upload it in the Trusted Shops Review Collector. To do so go to your My Trusted Shops account. Log in and go to Reviews > Shop Reviews > Review Collector', 'trusted-shops', 'woocommerce-germanized' ); ?></p>
790
+ <a class="button button-secondary" href="<?php echo esc_url( $this->get_trusted_url( 'https://www.trustedshops.com/tsb2b/sa/ratings/reviewCollector/reviewCollector.seam' ) ); ?>" target="_blank"><?php echo _x( 'To the Trusted Shops Review Collector', 'trusted-shops', 'woocommerce-germanized' ); ?></a>
791
  </div>
792
  </div>
793
  </div>
880
  ?>
881
  <h2><?php echo _x( 'Review Collector', 'trusted-shops', 'woocommerce-germanized' ); ?></h2>
882
  <div id="trusted_shops_review_collector_options-description">
883
+ <p class="description"><?php printf( _x( 'Want to collect reviews for orders that were placed before your Trusted Shops Integration? No problem. Export old orders here and upload them in your %s.', 'trusted-shops', 'woocommerce-germanized' ), '<a href="' . esc_url( $this->get_trusted_url( 'https://www.trustedshops.com/tsb2b/sa/ratings/reviewCollector/reviewCollector.seam' ) ) . '" target="_blank">' . _x( 'My Trusted Shops account', 'trusted-shops', 'woocommerce-germanized' ) . '</a>' ); ?></p>
884
  </div>
885
  <table class="form-table">
886
  <tbody>
894
  <option value="60" <?php selected( 60, $days_interval ); ?>><?php echo _x( '60 days', 'trusted-shops', 'woocommerce-germanized' ); ?></option>
895
  <option value="90" <?php selected( 90, $days_interval ); ?>><?php echo _x( '90 days', 'trusted-shops', 'woocommerce-germanized' ); ?></option>
896
  </select>
897
+ <span class="description"><?php printf( _x( 'Upload customer and order information %s.', 'trusted-shops', 'woocommerce-germanized' ), '<a href="' . esc_url( $this->get_trusted_url( 'https://www.trustedshops.com/tsb2b/sa/ratings/reviewCollector/reviewCollector.seam' ) ) . '" target="_blank">' . _x( 'here', 'trusted-shops', 'woocommerce-germanized' ) . '</a>' ); ?></span>
898
  <div class="trusted-shops-review-collector-wrap">
899
  <div class="review-collector-days">
900
  <label for="woocommerce_gzd_trusted_shops_review_collector"><?php echo _x( 'Days until reminder mail', 'trusted-shops', 'woocommerce-germanized' ); ?> <?php echo wc_ts_help_tip( _x( 'Set the number of days to wait after the order date before having a Review Request sent to your customers.', 'trusted-shops', 'woocommerce-germanized' ) ); ?></label>
946
  'shop_id' => $args['shop_id'],
947
  ) );
948
 
949
+ return esc_url_raw( add_query_arg( $param_args, $url ) );
950
  } else {
951
  return $url;
952
  }
packages/woocommerce-trusted-shops/includes/class-wc-trusted-shops-core.php CHANGED
@@ -406,7 +406,7 @@ final class WooCommerce_Trusted_Shops {
406
  */
407
  public function action_links( $links ) {
408
  return array_merge( array(
409
- '<a href="' . admin_url( 'admin.php?page=wc-settings&tab=trusted-shops' ) . '">' . _x( 'Settings', 'trusted-shops', 'woocommerce-germanized' ) . '</a>',
410
  ), $links );
411
  }
412
 
406
  */
407
  public function action_links( $links ) {
408
  return array_merge( array(
409
+ '<a href="' . esc_url( admin_url( 'admin.php?page=wc-settings&tab=trusted-shops' ) ) . '">' . _x( 'Settings', 'trusted-shops', 'woocommerce-germanized' ) . '</a>',
410
  ), $links );
411
  }
412
 
packages/woocommerce-trusted-shops/includes/class-wc-trusted-shops-shortcodes.php CHANGED
@@ -78,7 +78,7 @@ class WC_Trusted_Shops_Shortcodes {
78
  public function trusted_shops_badge( $atts ) {
79
  extract( shortcode_atts( array('width' => ''), $atts ) );
80
 
81
- return $this->base->is_enabled() ? '<a class="trusted-shops-badge" style="' . ( $width ? 'background-size:' . ( $width - 1 ) . 'px auto; width: ' . $width . 'px; height: ' . $width . 'px;' : '' ) . '" href="' . $this->base->get_certificate_link() . '" target="_blank"></a>' : '';
82
  }
83
 
84
  }
78
  public function trusted_shops_badge( $atts ) {
79
  extract( shortcode_atts( array('width' => ''), $atts ) );
80
 
81
+ return $this->base->is_enabled() ? '<a class="trusted-shops-badge" style="' . ( $width ? 'background-size:' . ( $width - 1 ) . 'px auto; width: ' . $width . 'px; height: ' . $width . 'px;' : '' ) . '" href="' . esc_url( $this->base->get_certificate_link() ) . '" target="_blank"></a>' : '';
82
  }
83
 
84
  }
packages/woocommerce-trusted-shops/includes/class-wc-trusted-shops-template-hooks.php CHANGED
@@ -118,7 +118,7 @@ class WC_Trusted_Shops_Template_Hooks {
118
  delete_post_meta( $order_id, '_ts_cancel_review_reminder_code' );
119
  delete_post_meta( $order_id, '_ts_review_reminder_opted_in' );
120
 
121
- wp_die( sprintf( _x( 'Your review reminder e-mail has been cancelled successfully. Return to %s.', 'trusted-shops', 'woocommerce-germanized' ), '<a href="' . get_site_url() . '">' . _x( 'Home', 'trusted-shops', 'woocommerce-germanized' ) . '</a>' ) );
122
  }
123
  }
124
  }
@@ -158,7 +158,7 @@ class WC_Trusted_Shops_Template_Hooks {
158
  $link = add_query_arg( array( 'lang' => $lang ), $link );
159
  }
160
 
161
- return apply_filters( 'woocommerce_trusted_shops_cancel_review_reminder_link', $link, $code, $order );
162
  }
163
 
164
  public function email_cancel_review_reminder( $order, $sent_to_admin, $plain_text ) {
118
  delete_post_meta( $order_id, '_ts_cancel_review_reminder_code' );
119
  delete_post_meta( $order_id, '_ts_review_reminder_opted_in' );
120
 
121
+ wp_die( sprintf( _x( 'Your review reminder e-mail has been cancelled successfully. Return to %s.', 'trusted-shops', 'woocommerce-germanized' ), '<a href="' . esc_url( get_site_url() ) . '">' . _x( 'Home', 'trusted-shops', 'woocommerce-germanized' ) . '</a>' ) );
122
  }
123
  }
124
  }
158
  $link = add_query_arg( array( 'lang' => $lang ), $link );
159
  }
160
 
161
+ return esc_url_raw( apply_filters( 'woocommerce_trusted_shops_cancel_review_reminder_link', $link, $code, $order ) );
162
  }
163
 
164
  public function email_cancel_review_reminder( $order, $sent_to_admin, $plain_text ) {
packages/woocommerce-trusted-shops/readme.txt CHANGED
@@ -6,7 +6,7 @@ Requires at least: 4.9
6
  Tested up to: 5.9
7
  WC requires at least: 3.4
8
  WC tested up to: 6.1
9
- Stable tag: 4.0.13
10
  Requires PHP: 5.6
11
  License: GPLv3
12
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
@@ -67,6 +67,9 @@ You can find out more about the products and benefits of Trusted Shops on our [w
67
  5. Screenshot 5
68
 
69
  == Changelog ==
 
 
 
70
  = 4.0.13 =
71
  * Improvement: Force parent GTIN/MPN within trusted shops wrapper
72
 
6
  Tested up to: 5.9
7
  WC requires at least: 3.4
8
  WC tested up to: 6.1
9
+ Stable tag: 4.0.14
10
  Requires PHP: 5.6
11
  License: GPLv3
12
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
67
  5. Screenshot 5
68
 
69
  == Changelog ==
70
+ = 4.0.14 =
71
+ * Improvement: Harden URL escaping
72
+
73
  = 4.0.13 =
74
  * Improvement: Force parent GTIN/MPN within trusted shops wrapper
75
 
packages/woocommerce-trusted-shops/src/Package.php CHANGED
@@ -16,7 +16,7 @@ class Package {
16
  *
17
  * @var string
18
  */
19
- const VERSION = '4.0.13';
20
 
21
  /**
22
  * Init the package - load the REST API Server class.
16
  *
17
  * @var string
18
  */
19
+ const VERSION = '4.0.14';
20
 
21
  /**
22
  * Init the package - load the REST API Server class.
packages/woocommerce-trusted-shops/woocommerce-trusted-shops.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: Trustbadge Reviews for WooCommerce
4
  * Plugin URI: http://www.trustedshops.co.uk/
5
  * Description: Adds Seller and Product Reviews or Trusted Shops Integration to your WooCommerce Shop.
6
- * Version: 4.0.13
7
  * Author: vendidero
8
  * Author URI: http://vendidero.de
9
  * Requires at least: 4.9
3
  * Plugin Name: Trustbadge Reviews for WooCommerce
4
  * Plugin URI: http://www.trustedshops.co.uk/
5
  * Description: Adds Seller and Product Reviews or Trusted Shops Integration to your WooCommerce Shop.
6
+ * Version: 4.0.14
7
  * Author: vendidero
8
  * Author URI: http://vendidero.de
9
  * Requires at least: 4.9
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.4
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.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
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.5
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.5 =
215
+ * Security: Hardened URL escaping to prevent XSS attack vectors
216
+ * Improvement: Register meta boxes for legal page email content for legal pages only
217
+ * Improvement: Variable unit price data transmission while saving variations
218
+
219
  = 3.9.4 =
220
  * Tweak: Temporarily patch WooCommerce Multilingual bug which leads to update issues
221
  * Improvement: Added additional checks to determine whether WooCommerce reviews are enabled
templates/order/order-pay-now-button.php CHANGED
@@ -12,7 +12,7 @@
12
  *
13
  * @see https://github.com/vendidero/woocommerce-germanized/wiki/Overriding-Germanized-Templates
14
  * @package Germanized/Templates
15
- * @version 1.0.0
16
  */
17
  if ( ! defined( 'ABSPATH' ) ) {
18
  exit;
@@ -21,6 +21,6 @@ $order = wc_get_order( $order_id );
21
  ?>
22
 
23
  <p>
24
- <a href="<?php echo $url; ?>"
25
  class="button wc-gzdp-order-pay-button"><?php _e( 'Pay now', 'woocommerce-germanized' ); ?></a>
26
  </p>
12
  *
13
  * @see https://github.com/vendidero/woocommerce-germanized/wiki/Overriding-Germanized-Templates
14
  * @package Germanized/Templates
15
+ * @version 1.0.1
16
  */
17
  if ( ! defined( 'ABSPATH' ) ) {
18
  exit;
21
  ?>
22
 
23
  <p>
24
+ <a href="<?php echo esc_url( $url ); ?>"
25
  class="button wc-gzdp-order-pay-button"><?php _e( 'Pay now', 'woocommerce-germanized' ); ?></a>
26
  </p>
vendor/autoload.php CHANGED
@@ -4,4 +4,4 @@
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
- return ComposerAutoloaderInit5c7c7a0723945f4d20aec0e6cb7409e0::getLoader();
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
+ return ComposerAutoloaderInita85d28524495230e7ffae397b1610964::getLoader();
vendor/autoload_packages.php CHANGED
@@ -5,7 +5,7 @@
5
  * @package automattic/jetpack-autoloader
6
  */
7
 
8
- namespace Automattic\Jetpack\Autoloader\jp5c7c7a0723945f4d20aec0e6cb7409e0;
9
 
10
  // phpcs:ignore
11
 
5
  * @package automattic/jetpack-autoloader
6
  */
7
 
8
+ namespace Automattic\Jetpack\Autoloader\jpa85d28524495230e7ffae397b1610964;
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 ComposerAutoloaderInit5c7c7a0723945f4d20aec0e6cb7409e0
6
  {
7
  private static $loader;
8
 
@@ -24,15 +24,15 @@ class ComposerAutoloaderInit5c7c7a0723945f4d20aec0e6cb7409e0
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,19 +53,19 @@ class ComposerAutoloaderInit5c7c7a0723945f4d20aec0e6cb7409e0
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;
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
+ class ComposerAutoloaderInita85d28524495230e7ffae397b1610964
6
  {
7
  private static $loader;
8
 
24
 
25
  require __DIR__ . '/platform_check.php';
26
 
27
+ spl_autoload_register(array('ComposerAutoloaderInita85d28524495230e7ffae397b1610964', 'loadClassLoader'), true, true);
28
  self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(\dirname(__FILE__)));
29
+ spl_autoload_unregister(array('ComposerAutoloaderInita85d28524495230e7ffae397b1610964', '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\ComposerStaticInita85d28524495230e7ffae397b1610964::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\ComposerStaticInita85d28524495230e7ffae397b1610964::$files;
57
  } else {
58
  $includeFiles = require __DIR__ . '/autoload_files.php';
59
  }
60
  foreach ($includeFiles as $fileIdentifier => $file) {
61
+ composerRequirea85d28524495230e7ffae397b1610964($fileIdentifier, $file);
62
  }
63
 
64
  return $loader;
65
  }
66
  }
67
 
68
+ function composerRequirea85d28524495230e7ffae397b1610964($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 ComposerStaticInit5c7c7a0723945f4d20aec0e6cb7409e0
8
  {
9
  public static $files = array (
10
  '6124b4c8570aa390c21fafd04a26c69f' => __DIR__ . '/..' . '/myclabs/deep-copy/src/DeepCopy/deep_copy.php',
@@ -537,9 +537,9 @@ class ComposerStaticInit5c7c7a0723945f4d20aec0e6cb7409e0
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
  }
4
 
5
  namespace Composer\Autoload;
6
 
7
+ class ComposerStaticInita85d28524495230e7ffae397b1610964
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 = ComposerStaticInita85d28524495230e7ffae397b1610964::$prefixLengthsPsr4;
541
+ $loader->prefixDirsPsr4 = ComposerStaticInita85d28524495230e7ffae397b1610964::$prefixDirsPsr4;
542
+ $loader->classMap = ComposerStaticInita85d28524495230e7ffae397b1610964::$classMap;
543
 
544
  }, null, ClassLoader::class);
545
  }
vendor/composer/installed.json CHANGED
@@ -781,17 +781,17 @@
781
  },
782
  {
783
  "name": "vendidero/one-stop-shop-woocommerce",
784
- "version": "v1.2.2",
785
- "version_normalized": "1.2.2.0",
786
  "source": {
787
  "type": "git",
788
  "url": "https://github.com/vendidero/one-stop-shop-woocommerce.git",
789
- "reference": "47c6d19bddbbbd9f0cb22088c0cc42ee8c45e2ee"
790
  },
791
  "dist": {
792
  "type": "zip",
793
- "url": "https://api.github.com/repos/vendidero/one-stop-shop-woocommerce/zipball/47c6d19bddbbbd9f0cb22088c0cc42ee8c45e2ee",
794
- "reference": "47c6d19bddbbbd9f0cb22088c0cc42ee8c45e2ee",
795
  "shasum": ""
796
  },
797
  "require": {
@@ -800,7 +800,7 @@
800
  "require-dev": {
801
  "phpunit/phpunit": "6.5.14"
802
  },
803
- "time": "2022-05-25T12:13:49+00:00",
804
  "type": "wordpress-plugin",
805
  "installation-source": "dist",
806
  "autoload": {
@@ -822,24 +822,24 @@
822
  "description": "One Stop Shop Helper for WooCommerce",
823
  "homepage": "https://github.com/vendidero/one-stop-shop-woocommerce",
824
  "support": {
825
- "source": "https://github.com/vendidero/one-stop-shop-woocommerce/tree/v1.2.2",
826
  "issues": "https://github.com/vendidero/one-stop-shop-woocommerce/issues"
827
  },
828
  "install-path": "../../packages/one-stop-shop-woocommerce"
829
  },
830
  {
831
  "name": "vendidero/woocommerce-germanized-dhl",
832
- "version": "v1.6.14",
833
- "version_normalized": "1.6.14.0",
834
  "source": {
835
  "type": "git",
836
  "url": "https://github.com/vendidero/woocommerce-germanized-dhl.git",
837
- "reference": "6da915a2b547bf9cdd73db10dae0ec1219a726f4"
838
  },
839
  "dist": {
840
  "type": "zip",
841
- "url": "https://api.github.com/repos/vendidero/woocommerce-germanized-dhl/zipball/6da915a2b547bf9cdd73db10dae0ec1219a726f4",
842
- "reference": "6da915a2b547bf9cdd73db10dae0ec1219a726f4",
843
  "shasum": ""
844
  },
845
  "require": {
@@ -852,7 +852,7 @@
852
  "require-dev": {
853
  "phpunit/phpunit": "7.5.14"
854
  },
855
- "time": "2022-05-25T12:16:39+00:00",
856
  "type": "wordpress-plugin",
857
  "installation-source": "dist",
858
  "autoload": {
@@ -876,24 +876,24 @@
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.14",
880
  "issues": "https://github.com/vendidero/woocommerce-germanized-dhl/issues"
881
  },
882
  "install-path": "../../packages/woocommerce-germanized-dhl"
883
  },
884
  {
885
  "name": "vendidero/woocommerce-germanized-shipments",
886
- "version": "v1.6.8",
887
- "version_normalized": "1.6.8.0",
888
  "source": {
889
  "type": "git",
890
  "url": "https://github.com/vendidero/woocommerce-germanized-shipments.git",
891
- "reference": "057067cf3a6bdeaa19348f0d7790479660e62381"
892
  },
893
  "dist": {
894
  "type": "zip",
895
- "url": "https://api.github.com/repos/vendidero/woocommerce-germanized-shipments/zipball/057067cf3a6bdeaa19348f0d7790479660e62381",
896
- "reference": "057067cf3a6bdeaa19348f0d7790479660e62381",
897
  "shasum": ""
898
  },
899
  "require": {
@@ -906,7 +906,7 @@
906
  "phpunit/phpunit": "7.5.14",
907
  "yoast/phpunit-polyfills": "^1.0"
908
  },
909
- "time": "2022-05-02T08:38:19+00:00",
910
  "type": "wordpress-plugin",
911
  "installation-source": "dist",
912
  "autoload": {
@@ -928,24 +928,24 @@
928
  "description": "The Germanized Shipments implementation.",
929
  "homepage": "https://github.com/vendidero/woocommerce-germanized-shipments",
930
  "support": {
931
- "source": "https://github.com/vendidero/woocommerce-germanized-shipments/tree/v1.6.8",
932
  "issues": "https://github.com/vendidero/woocommerce-germanized-shipments/issues"
933
  },
934
  "install-path": "../../packages/woocommerce-germanized-shipments"
935
  },
936
  {
937
  "name": "vendidero/woocommerce-trusted-shops",
938
- "version": "v4.0.13",
939
- "version_normalized": "4.0.13.0",
940
  "source": {
941
  "type": "git",
942
  "url": "https://github.com/vendidero/woocommerce-trusted-shops.git",
943
- "reference": "ea172ccb90dfb9eea2c058e356e49b73f4605777"
944
  },
945
  "dist": {
946
  "type": "zip",
947
- "url": "https://api.github.com/repos/vendidero/woocommerce-trusted-shops/zipball/ea172ccb90dfb9eea2c058e356e49b73f4605777",
948
- "reference": "ea172ccb90dfb9eea2c058e356e49b73f4605777",
949
  "shasum": ""
950
  },
951
  "require": {
@@ -954,7 +954,7 @@
954
  "require-dev": {
955
  "phpunit/phpunit": "6.5.14"
956
  },
957
- "time": "2022-01-21T14:02:13+00:00",
958
  "type": "wordpress-plugin",
959
  "installation-source": "dist",
960
  "autoload": {
@@ -976,7 +976,7 @@
976
  "description": "Trustbadge Reviews for WooCommerce.",
977
  "homepage": "https://github.com/vendidero/woocommerce-trusted-shops",
978
  "support": {
979
- "source": "https://github.com/vendidero/woocommerce-trusted-shops/tree/v4.0.13",
980
  "issues": "https://github.com/vendidero/woocommerce-trusted-shops/issues"
981
  },
982
  "install-path": "../../packages/woocommerce-trusted-shops"
781
  },
782
  {
783
  "name": "vendidero/one-stop-shop-woocommerce",
784
+ "version": "v1.2.3",
785
+ "version_normalized": "1.2.3.0",
786
  "source": {
787
  "type": "git",
788
  "url": "https://github.com/vendidero/one-stop-shop-woocommerce.git",
789
+ "reference": "2e41ea68e06425c8b5f4b484d1498b5f4962e5ee"
790
  },
791
  "dist": {
792
  "type": "zip",
793
+ "url": "https://api.github.com/repos/vendidero/one-stop-shop-woocommerce/zipball/2e41ea68e06425c8b5f4b484d1498b5f4962e5ee",
794
+ "reference": "2e41ea68e06425c8b5f4b484d1498b5f4962e5ee",
795
  "shasum": ""
796
  },
797
  "require": {
800
  "require-dev": {
801
  "phpunit/phpunit": "6.5.14"
802
  },
803
+ "time": "2022-05-31T14:11:35+00:00",
804
  "type": "wordpress-plugin",
805
  "installation-source": "dist",
806
  "autoload": {
822
  "description": "One Stop Shop Helper for WooCommerce",
823
  "homepage": "https://github.com/vendidero/one-stop-shop-woocommerce",
824
  "support": {
825
+ "source": "https://github.com/vendidero/one-stop-shop-woocommerce/tree/v1.2.3",
826
  "issues": "https://github.com/vendidero/one-stop-shop-woocommerce/issues"
827
  },
828
  "install-path": "../../packages/one-stop-shop-woocommerce"
829
  },
830
  {
831
  "name": "vendidero/woocommerce-germanized-dhl",
832
+ "version": "v1.6.15",
833
+ "version_normalized": "1.6.15.0",
834
  "source": {
835
  "type": "git",
836
  "url": "https://github.com/vendidero/woocommerce-germanized-dhl.git",
837
+ "reference": "9d2ee1bb1fc0cf55ffd2c30e8bd258824bb68048"
838
  },
839
  "dist": {
840
  "type": "zip",
841
+ "url": "https://api.github.com/repos/vendidero/woocommerce-germanized-dhl/zipball/9d2ee1bb1fc0cf55ffd2c30e8bd258824bb68048",
842
+ "reference": "9d2ee1bb1fc0cf55ffd2c30e8bd258824bb68048",
843
  "shasum": ""
844
  },
845
  "require": {
852
  "require-dev": {
853
  "phpunit/phpunit": "7.5.14"
854
  },
855
+ "time": "2022-05-31T14:11:06+00:00",
856
  "type": "wordpress-plugin",
857
  "installation-source": "dist",
858
  "autoload": {
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.15",
880
  "issues": "https://github.com/vendidero/woocommerce-germanized-dhl/issues"
881
  },
882
  "install-path": "../../packages/woocommerce-germanized-dhl"
883
  },
884
  {
885
  "name": "vendidero/woocommerce-germanized-shipments",
886
+ "version": "v1.6.9",
887
+ "version_normalized": "1.6.9.0",
888
  "source": {
889
  "type": "git",
890
  "url": "https://github.com/vendidero/woocommerce-germanized-shipments.git",
891
+ "reference": "06299c1ede5ebe5f03a95982b34863b853fa18ec"
892
  },
893
  "dist": {
894
  "type": "zip",
895
+ "url": "https://api.github.com/repos/vendidero/woocommerce-germanized-shipments/zipball/06299c1ede5ebe5f03a95982b34863b853fa18ec",
896
+ "reference": "06299c1ede5ebe5f03a95982b34863b853fa18ec",
897
  "shasum": ""
898
  },
899
  "require": {
906
  "phpunit/phpunit": "7.5.14",
907
  "yoast/phpunit-polyfills": "^1.0"
908
  },
909
+ "time": "2022-05-31T14:10:17+00:00",
910
  "type": "wordpress-plugin",
911
  "installation-source": "dist",
912
  "autoload": {
928
  "description": "The Germanized Shipments implementation.",
929
  "homepage": "https://github.com/vendidero/woocommerce-germanized-shipments",
930
  "support": {
931
+ "source": "https://github.com/vendidero/woocommerce-germanized-shipments/tree/v1.6.9",
932
  "issues": "https://github.com/vendidero/woocommerce-germanized-shipments/issues"
933
  },
934
  "install-path": "../../packages/woocommerce-germanized-shipments"
935
  },
936
  {
937
  "name": "vendidero/woocommerce-trusted-shops",
938
+ "version": "v4.0.14",
939
+ "version_normalized": "4.0.14.0",
940
  "source": {
941
  "type": "git",
942
  "url": "https://github.com/vendidero/woocommerce-trusted-shops.git",
943
+ "reference": "1dc8a9dc27a04ab48dc600d99d090f145a0e2e4b"
944
  },
945
  "dist": {
946
  "type": "zip",
947
+ "url": "https://api.github.com/repos/vendidero/woocommerce-trusted-shops/zipball/1dc8a9dc27a04ab48dc600d99d090f145a0e2e4b",
948
+ "reference": "1dc8a9dc27a04ab48dc600d99d090f145a0e2e4b",
949
  "shasum": ""
950
  },
951
  "require": {
954
  "require-dev": {
955
  "phpunit/phpunit": "6.5.14"
956
  },
957
+ "time": "2022-05-31T12:42:26+00:00",
958
  "type": "wordpress-plugin",
959
  "installation-source": "dist",
960
  "autoload": {
976
  "description": "Trustbadge Reviews for WooCommerce.",
977
  "homepage": "https://github.com/vendidero/woocommerce-trusted-shops",
978
  "support": {
979
+ "source": "https://github.com/vendidero/woocommerce-trusted-shops/tree/v4.0.14",
980
  "issues": "https://github.com/vendidero/woocommerce-trusted-shops/issues"
981
  },
982
  "install-path": "../../packages/woocommerce-trusted-shops"
vendor/composer/installed.php CHANGED
@@ -5,7 +5,7 @@
5
  'type' => 'wordpress-plugin',
6
  'install_path' => __DIR__ . '/../../',
7
  'aliases' => array(),
8
- 'reference' => 'fa7274c0b588d35b5fb9c2759a5207077359f848',
9
  'name' => 'vendidero/woocommerce-germanized',
10
  'dev' => false,
11
  ),
@@ -131,12 +131,12 @@
131
  ),
132
  ),
133
  'vendidero/one-stop-shop-woocommerce' => array(
134
- 'pretty_version' => 'v1.2.2',
135
- 'version' => '1.2.2.0',
136
  'type' => 'wordpress-plugin',
137
  'install_path' => __DIR__ . '/../../packages/one-stop-shop-woocommerce',
138
  'aliases' => array(),
139
- 'reference' => '47c6d19bddbbbd9f0cb22088c0cc42ee8c45e2ee',
140
  'dev_requirement' => false,
141
  ),
142
  'vendidero/woocommerce-germanized' => array(
@@ -145,34 +145,34 @@
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(
152
- 'pretty_version' => 'v1.6.14',
153
- 'version' => '1.6.14.0',
154
  'type' => 'wordpress-plugin',
155
  'install_path' => __DIR__ . '/../../packages/woocommerce-germanized-dhl',
156
  'aliases' => array(),
157
- 'reference' => '6da915a2b547bf9cdd73db10dae0ec1219a726f4',
158
  'dev_requirement' => false,
159
  ),
160
  'vendidero/woocommerce-germanized-shipments' => array(
161
- 'pretty_version' => 'v1.6.8',
162
- 'version' => '1.6.8.0',
163
  'type' => 'wordpress-plugin',
164
  'install_path' => __DIR__ . '/../../packages/woocommerce-germanized-shipments',
165
  'aliases' => array(),
166
- 'reference' => '057067cf3a6bdeaa19348f0d7790479660e62381',
167
  'dev_requirement' => false,
168
  ),
169
  'vendidero/woocommerce-trusted-shops' => array(
170
- 'pretty_version' => 'v4.0.13',
171
- 'version' => '4.0.13.0',
172
  'type' => 'wordpress-plugin',
173
  'install_path' => __DIR__ . '/../../packages/woocommerce-trusted-shops',
174
  'aliases' => array(),
175
- 'reference' => 'ea172ccb90dfb9eea2c058e356e49b73f4605777',
176
  'dev_requirement' => false,
177
  ),
178
  'wsdltophp/wssecurity' => array(
5
  'type' => 'wordpress-plugin',
6
  'install_path' => __DIR__ . '/../../',
7
  'aliases' => array(),
8
+ 'reference' => '2f7600311172d3840c3ed685330eb814b29dc5fe',
9
  'name' => 'vendidero/woocommerce-germanized',
10
  'dev' => false,
11
  ),
131
  ),
132
  ),
133
  'vendidero/one-stop-shop-woocommerce' => array(
134
+ 'pretty_version' => 'v1.2.3',
135
+ 'version' => '1.2.3.0',
136
  'type' => 'wordpress-plugin',
137
  'install_path' => __DIR__ . '/../../packages/one-stop-shop-woocommerce',
138
  'aliases' => array(),
139
+ 'reference' => '2e41ea68e06425c8b5f4b484d1498b5f4962e5ee',
140
  'dev_requirement' => false,
141
  ),
142
  'vendidero/woocommerce-germanized' => array(
145
  'type' => 'wordpress-plugin',
146
  'install_path' => __DIR__ . '/../../',
147
  'aliases' => array(),
148
+ 'reference' => '2f7600311172d3840c3ed685330eb814b29dc5fe',
149
  'dev_requirement' => false,
150
  ),
151
  'vendidero/woocommerce-germanized-dhl' => array(
152
+ 'pretty_version' => 'v1.6.15',
153
+ 'version' => '1.6.15.0',
154
  'type' => 'wordpress-plugin',
155
  'install_path' => __DIR__ . '/../../packages/woocommerce-germanized-dhl',
156
  'aliases' => array(),
157
+ 'reference' => '9d2ee1bb1fc0cf55ffd2c30e8bd258824bb68048',
158
  'dev_requirement' => false,
159
  ),
160
  'vendidero/woocommerce-germanized-shipments' => array(
161
+ 'pretty_version' => 'v1.6.9',
162
+ 'version' => '1.6.9.0',
163
  'type' => 'wordpress-plugin',
164
  'install_path' => __DIR__ . '/../../packages/woocommerce-germanized-shipments',
165
  'aliases' => array(),
166
+ 'reference' => '06299c1ede5ebe5f03a95982b34863b853fa18ec',
167
  'dev_requirement' => false,
168
  ),
169
  'vendidero/woocommerce-trusted-shops' => array(
170
+ 'pretty_version' => 'v4.0.14',
171
+ 'version' => '4.0.14.0',
172
  'type' => 'wordpress-plugin',
173
  'install_path' => __DIR__ . '/../../packages/woocommerce-trusted-shops',
174
  'aliases' => array(),
175
+ 'reference' => '1dc8a9dc27a04ab48dc600d99d090f145a0e2e4b',
176
  'dev_requirement' => false,
177
  ),
178
  'wsdltophp/wssecurity' => array(
vendor/composer/jetpack_autoload_classmap.php CHANGED
@@ -319,447 +319,447 @@ return array(
319
  'path' => $vendorDir . '/wsdltophp/wssecurity/src/Expires.php'
320
  ),
321
  'Vendidero\\TrustedShops\\Package' => array(
322
- 'version' => '4.0.13.0',
323
  'path' => $baseDir . '/packages/woocommerce-trusted-shops/src/Package.php'
324
  ),
325
  'Vendidero\\OneStopShop\\SettingsPage' => array(
326
- 'version' => '1.2.2.0',
327
  'path' => $baseDir . '/packages/one-stop-shop-woocommerce/src/SettingsPage.php'
328
  ),
329
  'Vendidero\\OneStopShop\\Install' => array(
330
- 'version' => '1.2.2.0',
331
  'path' => $baseDir . '/packages/one-stop-shop-woocommerce/src/Install.php'
332
  ),
333
  'Vendidero\\OneStopShop\\Settings' => array(
334
- 'version' => '1.2.2.0',
335
  'path' => $baseDir . '/packages/one-stop-shop-woocommerce/src/Settings.php'
336
  ),
337
  'Vendidero\\OneStopShop\\CSVExporterBOP' => array(
338
- 'version' => '1.2.2.0',
339
  'path' => $baseDir . '/packages/one-stop-shop-woocommerce/src/CSVExporterBOP.php'
340
  ),
341
  'Vendidero\\OneStopShop\\Package' => array(
342
- 'version' => '1.2.2.0',
343
  'path' => $baseDir . '/packages/one-stop-shop-woocommerce/src/Package.php'
344
  ),
345
  'Vendidero\\OneStopShop\\ReportTable' => array(
346
- 'version' => '1.2.2.0',
347
  'path' => $baseDir . '/packages/one-stop-shop-woocommerce/src/ReportTable.php'
348
  ),
349
  'Vendidero\\OneStopShop\\CSVExporter' => array(
350
- 'version' => '1.2.2.0',
351
  'path' => $baseDir . '/packages/one-stop-shop-woocommerce/src/CSVExporter.php'
352
  ),
353
  'Vendidero\\OneStopShop\\DeliveryThresholdEmailNotification' => array(
354
- 'version' => '1.2.2.0',
355
  'path' => $baseDir . '/packages/one-stop-shop-woocommerce/src/DeliveryThresholdEmailNotification.php'
356
  ),
357
  'Vendidero\\OneStopShop\\Queue' => array(
358
- 'version' => '1.2.2.0',
359
  'path' => $baseDir . '/packages/one-stop-shop-woocommerce/src/Queue.php'
360
  ),
361
  'Vendidero\\OneStopShop\\Tax' => array(
362
- 'version' => '1.2.2.0',
363
  'path' => $baseDir . '/packages/one-stop-shop-woocommerce/src/Tax.php'
364
  ),
365
  'Vendidero\\OneStopShop\\AsyncReportGenerator' => array(
366
- 'version' => '1.2.2.0',
367
  'path' => $baseDir . '/packages/one-stop-shop-woocommerce/src/AsyncReportGenerator.php'
368
  ),
369
  'Vendidero\\OneStopShop\\DeliveryThresholdWarning' => array(
370
- 'version' => '1.2.2.0',
371
  'path' => $baseDir . '/packages/one-stop-shop-woocommerce/src/DeliveryThresholdWarning.php'
372
  ),
373
  'Vendidero\\OneStopShop\\Admin' => array(
374
- 'version' => '1.2.2.0',
375
  'path' => $baseDir . '/packages/one-stop-shop-woocommerce/src/Admin.php'
376
  ),
377
  'Vendidero\\OneStopShop\\AdminNote' => array(
378
- 'version' => '1.2.2.0',
379
  'path' => $baseDir . '/packages/one-stop-shop-woocommerce/src/AdminNote.php'
380
  ),
381
  'Vendidero\\OneStopShop\\Report' => array(
382
- 'version' => '1.2.2.0',
383
  'path' => $baseDir . '/packages/one-stop-shop-woocommerce/src/Report.php'
384
  ),
385
  'Vendidero\\Germanized\\Shipments\\Shipment' => array(
386
- 'version' => '1.6.8.0',
387
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/Shipment.php'
388
  ),
389
  'Vendidero\\Germanized\\Shipments\\ShippingProvider\\Auto' => array(
390
- 'version' => '1.6.8.0',
391
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/ShippingProvider/Auto.php'
392
  ),
393
  'Vendidero\\Germanized\\Shipments\\ShippingProvider\\Method' => array(
394
- 'version' => '1.6.8.0',
395
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/ShippingProvider/Method.php'
396
  ),
397
  'Vendidero\\Germanized\\Shipments\\ShippingProvider\\Simple' => array(
398
- 'version' => '1.6.8.0',
399
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/ShippingProvider/Simple.php'
400
  ),
401
  'Vendidero\\Germanized\\Shipments\\ShippingProvider\\Helper' => array(
402
- 'version' => '1.6.8.0',
403
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/ShippingProvider/Helper.php'
404
  ),
405
  'Vendidero\\Germanized\\Shipments\\ShippingProvider\\MethodPlaceholder' => array(
406
- 'version' => '1.6.8.0',
407
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/ShippingProvider/MethodPlaceholder.php'
408
  ),
409
  'Vendidero\\Germanized\\Shipments\\Install' => array(
410
- 'version' => '1.6.8.0',
411
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/Install.php'
412
  ),
413
  'Vendidero\\Germanized\\Shipments\\SimpleShipment' => array(
414
- 'version' => '1.6.8.0',
415
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/SimpleShipment.php'
416
  ),
417
  'Vendidero\\Germanized\\Shipments\\Package' => array(
418
- 'version' => '1.6.8.0',
419
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/Package.php'
420
  ),
421
  'Vendidero\\Germanized\\Shipments\\Product' => array(
422
- 'version' => '1.6.8.0',
423
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/Product.php'
424
  ),
425
  'Vendidero\\Germanized\\Shipments\\Order' => array(
426
- 'version' => '1.6.8.0',
427
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/Order.php'
428
  ),
429
  'Vendidero\\Germanized\\Shipments\\DataStores\\Shipment' => array(
430
- 'version' => '1.6.8.0',
431
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/DataStores/Shipment.php'
432
  ),
433
  'Vendidero\\Germanized\\Shipments\\DataStores\\Label' => array(
434
- 'version' => '1.6.8.0',
435
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/DataStores/Label.php'
436
  ),
437
  'Vendidero\\Germanized\\Shipments\\DataStores\\ShippingProvider' => array(
438
- 'version' => '1.6.8.0',
439
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/DataStores/ShippingProvider.php'
440
  ),
441
  'Vendidero\\Germanized\\Shipments\\DataStores\\Packaging' => array(
442
- 'version' => '1.6.8.0',
443
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/DataStores/Packaging.php'
444
  ),
445
  'Vendidero\\Germanized\\Shipments\\DataStores\\ShipmentItem' => array(
446
- 'version' => '1.6.8.0',
447
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/DataStores/ShipmentItem.php'
448
  ),
449
  'Vendidero\\Germanized\\Shipments\\PackagingFactory' => array(
450
- 'version' => '1.6.8.0',
451
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/PackagingFactory.php'
452
  ),
453
  'Vendidero\\Germanized\\Shipments\\Ajax' => array(
454
- 'version' => '1.6.8.0',
455
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/Ajax.php'
456
  ),
457
  'Vendidero\\Germanized\\Shipments\\ReturnShipment' => array(
458
- 'version' => '1.6.8.0',
459
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/ReturnShipment.php'
460
  ),
461
  'Vendidero\\Germanized\\Shipments\\AddressSplitter' => array(
462
- 'version' => '1.6.8.0',
463
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/AddressSplitter.php'
464
  ),
465
  'Vendidero\\Germanized\\Shipments\\Admin\\BulkLabel' => array(
466
- 'version' => '1.6.8.0',
467
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/Admin/BulkLabel.php'
468
  ),
469
  'Vendidero\\Germanized\\Shipments\\Admin\\Settings' => array(
470
- 'version' => '1.6.8.0',
471
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/Admin/Settings.php'
472
  ),
473
  'Vendidero\\Germanized\\Shipments\\Admin\\MetaBox' => array(
474
- 'version' => '1.6.8.0',
475
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/Admin/MetaBox.php'
476
  ),
477
  'Vendidero\\Germanized\\Shipments\\Admin\\ProviderSettings' => array(
478
- 'version' => '1.6.8.0',
479
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/Admin/ProviderSettings.php'
480
  ),
481
  'Vendidero\\Germanized\\Shipments\\Admin\\ReturnTable' => array(
482
- 'version' => '1.6.8.0',
483
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/Admin/ReturnTable.php'
484
  ),
485
  'Vendidero\\Germanized\\Shipments\\Admin\\BulkActionHandler' => array(
486
- 'version' => '1.6.8.0',
487
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/Admin/BulkActionHandler.php'
488
  ),
489
  'Vendidero\\Germanized\\Shipments\\Admin\\Admin' => array(
490
- 'version' => '1.6.8.0',
491
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/Admin/Admin.php'
492
  ),
493
  'Vendidero\\Germanized\\Shipments\\Admin\\Table' => array(
494
- 'version' => '1.6.8.0',
495
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/Admin/Table.php'
496
  ),
497
  'Vendidero\\Germanized\\Shipments\\Labels\\Factory' => array(
498
- 'version' => '1.6.8.0',
499
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/Labels/Factory.php'
500
  ),
501
  'Vendidero\\Germanized\\Shipments\\Labels\\Label' => array(
502
- 'version' => '1.6.8.0',
503
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/Labels/Label.php'
504
  ),
505
  'Vendidero\\Germanized\\Shipments\\Labels\\ReturnLabel' => array(
506
- 'version' => '1.6.8.0',
507
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/Labels/ReturnLabel.php'
508
  ),
509
  'Vendidero\\Germanized\\Shipments\\Labels\\DownloadHandler' => array(
510
- 'version' => '1.6.8.0',
511
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/Labels/DownloadHandler.php'
512
  ),
513
  'Vendidero\\Germanized\\Shipments\\Labels\\Automation' => array(
514
- 'version' => '1.6.8.0',
515
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/Labels/Automation.php'
516
  ),
517
  'Vendidero\\Germanized\\Shipments\\Labels\\Query' => array(
518
- 'version' => '1.6.8.0',
519
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/Labels/Query.php'
520
  ),
521
  'Vendidero\\Germanized\\Shipments\\ShipmentQuery' => array(
522
- 'version' => '1.6.8.0',
523
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/ShipmentQuery.php'
524
  ),
525
  'Vendidero\\Germanized\\Shipments\\WPMLHelper' => array(
526
- 'version' => '1.6.8.0',
527
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/WPMLHelper.php'
528
  ),
529
  'Vendidero\\Germanized\\Shipments\\ShipmentReturnItem' => array(
530
- 'version' => '1.6.8.0',
531
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/ShipmentReturnItem.php'
532
  ),
533
  'Vendidero\\Germanized\\Shipments\\FormHandler' => array(
534
- 'version' => '1.6.8.0',
535
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/FormHandler.php'
536
  ),
537
  'Vendidero\\Germanized\\Shipments\\PDFMerger' => array(
538
- 'version' => '1.6.8.0',
539
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/PDFMerger.php'
540
  ),
541
  'Vendidero\\Germanized\\Shipments\\ShipmentFactory' => array(
542
- 'version' => '1.6.8.0',
543
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/ShipmentFactory.php'
544
  ),
545
  'Vendidero\\Germanized\\Shipments\\Automation' => array(
546
- 'version' => '1.6.8.0',
547
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/Automation.php'
548
  ),
549
  'Vendidero\\Germanized\\Shipments\\Packaging' => array(
550
- 'version' => '1.6.8.0',
551
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/Packaging.php'
552
  ),
553
  'Vendidero\\Germanized\\Shipments\\Api' => array(
554
- 'version' => '1.6.8.0',
555
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/Api.php'
556
  ),
557
  'Vendidero\\Germanized\\Shipments\\ShipmentItem' => array(
558
- 'version' => '1.6.8.0',
559
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/ShipmentItem.php'
560
  ),
561
  'Vendidero\\Germanized\\Shipments\\Validation' => array(
562
- 'version' => '1.6.8.0',
563
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/Validation.php'
564
  ),
565
  'Vendidero\\Germanized\\Shipments\\Emails' => array(
566
- 'version' => '1.6.8.0',
567
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/Emails.php'
568
  ),
569
  'Vendidero\\Germanized\\Shipments\\PDFSplitter' => array(
570
- 'version' => '1.6.8.0',
571
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/PDFSplitter.php'
572
  ),
573
  'Vendidero\\Germanized\\Shipments\\ReturnReason' => array(
574
- 'version' => '1.6.8.0',
575
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/ReturnReason.php'
576
  ),
577
  'Vendidero\\Germanized\\Shipments\\Interfaces\\ShippingProviderAuto' => array(
578
- 'version' => '1.6.8.0',
579
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/Interfaces/ShippingProviderAuto.php'
580
  ),
581
  'Vendidero\\Germanized\\Shipments\\Interfaces\\ShippingProvider' => array(
582
- 'version' => '1.6.8.0',
583
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/Interfaces/ShippingProvider.php'
584
  ),
585
  'Vendidero\\Germanized\\Shipments\\Interfaces\\ShipmentReturnLabel' => array(
586
- 'version' => '1.6.8.0',
587
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/Interfaces/ShipmentReturnLabel.php'
588
  ),
589
  'Vendidero\\Germanized\\Shipments\\Interfaces\\ShipmentLabel' => array(
590
- 'version' => '1.6.8.0',
591
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/Interfaces/ShipmentLabel.php'
592
  ),
593
  'Vendidero\\Germanized\\Shipments\\Packing\\PackagingBox' => array(
594
- 'version' => '1.6.8.0',
595
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/Packing/PackagingBox.php'
596
  ),
597
  'Vendidero\\Germanized\\Shipments\\Packing\\OrderItem' => array(
598
- 'version' => '1.6.8.0',
599
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/Packing/OrderItem.php'
600
  ),
601
  'Vendidero\\Germanized\\Shipments\\Packing\\Helper' => array(
602
- 'version' => '1.6.8.0',
603
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/Packing/Helper.php'
604
  ),
605
  'Vendidero\\Germanized\\Shipments\\Packing\\ShipmentItem' => array(
606
- 'version' => '1.6.8.0',
607
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/Packing/ShipmentItem.php'
608
  ),
609
  'Vendidero\\Germanized\\DHL\\ShippingProvider\\DeutschePost' => array(
610
- 'version' => '1.6.14.0',
611
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/ShippingProvider/DeutschePost.php'
612
  ),
613
  'Vendidero\\Germanized\\DHL\\ShippingProvider\\ShippingMethod' => array(
614
- 'version' => '1.6.14.0',
615
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/ShippingProvider/ShippingMethod.php'
616
  ),
617
  'Vendidero\\Germanized\\DHL\\ShippingProvider\\DHL' => array(
618
- 'version' => '1.6.14.0',
619
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/ShippingProvider/DHL.php'
620
  ),
621
  'Vendidero\\Germanized\\DHL\\Install' => array(
622
- 'version' => '1.6.14.0',
623
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Install.php'
624
  ),
625
  'Vendidero\\Germanized\\DHL\\Package' => array(
626
- 'version' => '1.6.14.0',
627
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Package.php'
628
  ),
629
  'Vendidero\\Germanized\\DHL\\Product' => array(
630
- 'version' => '1.6.14.0',
631
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Product.php'
632
  ),
633
  'Vendidero\\Germanized\\DHL\\Order' => array(
634
- 'version' => '1.6.14.0',
635
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Order.php'
636
  ),
637
  'Vendidero\\Germanized\\DHL\\Ajax' => array(
638
- 'version' => '1.6.14.0',
639
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Ajax.php'
640
  ),
641
  'Vendidero\\Germanized\\DHL\\ParcelServices' => array(
642
- 'version' => '1.6.14.0',
643
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/ParcelServices.php'
644
  ),
645
  'Vendidero\\Germanized\\DHL\\Admin\\Importer\\Internetmarke' => array(
646
- 'version' => '1.6.14.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.14.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.14.0',
655
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Admin/Status.php'
656
  ),
657
  'Vendidero\\Germanized\\DHL\\Admin\\Admin' => array(
658
- 'version' => '1.6.14.0',
659
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Admin/Admin.php'
660
  ),
661
  'Vendidero\\Germanized\\DHL\\Label\\DHLInlayReturn' => array(
662
- 'version' => '1.6.14.0',
663
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Label/DHLInlayReturn.php'
664
  ),
665
  'Vendidero\\Germanized\\DHL\\Label\\Label' => array(
666
- 'version' => '1.6.14.0',
667
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Label/Label.php'
668
  ),
669
  'Vendidero\\Germanized\\DHL\\Label\\DHLReturn' => array(
670
- 'version' => '1.6.14.0',
671
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Label/DHLReturn.php'
672
  ),
673
  'Vendidero\\Germanized\\DHL\\Label\\ReturnLabel' => array(
674
- 'version' => '1.6.14.0',
675
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Label/ReturnLabel.php'
676
  ),
677
  'Vendidero\\Germanized\\DHL\\Label\\DeutschePost' => array(
678
- 'version' => '1.6.14.0',
679
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Label/DeutschePost.php'
680
  ),
681
  'Vendidero\\Germanized\\DHL\\Label\\DHL' => array(
682
- 'version' => '1.6.14.0',
683
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Label/DHL.php'
684
  ),
685
  'Vendidero\\Germanized\\DHL\\Label\\DeutschePostReturn' => array(
686
- 'version' => '1.6.14.0',
687
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Label/DeutschePostReturn.php'
688
  ),
689
  'Vendidero\\Germanized\\DHL\\Legacy\\LabelQuery' => array(
690
- 'version' => '1.6.14.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.14.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.14.0',
699
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Legacy/DownloadHandler.php'
700
  ),
701
  'Vendidero\\Germanized\\DHL\\Legacy\\LabelFactory' => array(
702
- 'version' => '1.6.14.0',
703
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Legacy/LabelFactory.php'
704
  ),
705
  'Vendidero\\Germanized\\DHL\\ParcelLocator' => array(
706
- 'version' => '1.6.14.0',
707
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/ParcelLocator.php'
708
  ),
709
  'Vendidero\\Germanized\\DHL\\Api\\ReturnRest' => array(
710
- 'version' => '1.6.14.0',
711
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Api/ReturnRest.php'
712
  ),
713
  'Vendidero\\Germanized\\DHL\\Api\\Paket' => array(
714
- 'version' => '1.6.14.0',
715
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Api/Paket.php'
716
  ),
717
  'Vendidero\\Germanized\\DHL\\Api\\LabelSoap' => array(
718
- 'version' => '1.6.14.0',
719
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Api/LabelSoap.php'
720
  ),
721
  'Vendidero\\Germanized\\DHL\\Api\\ImProductList' => array(
722
- 'version' => '1.6.14.0',
723
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Api/ImProductList.php'
724
  ),
725
  'Vendidero\\Germanized\\DHL\\Api\\AuthSoap' => array(
726
- 'version' => '1.6.14.0',
727
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Api/AuthSoap.php'
728
  ),
729
  'Vendidero\\Germanized\\DHL\\Api\\Internetmarke' => array(
730
- 'version' => '1.6.14.0',
731
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Api/Internetmarke.php'
732
  ),
733
  'Vendidero\\Germanized\\DHL\\Api\\ParcelRest' => array(
734
- 'version' => '1.6.14.0',
735
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Api/ParcelRest.php'
736
  ),
737
  'Vendidero\\Germanized\\DHL\\Api\\ImPartnerInformation' => array(
738
- 'version' => '1.6.14.0',
739
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Api/ImPartnerInformation.php'
740
  ),
741
  'Vendidero\\Germanized\\DHL\\Api\\Soap' => array(
742
- 'version' => '1.6.14.0',
743
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Api/Soap.php'
744
  ),
745
  'Vendidero\\Germanized\\DHL\\Api\\Rest' => array(
746
- 'version' => '1.6.14.0',
747
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Api/Rest.php'
748
  ),
749
  'Vendidero\\Germanized\\DHL\\Api\\ImProductsSoap' => array(
750
- 'version' => '1.6.14.0',
751
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Api/ImProductsSoap.php'
752
  ),
753
  'Vendidero\\Germanized\\DHL\\Api\\FinderSoap' => array(
754
- 'version' => '1.6.14.0',
755
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Api/FinderSoap.php'
756
  ),
757
  'Vendidero\\Germanized\\DHL\\Api\\ImRefundSoap' => array(
758
- 'version' => '1.6.14.0',
759
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Api/ImRefundSoap.php'
760
  ),
761
  'Vendidero\\Germanized\\DHL\\Api\\ImWarenpostIntRest' => array(
762
- 'version' => '1.6.14.0',
763
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Api/ImWarenpostIntRest.php'
764
  ),
765
  'Vendidero\\Germanized\\Shopmark' => array(
319
  'path' => $vendorDir . '/wsdltophp/wssecurity/src/Expires.php'
320
  ),
321
  'Vendidero\\TrustedShops\\Package' => array(
322
+ 'version' => '4.0.14.0',
323
  'path' => $baseDir . '/packages/woocommerce-trusted-shops/src/Package.php'
324
  ),
325
  'Vendidero\\OneStopShop\\SettingsPage' => array(
326
+ 'version' => '1.2.3.0',
327
  'path' => $baseDir . '/packages/one-stop-shop-woocommerce/src/SettingsPage.php'
328
  ),
329
  'Vendidero\\OneStopShop\\Install' => array(
330
+ 'version' => '1.2.3.0',
331
  'path' => $baseDir . '/packages/one-stop-shop-woocommerce/src/Install.php'
332
  ),
333
  'Vendidero\\OneStopShop\\Settings' => array(
334
+ 'version' => '1.2.3.0',
335
  'path' => $baseDir . '/packages/one-stop-shop-woocommerce/src/Settings.php'
336
  ),
337
  'Vendidero\\OneStopShop\\CSVExporterBOP' => array(
338
+ 'version' => '1.2.3.0',
339
  'path' => $baseDir . '/packages/one-stop-shop-woocommerce/src/CSVExporterBOP.php'
340
  ),
341
  'Vendidero\\OneStopShop\\Package' => array(
342
+ 'version' => '1.2.3.0',
343
  'path' => $baseDir . '/packages/one-stop-shop-woocommerce/src/Package.php'
344
  ),
345
  'Vendidero\\OneStopShop\\ReportTable' => array(
346
+ 'version' => '1.2.3.0',
347
  'path' => $baseDir . '/packages/one-stop-shop-woocommerce/src/ReportTable.php'
348
  ),
349
  'Vendidero\\OneStopShop\\CSVExporter' => array(
350
+ 'version' => '1.2.3.0',
351
  'path' => $baseDir . '/packages/one-stop-shop-woocommerce/src/CSVExporter.php'
352
  ),
353
  'Vendidero\\OneStopShop\\DeliveryThresholdEmailNotification' => array(
354
+ 'version' => '1.2.3.0',
355
  'path' => $baseDir . '/packages/one-stop-shop-woocommerce/src/DeliveryThresholdEmailNotification.php'
356
  ),
357
  'Vendidero\\OneStopShop\\Queue' => array(
358
+ 'version' => '1.2.3.0',
359
  'path' => $baseDir . '/packages/one-stop-shop-woocommerce/src/Queue.php'
360
  ),
361
  'Vendidero\\OneStopShop\\Tax' => array(
362
+ 'version' => '1.2.3.0',
363
  'path' => $baseDir . '/packages/one-stop-shop-woocommerce/src/Tax.php'
364
  ),
365
  'Vendidero\\OneStopShop\\AsyncReportGenerator' => array(
366
+ 'version' => '1.2.3.0',
367
  'path' => $baseDir . '/packages/one-stop-shop-woocommerce/src/AsyncReportGenerator.php'
368
  ),
369
  'Vendidero\\OneStopShop\\DeliveryThresholdWarning' => array(
370
+ 'version' => '1.2.3.0',
371
  'path' => $baseDir . '/packages/one-stop-shop-woocommerce/src/DeliveryThresholdWarning.php'
372
  ),
373
  'Vendidero\\OneStopShop\\Admin' => array(
374
+ 'version' => '1.2.3.0',
375
  'path' => $baseDir . '/packages/one-stop-shop-woocommerce/src/Admin.php'
376
  ),
377
  'Vendidero\\OneStopShop\\AdminNote' => array(
378
+ 'version' => '1.2.3.0',
379
  'path' => $baseDir . '/packages/one-stop-shop-woocommerce/src/AdminNote.php'
380
  ),
381
  'Vendidero\\OneStopShop\\Report' => array(
382
+ 'version' => '1.2.3.0',
383
  'path' => $baseDir . '/packages/one-stop-shop-woocommerce/src/Report.php'
384
  ),
385
  'Vendidero\\Germanized\\Shipments\\Shipment' => array(
386
+ 'version' => '1.6.9.0',
387
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/Shipment.php'
388
  ),
389
  'Vendidero\\Germanized\\Shipments\\ShippingProvider\\Auto' => array(
390
+ 'version' => '1.6.9.0',
391
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/ShippingProvider/Auto.php'
392
  ),
393
  'Vendidero\\Germanized\\Shipments\\ShippingProvider\\Method' => array(
394
+ 'version' => '1.6.9.0',
395
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/ShippingProvider/Method.php'
396
  ),
397
  'Vendidero\\Germanized\\Shipments\\ShippingProvider\\Simple' => array(
398
+ 'version' => '1.6.9.0',
399
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/ShippingProvider/Simple.php'
400
  ),
401
  'Vendidero\\Germanized\\Shipments\\ShippingProvider\\Helper' => array(
402
+ 'version' => '1.6.9.0',
403
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/ShippingProvider/Helper.php'
404
  ),
405
  'Vendidero\\Germanized\\Shipments\\ShippingProvider\\MethodPlaceholder' => array(
406
+ 'version' => '1.6.9.0',
407
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/ShippingProvider/MethodPlaceholder.php'
408
  ),
409
  'Vendidero\\Germanized\\Shipments\\Install' => array(
410
+ 'version' => '1.6.9.0',
411
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/Install.php'
412
  ),
413
  'Vendidero\\Germanized\\Shipments\\SimpleShipment' => array(
414
+ 'version' => '1.6.9.0',
415
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/SimpleShipment.php'
416
  ),
417
  'Vendidero\\Germanized\\Shipments\\Package' => array(
418
+ 'version' => '1.6.9.0',
419
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/Package.php'
420
  ),
421
  'Vendidero\\Germanized\\Shipments\\Product' => array(
422
+ 'version' => '1.6.9.0',
423
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/Product.php'
424
  ),
425
  'Vendidero\\Germanized\\Shipments\\Order' => array(
426
+ 'version' => '1.6.9.0',
427
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/Order.php'
428
  ),
429
  'Vendidero\\Germanized\\Shipments\\DataStores\\Shipment' => array(
430
+ 'version' => '1.6.9.0',
431
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/DataStores/Shipment.php'
432
  ),
433
  'Vendidero\\Germanized\\Shipments\\DataStores\\Label' => array(
434
+ 'version' => '1.6.9.0',
435
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/DataStores/Label.php'
436
  ),
437
  'Vendidero\\Germanized\\Shipments\\DataStores\\ShippingProvider' => array(
438
+ 'version' => '1.6.9.0',
439
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/DataStores/ShippingProvider.php'
440
  ),
441
  'Vendidero\\Germanized\\Shipments\\DataStores\\Packaging' => array(
442
+ 'version' => '1.6.9.0',
443
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/DataStores/Packaging.php'
444
  ),
445
  'Vendidero\\Germanized\\Shipments\\DataStores\\ShipmentItem' => array(
446
+ 'version' => '1.6.9.0',
447
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/DataStores/ShipmentItem.php'
448
  ),
449
  'Vendidero\\Germanized\\Shipments\\PackagingFactory' => array(
450
+ 'version' => '1.6.9.0',
451
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/PackagingFactory.php'
452
  ),
453
  'Vendidero\\Germanized\\Shipments\\Ajax' => array(
454
+ 'version' => '1.6.9.0',
455
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/Ajax.php'
456
  ),
457
  'Vendidero\\Germanized\\Shipments\\ReturnShipment' => array(
458
+ 'version' => '1.6.9.0',
459
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/ReturnShipment.php'
460
  ),
461
  'Vendidero\\Germanized\\Shipments\\AddressSplitter' => array(
462
+ 'version' => '1.6.9.0',
463
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/AddressSplitter.php'
464
  ),
465
  'Vendidero\\Germanized\\Shipments\\Admin\\BulkLabel' => array(
466
+ 'version' => '1.6.9.0',
467
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/Admin/BulkLabel.php'
468
  ),
469
  'Vendidero\\Germanized\\Shipments\\Admin\\Settings' => array(
470
+ 'version' => '1.6.9.0',
471
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/Admin/Settings.php'
472
  ),
473
  'Vendidero\\Germanized\\Shipments\\Admin\\MetaBox' => array(
474
+ 'version' => '1.6.9.0',
475
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/Admin/MetaBox.php'
476
  ),
477
  'Vendidero\\Germanized\\Shipments\\Admin\\ProviderSettings' => array(
478
+ 'version' => '1.6.9.0',
479
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/Admin/ProviderSettings.php'
480
  ),
481
  'Vendidero\\Germanized\\Shipments\\Admin\\ReturnTable' => array(
482
+ 'version' => '1.6.9.0',
483
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/Admin/ReturnTable.php'
484
  ),
485
  'Vendidero\\Germanized\\Shipments\\Admin\\BulkActionHandler' => array(
486
+ 'version' => '1.6.9.0',
487
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/Admin/BulkActionHandler.php'
488
  ),
489
  'Vendidero\\Germanized\\Shipments\\Admin\\Admin' => array(
490
+ 'version' => '1.6.9.0',
491
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/Admin/Admin.php'
492
  ),
493
  'Vendidero\\Germanized\\Shipments\\Admin\\Table' => array(
494
+ 'version' => '1.6.9.0',
495
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/Admin/Table.php'
496
  ),
497
  'Vendidero\\Germanized\\Shipments\\Labels\\Factory' => array(
498
+ 'version' => '1.6.9.0',
499
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/Labels/Factory.php'
500
  ),
501
  'Vendidero\\Germanized\\Shipments\\Labels\\Label' => array(
502
+ 'version' => '1.6.9.0',
503
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/Labels/Label.php'
504
  ),
505
  'Vendidero\\Germanized\\Shipments\\Labels\\ReturnLabel' => array(
506
+ 'version' => '1.6.9.0',
507
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/Labels/ReturnLabel.php'
508
  ),
509
  'Vendidero\\Germanized\\Shipments\\Labels\\DownloadHandler' => array(
510
+ 'version' => '1.6.9.0',
511
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/Labels/DownloadHandler.php'
512
  ),
513
  'Vendidero\\Germanized\\Shipments\\Labels\\Automation' => array(
514
+ 'version' => '1.6.9.0',
515
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/Labels/Automation.php'
516
  ),
517
  'Vendidero\\Germanized\\Shipments\\Labels\\Query' => array(
518
+ 'version' => '1.6.9.0',
519
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/Labels/Query.php'
520
  ),
521
  'Vendidero\\Germanized\\Shipments\\ShipmentQuery' => array(
522
+ 'version' => '1.6.9.0',
523
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/ShipmentQuery.php'
524
  ),
525
  'Vendidero\\Germanized\\Shipments\\WPMLHelper' => array(
526
+ 'version' => '1.6.9.0',
527
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/WPMLHelper.php'
528
  ),
529
  'Vendidero\\Germanized\\Shipments\\ShipmentReturnItem' => array(
530
+ 'version' => '1.6.9.0',
531
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/ShipmentReturnItem.php'
532
  ),
533
  'Vendidero\\Germanized\\Shipments\\FormHandler' => array(
534
+ 'version' => '1.6.9.0',
535
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/FormHandler.php'
536
  ),
537
  'Vendidero\\Germanized\\Shipments\\PDFMerger' => array(
538
+ 'version' => '1.6.9.0',
539
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/PDFMerger.php'
540
  ),
541
  'Vendidero\\Germanized\\Shipments\\ShipmentFactory' => array(
542
+ 'version' => '1.6.9.0',
543
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/ShipmentFactory.php'
544
  ),
545
  'Vendidero\\Germanized\\Shipments\\Automation' => array(
546
+ 'version' => '1.6.9.0',
547
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/Automation.php'
548
  ),
549
  'Vendidero\\Germanized\\Shipments\\Packaging' => array(
550
+ 'version' => '1.6.9.0',
551
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/Packaging.php'
552
  ),
553
  'Vendidero\\Germanized\\Shipments\\Api' => array(
554
+ 'version' => '1.6.9.0',
555
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/Api.php'
556
  ),
557
  'Vendidero\\Germanized\\Shipments\\ShipmentItem' => array(
558
+ 'version' => '1.6.9.0',
559
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/ShipmentItem.php'
560
  ),
561
  'Vendidero\\Germanized\\Shipments\\Validation' => array(
562
+ 'version' => '1.6.9.0',
563
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/Validation.php'
564
  ),
565
  'Vendidero\\Germanized\\Shipments\\Emails' => array(
566
+ 'version' => '1.6.9.0',
567
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/Emails.php'
568
  ),
569
  'Vendidero\\Germanized\\Shipments\\PDFSplitter' => array(
570
+ 'version' => '1.6.9.0',
571
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/PDFSplitter.php'
572
  ),
573
  'Vendidero\\Germanized\\Shipments\\ReturnReason' => array(
574
+ 'version' => '1.6.9.0',
575
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/ReturnReason.php'
576
  ),
577
  'Vendidero\\Germanized\\Shipments\\Interfaces\\ShippingProviderAuto' => array(
578
+ 'version' => '1.6.9.0',
579
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/Interfaces/ShippingProviderAuto.php'
580
  ),
581
  'Vendidero\\Germanized\\Shipments\\Interfaces\\ShippingProvider' => array(
582
+ 'version' => '1.6.9.0',
583
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/Interfaces/ShippingProvider.php'
584
  ),
585
  'Vendidero\\Germanized\\Shipments\\Interfaces\\ShipmentReturnLabel' => array(
586
+ 'version' => '1.6.9.0',
587
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/Interfaces/ShipmentReturnLabel.php'
588
  ),
589
  'Vendidero\\Germanized\\Shipments\\Interfaces\\ShipmentLabel' => array(
590
+ 'version' => '1.6.9.0',
591
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/Interfaces/ShipmentLabel.php'
592
  ),
593
  'Vendidero\\Germanized\\Shipments\\Packing\\PackagingBox' => array(
594
+ 'version' => '1.6.9.0',
595
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/Packing/PackagingBox.php'
596
  ),
597
  'Vendidero\\Germanized\\Shipments\\Packing\\OrderItem' => array(
598
+ 'version' => '1.6.9.0',
599
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/Packing/OrderItem.php'
600
  ),
601
  'Vendidero\\Germanized\\Shipments\\Packing\\Helper' => array(
602
+ 'version' => '1.6.9.0',
603
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/Packing/Helper.php'
604
  ),
605
  'Vendidero\\Germanized\\Shipments\\Packing\\ShipmentItem' => array(
606
+ 'version' => '1.6.9.0',
607
  'path' => $baseDir . '/packages/woocommerce-germanized-shipments/src/Packing/ShipmentItem.php'
608
  ),
609
  'Vendidero\\Germanized\\DHL\\ShippingProvider\\DeutschePost' => array(
610
+ 'version' => '1.6.15.0',
611
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/ShippingProvider/DeutschePost.php'
612
  ),
613
  'Vendidero\\Germanized\\DHL\\ShippingProvider\\ShippingMethod' => array(
614
+ 'version' => '1.6.15.0',
615
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/ShippingProvider/ShippingMethod.php'
616
  ),
617
  'Vendidero\\Germanized\\DHL\\ShippingProvider\\DHL' => array(
618
+ 'version' => '1.6.15.0',
619
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/ShippingProvider/DHL.php'
620
  ),
621
  'Vendidero\\Germanized\\DHL\\Install' => array(
622
+ 'version' => '1.6.15.0',
623
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Install.php'
624
  ),
625
  'Vendidero\\Germanized\\DHL\\Package' => array(
626
+ 'version' => '1.6.15.0',
627
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Package.php'
628
  ),
629
  'Vendidero\\Germanized\\DHL\\Product' => array(
630
+ 'version' => '1.6.15.0',
631
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Product.php'
632
  ),
633
  'Vendidero\\Germanized\\DHL\\Order' => array(
634
+ 'version' => '1.6.15.0',
635
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Order.php'
636
  ),
637
  'Vendidero\\Germanized\\DHL\\Ajax' => array(
638
+ 'version' => '1.6.15.0',
639
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Ajax.php'
640
  ),
641
  'Vendidero\\Germanized\\DHL\\ParcelServices' => array(
642
+ 'version' => '1.6.15.0',
643
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/ParcelServices.php'
644
  ),
645
  'Vendidero\\Germanized\\DHL\\Admin\\Importer\\Internetmarke' => array(
646
+ 'version' => '1.6.15.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.15.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.15.0',
655
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Admin/Status.php'
656
  ),
657
  'Vendidero\\Germanized\\DHL\\Admin\\Admin' => array(
658
+ 'version' => '1.6.15.0',
659
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Admin/Admin.php'
660
  ),
661
  'Vendidero\\Germanized\\DHL\\Label\\DHLInlayReturn' => array(
662
+ 'version' => '1.6.15.0',
663
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Label/DHLInlayReturn.php'
664
  ),
665
  'Vendidero\\Germanized\\DHL\\Label\\Label' => array(
666
+ 'version' => '1.6.15.0',
667
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Label/Label.php'
668
  ),
669
  'Vendidero\\Germanized\\DHL\\Label\\DHLReturn' => array(
670
+ 'version' => '1.6.15.0',
671
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Label/DHLReturn.php'
672
  ),
673
  'Vendidero\\Germanized\\DHL\\Label\\ReturnLabel' => array(
674
+ 'version' => '1.6.15.0',
675
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Label/ReturnLabel.php'
676
  ),
677
  'Vendidero\\Germanized\\DHL\\Label\\DeutschePost' => array(
678
+ 'version' => '1.6.15.0',
679
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Label/DeutschePost.php'
680
  ),
681
  'Vendidero\\Germanized\\DHL\\Label\\DHL' => array(
682
+ 'version' => '1.6.15.0',
683
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Label/DHL.php'
684
  ),
685
  'Vendidero\\Germanized\\DHL\\Label\\DeutschePostReturn' => array(
686
+ 'version' => '1.6.15.0',
687
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Label/DeutschePostReturn.php'
688
  ),
689
  'Vendidero\\Germanized\\DHL\\Legacy\\LabelQuery' => array(
690
+ 'version' => '1.6.15.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.15.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.15.0',
699
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Legacy/DownloadHandler.php'
700
  ),
701
  'Vendidero\\Germanized\\DHL\\Legacy\\LabelFactory' => array(
702
+ 'version' => '1.6.15.0',
703
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Legacy/LabelFactory.php'
704
  ),
705
  'Vendidero\\Germanized\\DHL\\ParcelLocator' => array(
706
+ 'version' => '1.6.15.0',
707
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/ParcelLocator.php'
708
  ),
709
  'Vendidero\\Germanized\\DHL\\Api\\ReturnRest' => array(
710
+ 'version' => '1.6.15.0',
711
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Api/ReturnRest.php'
712
  ),
713
  'Vendidero\\Germanized\\DHL\\Api\\Paket' => array(
714
+ 'version' => '1.6.15.0',
715
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Api/Paket.php'
716
  ),
717
  'Vendidero\\Germanized\\DHL\\Api\\LabelSoap' => array(
718
+ 'version' => '1.6.15.0',
719
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Api/LabelSoap.php'
720
  ),
721
  'Vendidero\\Germanized\\DHL\\Api\\ImProductList' => array(
722
+ 'version' => '1.6.15.0',
723
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Api/ImProductList.php'
724
  ),
725
  'Vendidero\\Germanized\\DHL\\Api\\AuthSoap' => array(
726
+ 'version' => '1.6.15.0',
727
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Api/AuthSoap.php'
728
  ),
729
  'Vendidero\\Germanized\\DHL\\Api\\Internetmarke' => array(
730
+ 'version' => '1.6.15.0',
731
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Api/Internetmarke.php'
732
  ),
733
  'Vendidero\\Germanized\\DHL\\Api\\ParcelRest' => array(
734
+ 'version' => '1.6.15.0',
735
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Api/ParcelRest.php'
736
  ),
737
  'Vendidero\\Germanized\\DHL\\Api\\ImPartnerInformation' => array(
738
+ 'version' => '1.6.15.0',
739
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Api/ImPartnerInformation.php'
740
  ),
741
  'Vendidero\\Germanized\\DHL\\Api\\Soap' => array(
742
+ 'version' => '1.6.15.0',
743
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Api/Soap.php'
744
  ),
745
  'Vendidero\\Germanized\\DHL\\Api\\Rest' => array(
746
+ 'version' => '1.6.15.0',
747
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Api/Rest.php'
748
  ),
749
  'Vendidero\\Germanized\\DHL\\Api\\ImProductsSoap' => array(
750
+ 'version' => '1.6.15.0',
751
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Api/ImProductsSoap.php'
752
  ),
753
  'Vendidero\\Germanized\\DHL\\Api\\FinderSoap' => array(
754
+ 'version' => '1.6.15.0',
755
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Api/FinderSoap.php'
756
  ),
757
  'Vendidero\\Germanized\\DHL\\Api\\ImRefundSoap' => array(
758
+ 'version' => '1.6.15.0',
759
  'path' => $baseDir . '/packages/woocommerce-germanized-dhl/src/Api/ImRefundSoap.php'
760
  ),
761
  'Vendidero\\Germanized\\DHL\\Api\\ImWarenpostIntRest' => array(
762
+ 'version' => '1.6.15.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\jp5c7c7a0723945f4d20aec0e6cb7409e0;
9
 
10
  // phpcs:ignore
11
 
5
  * @package automattic/jetpack-autoloader
6
  */
7
 
8
+ namespace Automattic\Jetpack\Autoloader\jpa85d28524495230e7ffae397b1610964;
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\jp5c7c7a0723945f4d20aec0e6cb7409e0;
9
 
10
  // phpcs:ignore
11
 
5
  * @package automattic/jetpack-autoloader
6
  */
7
 
8
+ namespace Automattic\Jetpack\Autoloader\jpa85d28524495230e7ffae397b1610964;
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\jp5c7c7a0723945f4d20aec0e6cb7409e0;
9
 
10
  // phpcs:ignore
11
 
5
  * @package automattic/jetpack-autoloader
6
  */
7
 
8
+ namespace Automattic\Jetpack\Autoloader\jpa85d28524495230e7ffae397b1610964;
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\jp5c7c7a0723945f4d20aec0e6cb7409e0;
9
 
10
  // phpcs:ignore
11
 
5
  * @package automattic/jetpack-autoloader
6
  */
7
 
8
+ namespace Automattic\Jetpack\Autoloader\jpa85d28524495230e7ffae397b1610964;
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\jp5c7c7a0723945f4d20aec0e6cb7409e0;
9
 
10
  // phpcs:ignore
11
 
5
  * @package automattic/jetpack-autoloader
6
  */
7
 
8
+ namespace Automattic\Jetpack\Autoloader\jpa85d28524495230e7ffae397b1610964;
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\jp5c7c7a0723945f4d20aec0e6cb7409e0;
9
 
10
  // phpcs:ignore
11
 
5
  * @package automattic/jetpack-autoloader
6
  */
7
 
8
+ namespace Automattic\Jetpack\Autoloader\jpa85d28524495230e7ffae397b1610964;
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\jp5c7c7a0723945f4d20aec0e6cb7409e0;
9
 
10
  // phpcs:ignore
11
 
5
  * @package automattic/jetpack-autoloader
6
  */
7
 
8
+ namespace Automattic\Jetpack\Autoloader\jpa85d28524495230e7ffae397b1610964;
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\jp5c7c7a0723945f4d20aec0e6cb7409e0;
9
 
10
  // phpcs:ignore
11
 
5
  * @package automattic/jetpack-autoloader
6
  */
7
 
8
+ namespace Automattic\Jetpack\Autoloader\jpa85d28524495230e7ffae397b1610964;
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\jp5c7c7a0723945f4d20aec0e6cb7409e0;
9
 
10
  // phpcs:ignore
11
 
5
  * @package automattic/jetpack-autoloader
6
  */
7
 
8
+ namespace Automattic\Jetpack\Autoloader\jpa85d28524495230e7ffae397b1610964;
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\jp5c7c7a0723945f4d20aec0e6cb7409e0;
9
 
10
  // phpcs:ignore
11
 
5
  * @package automattic/jetpack-autoloader
6
  */
7
 
8
+ namespace Automattic\Jetpack\Autoloader\jpa85d28524495230e7ffae397b1610964;
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\jp5c7c7a0723945f4d20aec0e6cb7409e0;
9
 
10
  // phpcs:ignore
11
 
5
  * @package automattic/jetpack-autoloader
6
  */
7
 
8
+ namespace Automattic\Jetpack\Autoloader\jpa85d28524495230e7ffae397b1610964;
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\jp5c7c7a0723945f4d20aec0e6cb7409e0;
9
 
10
  // phpcs:ignore
11
 
5
  * @package automattic/jetpack-autoloader
6
  */
7
 
8
+ namespace Automattic\Jetpack\Autoloader\jpa85d28524495230e7ffae397b1610964;
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\jp5c7c7a0723945f4d20aec0e6cb7409e0;
9
 
10
  // phpcs:ignore
11
 
5
  * @package automattic/jetpack-autoloader
6
  */
7
 
8
+ namespace Automattic\Jetpack\Autoloader\jpa85d28524495230e7ffae397b1610964;
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\jp5c7c7a0723945f4d20aec0e6cb7409e0;
9
 
10
  // phpcs:ignore
11
 
5
  * @package automattic/jetpack-autoloader
6
  */
7
 
8
+ namespace Automattic\Jetpack\Autoloader\jpa85d28524495230e7ffae397b1610964;
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.4
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.4';
73
 
74
  /**
75
  * @var WooCommerce_Germanized $instance of the plugin
@@ -385,7 +385,7 @@ if ( ! class_exists( 'WooCommerce_Germanized' ) ) :
385
  $deactivate_plugin_url = wp_nonce_url( 'plugins.php?action=deactivate&amp;plugin=' . urlencode( $plugin_file ), 'deactivate-plugin_' . $plugin_file );
386
  ?>
387
  <div id="message" class="error">
388
- <p><?php printf( __( 'This version of the Corona Helper Plugin includes a bug which could lead to tax rates being added multiple times. Please <a href="%s">deactivate</a> the plugin and check our <a href="%s" target="_blank">blog post</a>.', 'woocommerce-germanized' ), $deactivate_plugin_url, 'https://vendidero.de/senkung-der-mehrwertsteuer-in-woocommerce-im-rahmen-der-corona-pandemie#update-vom-01-07-20' ); ?></p>
389
  </div>
390
  <?php
391
  }
@@ -916,7 +916,7 @@ if ( ! class_exists( 'WooCommerce_Germanized' ) ) :
916
  */
917
  public function action_links( $links ) {
918
  return array_merge( array(
919
- '<a href="' . admin_url( 'admin.php?page=wc-settings&tab=germanized' ) . '">' . __( 'Settings', 'woocommerce-germanized' ) . '</a>',
920
  ), $links );
921
  }
922
 
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.5
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.5';
73
 
74
  /**
75
  * @var WooCommerce_Germanized $instance of the plugin
385
  $deactivate_plugin_url = wp_nonce_url( 'plugins.php?action=deactivate&amp;plugin=' . urlencode( $plugin_file ), 'deactivate-plugin_' . $plugin_file );
386
  ?>
387
  <div id="message" class="error">
388
+ <p><?php printf( __( 'This version of the Corona Helper Plugin includes a bug which could lead to tax rates being added multiple times. Please <a href="%s">deactivate</a> the plugin and check our <a href="%s" target="_blank">blog post</a>.', 'woocommerce-germanized' ), esc_url( $deactivate_plugin_url ), 'https://vendidero.de/senkung-der-mehrwertsteuer-in-woocommerce-im-rahmen-der-corona-pandemie#update-vom-01-07-20' ); ?></p>
389
  </div>
390
  <?php
391
  }
916
  */
917
  public function action_links( $links ) {
918
  return array_merge( array(
919
+ '<a href="' . esc_url( admin_url( 'admin.php?page=wc-settings&tab=germanized' ) ) . '">' . __( 'Settings', 'woocommerce-germanized' ) . '</a>',
920
  ), $links );
921
  }
922