YITH WooCommerce Wishlist - Version 3.2.0

Version Description

  • Released on 13 October 2021 =

  • New: support for WooCommerce 5.8

  • Update: YITH plugin framework

Download this release

Release Info

Developer yithemes
Plugin Icon 128x128 YITH WooCommerce Wishlist
Version 3.2.0
Comparing to
See all releases

Code changes from version 3.1.1 to 3.2.0

Files changed (72) hide show
  1. README.md +3 -3
  2. README.txt +6 -1
  3. includes/class-yith-wcwl-frontend.php +1 -1
  4. init.php +2 -2
  5. languages/yith-woocommerce-wishlist.pot +1 -1
  6. plugin-fw/assets/css/admin.css +5 -0
  7. plugin-fw/assets/css/yith-fields.css +6 -1
  8. plugin-fw/assets/css/yith-icon.css +11 -7
  9. plugin-fw/assets/fonts/yith-icon.eot +0 -0
  10. plugin-fw/assets/fonts/yith-icon.ttf +0 -0
  11. plugin-fw/assets/fonts/yith-icon.woff2 +0 -0
  12. plugin-fw/dist/gutenberg/index.asset.php +1 -1
  13. plugin-fw/dist/gutenberg/index.js +1 -1
  14. plugin-fw/dist/gutenberg/style-index.css +1 -3
  15. plugin-fw/includes/class-yit-icons.php +19 -3
  16. plugin-fw/includes/class-yit-plugin-panel.php +21 -1
  17. plugin-fw/includes/class-yith-system-status.php +77 -2
  18. plugin-fw/includes/promo/black.jpg +0 -0
  19. plugin-fw/includes/promo/cyber.jpg +0 -0
  20. plugin-fw/includes/promo/halloween.jpg +0 -0
  21. plugin-fw/includes/promo/yith-promo.php +0 -245
  22. plugin-fw/includes/promo/yith-promo.xml +0 -25
  23. plugin-fw/init.php +2 -2
  24. plugin-fw/languages/yith-plugin-fw-el.po +80 -41
  25. plugin-fw/languages/yith-plugin-fw-es_ES.mo +0 -0
  26. plugin-fw/languages/yith-plugin-fw-es_ES.po +83 -44
  27. plugin-fw/languages/yith-plugin-fw-it_IT.mo +0 -0
  28. plugin-fw/languages/yith-plugin-fw-it_IT.po +83 -44
  29. plugin-fw/languages/yith-plugin-fw-nl_NL.mo +0 -0
  30. plugin-fw/languages/yith-plugin-fw-nl_NL.po +83 -44
  31. plugin-fw/languages/yith-plugin-fw.pot +80 -41
  32. plugin-fw/lib/promo/yith-promo.php +0 -11
  33. plugin-fw/phpcs.xml +1 -1
  34. plugin-fw/templates/components/action-button.php +3 -3
  35. plugin-fw/templates/components/list-table-blank-state.php +3 -3
  36. plugin-fw/templates/fields/checkbox-array.php +2 -2
  37. plugin-fw/templates/fields/checkbox.php +2 -2
  38. plugin-fw/templates/fields/colorpicker.php +2 -2
  39. plugin-fw/templates/fields/copy-to-clipboard.php +2 -2
  40. plugin-fw/templates/fields/country-select.php +2 -2
  41. plugin-fw/templates/fields/date-format.php +2 -2
  42. plugin-fw/templates/fields/datepicker.php +2 -2
  43. plugin-fw/templates/fields/dimensions.php +8 -8
  44. plugin-fw/templates/fields/hidden.php +2 -2
  45. plugin-fw/templates/fields/icons.php +26 -6
  46. plugin-fw/templates/fields/inline-fields.php +5 -2
  47. plugin-fw/templates/fields/number.php +2 -2
  48. plugin-fw/templates/fields/onoff.php +2 -2
  49. plugin-fw/templates/fields/password.php +2 -2
  50. plugin-fw/templates/fields/preview.php +2 -2
  51. plugin-fw/templates/fields/radio.php +30 -6
  52. plugin-fw/templates/fields/resources/select2-wc-2.6.php +1 -1
  53. plugin-fw/templates/fields/resources/select2.php +1 -1
  54. plugin-fw/templates/fields/select-images.php +2 -2
  55. plugin-fw/templates/fields/select-mailchimp.php +2 -2
  56. plugin-fw/templates/fields/select.php +2 -2
  57. plugin-fw/templates/fields/sidebarlist.php +2 -2
  58. plugin-fw/templates/fields/simple-text.php +2 -2
  59. plugin-fw/templates/fields/slider.php +2 -2
  60. plugin-fw/templates/fields/text-button.php +6 -2
  61. plugin-fw/templates/fields/text.php +2 -2
  62. plugin-fw/templates/fields/textarea-codemirror.php +2 -2
  63. plugin-fw/templates/fields/textarea-editor.php +2 -2
  64. plugin-fw/templates/fields/textarea.php +2 -2
  65. plugin-fw/templates/fields/title.php +2 -2
  66. plugin-fw/templates/fields/toggle-element-fixed.php +1 -1
  67. plugin-fw/templates/fields/toggle-element.php +2 -2
  68. plugin-fw/templates/fields/upload.php +2 -2
  69. plugin-fw/templates/metaboxes/tab.php +61 -5
  70. plugin-fw/templates/sysinfo/tabs/main.php +71 -0
  71. plugin-fw/yit-functions.php +81 -26
  72. plugin-fw/yit-plugin.php +0 -1
README.md CHANGED
@@ -151,10 +151,10 @@ Yes, of course you can. To avoid Wishlist page to show product prices, you can h
151
 
152
  ## Changelog
153
 
154
- ### 3.1.1 - Released on 27 September 2021
155
 
156
- * Update: YITH Plugin Framework
157
- * Fix: debug info feature removed for all logged in users
158
 
159
  ## Support
160
 
151
 
152
  ## Changelog
153
 
154
+ ### 3.2.0 - Released on 13 October 2021
155
 
156
+ * New: support for WooCommerce 5.8
157
+ * Update: YITH plugin framework
158
 
159
  ## Support
160
 
README.txt CHANGED
@@ -4,7 +4,7 @@ Contributors: yithemes
4
  Tags: wishlist, woocommerce, products, yit, e-commerce, shop, ecommerce wishlist, yith, woocommerce wishlist, shop wishlist
5
  Requires at least: 5.6
6
  Tested up to: 5.8
7
- Stable tag: 3.1.1
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -113,6 +113,11 @@ Yes, of course you can. To avoid Wishlist page to show product prices, you can h
113
 
114
  == Changelog ==
115
 
 
 
 
 
 
116
  = 3.1.1 - Released on 27 September 2021 =
117
 
118
  * Update: YITH Plugin Framework
4
  Tags: wishlist, woocommerce, products, yit, e-commerce, shop, ecommerce wishlist, yith, woocommerce wishlist, shop wishlist
5
  Requires at least: 5.6
6
  Tested up to: 5.8
7
+ Stable tag: 3.2.0
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
113
 
114
  == Changelog ==
115
 
116
+ = 3.2.0 - Released on 13 October 2021 =
117
+
118
+ * New: support for WooCommerce 5.8
119
+ * Update: YITH plugin framework
120
+
121
  = 3.1.1 - Released on 27 September 2021 =
122
 
123
  * Update: YITH Plugin Framework
includes/class-yith-wcwl-frontend.php CHANGED
@@ -33,7 +33,7 @@ if ( ! class_exists( 'YITH_WCWL_Frontend' ) ) {
33
  * @var string
34
  * @since 1.0.0
35
  */
36
- public $version = '3.1.1';
37
 
38
  /**
39
  * Plugin database version
33
  * @var string
34
  * @since 1.0.0
35
  */
36
+ public $version = '3.2.0';
37
 
38
  /**
39
  * Plugin database version
init.php CHANGED
@@ -3,13 +3,13 @@
3
  * Plugin Name: YITH WooCommerce Wishlist
4
  * Plugin URI: https://yithemes.com/themes/plugins/yith-woocommerce-wishlist/
5
  * Description: <code><strong>YITH WooCommerce Wishlist</strong></code> gives your users the possibility to create, fill, manage and share their wishlists allowing you to analyze their interests and needs to improve your marketing strategies. <a href="https://yithemes.com/" target="_blank">Get more plugins for your e-commerce on <strong>YITH</strong></a>
6
- * Version: 3.1.1
7
  * Author: YITH
8
  * Author URI: https://yithemes.com/
9
  * Text Domain: yith-woocommerce-wishlist
10
  * Domain Path: /languages/
11
  * WC requires at least: 5.3.0
12
- * WC tested up to: 5.7
13
  *
14
  * @author YITH
15
  * @package YITH\Wishlist
3
  * Plugin Name: YITH WooCommerce Wishlist
4
  * Plugin URI: https://yithemes.com/themes/plugins/yith-woocommerce-wishlist/
5
  * Description: <code><strong>YITH WooCommerce Wishlist</strong></code> gives your users the possibility to create, fill, manage and share their wishlists allowing you to analyze their interests and needs to improve your marketing strategies. <a href="https://yithemes.com/" target="_blank">Get more plugins for your e-commerce on <strong>YITH</strong></a>
6
+ * Version: 3.2.0
7
  * Author: YITH
8
  * Author URI: https://yithemes.com/
9
  * Text Domain: yith-woocommerce-wishlist
10
  * Domain Path: /languages/
11
  * WC requires at least: 5.3.0
12
+ * WC tested up to: 5.8
13
  *
14
  * @author YITH
15
  * @package YITH\Wishlist
languages/yith-woocommerce-wishlist.pot CHANGED
@@ -5,7 +5,7 @@ msgstr ""
5
  "Project-Id-Version: YITH WooCommerce Wishlist Premium\n"
6
  "Report-Msgid-Bugs-To: "
7
  "https://wordpress.org/support/plugin/yith-woocommerce-wishlist\n"
8
- "POT-Creation-Date: 2021-09-27 12:34:25+00:00\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=utf-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
5
  "Project-Id-Version: YITH WooCommerce Wishlist Premium\n"
6
  "Report-Msgid-Bugs-To: "
7
  "https://wordpress.org/support/plugin/yith-woocommerce-wishlist\n"
8
+ "POT-Creation-Date: 2021-10-13 12:23:05+00:00\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=utf-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
plugin-fw/assets/css/admin.css CHANGED
@@ -129,6 +129,11 @@
129
  padding: 30px 20px !important;
130
  }
131
 
 
 
 
 
 
132
  .yith-system-info-wrap table.form-table textarea.yith-system-info-debug {
133
  width: 100%;
134
  height: 400px !important;
129
  padding: 30px 20px !important;
130
  }
131
 
132
+ .yith-system-info-wrap table.form-table th {
133
+ min-width: 200px;
134
+ width: auto !important;
135
+ }
136
+
137
  .yith-system-info-wrap table.form-table textarea.yith-system-info-debug {
138
  width: 100%;
139
  height: 400px !important;
plugin-fw/assets/css/yith-fields.css CHANGED
@@ -831,7 +831,7 @@ YITH UI
831
  .yith-plugin-ui .select2-container.select2-container--open .select2-selection--multiple {
832
  margin : 0;
833
  border : 0;
834
- box-shadow : none;
835
  }
836
 
837
  .yith-plugin-ui .select2-container .select2-selection--single .select2-selection__arrow {
@@ -840,6 +840,10 @@ YITH UI
840
 
841
  /* old panel*/
842
 
 
 
 
 
843
  .yith-plugin-ui span.select2.select2-container.select2-container--default,
844
  span.select2.select2-container.select2-container--default.yith-plugin-fw-select2-container {
845
  border : 1px solid #d8d8d8;
@@ -898,6 +902,7 @@ span.select2.select2-container.select2-container--default.yith-plugin-fw-select2
898
  margin-top : 10px;
899
  border-radius : 8px;
900
  box-shadow : 0 2px 4px 0 rgba(0, 0, 0, 0.12), 0 2px 10px 0 rgba(0, 0, 0, 0.12) !important;
 
901
  }
902
 
903
  .yith-plugin-fw-select2-container.select2-container--open .select2-dropdown--above {
831
  .yith-plugin-ui .select2-container.select2-container--open .select2-selection--multiple {
832
  margin : 0;
833
  border : 0;
834
+ box-shadow : none !important;
835
  }
836
 
837
  .yith-plugin-ui .select2-container .select2-selection--single .select2-selection__arrow {
840
 
841
  /* old panel*/
842
 
843
+ .yith-plugin-fw-select2-container {
844
+ z-index : 9999;
845
+ }
846
+
847
  .yith-plugin-ui span.select2.select2-container.select2-container--default,
848
  span.select2.select2-container.select2-container--default.yith-plugin-fw-select2-container {
849
  border : 1px solid #d8d8d8;
902
  margin-top : 10px;
903
  border-radius : 8px;
904
  box-shadow : 0 2px 4px 0 rgba(0, 0, 0, 0.12), 0 2px 10px 0 rgba(0, 0, 0, 0.12) !important;
905
+ border : 0;
906
  }
907
 
908
  .yith-plugin-fw-select2-container.select2-container--open .select2-dropdown--above {
plugin-fw/assets/css/yith-icon.css CHANGED
@@ -6,10 +6,10 @@
6
  /* stylelint-disable function-url-quotes, declaration-colon-newline-after */
7
  @font-face {
8
  font-family: yith-icon;
9
- src: url("../fonts/yith-icon.eot?91e38b491fff50f72e9b5b51960fdee6");
10
- src: url("../fonts/yith-icon.eot?91e38b491fff50f72e9b5b51960fdee6#iefix") format("embedded-opentype"),
11
- url("data:application/x-font-woff;charset=utf-8;base64,d09GRgABAAAAAB0wAAsAAAAAMKQAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABHU1VCAAABCAAAADMAAABCsP6z7U9TLzIAAAE8AAAAQAAAAFY4xkr7Y21hcAAAAXwAAAFkAAAEIM9R0dxnbHlmAAAC4AAAFsQAACVk9j8/KmhlYWQAABmkAAAAMAAAADYa4UjYaGhlYQAAGdQAAAAeAAAAJAQ1AiVobXR4AAAZ9AAAACUAAAC8W+L/7GxvY2EAABocAAAAYAAAAGDQJtkSbWF4cAAAGnwAAAAfAAAAIAFNAVZuYW1lAAAanAAAATAAAAIiyMcJZnBvc3QAABvMAAAB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AZCBrgG7AcQB4wH5AkmCYQJtAnqCnYK5gsyC14MAgxyDPoNDg0+DYYNwg5IDmQO3A8cD0wP1BBKEHYSShKyeJxjYGRgYNBn9GIQYQABJiDmAkIGhv9gPgMAFl8BpQB4nG2PPW7CQBCFn/mLAlKEEilSulWKNBHmp6DgANBT0Buz/kG211oWJC6QE+QMOUNOkDJnyFHybEYuEnal1ffevNnRABjiCx6q4+G2fqvTwg3VhdukoXCH/CTcxQDPwj36I+E+XjEXHuABAX/wOtVv93DCLdzhTbhN/124Q/4Q7uIRn8I9+t/CfWzwIzzAizc/py4ZpaEp1jo+ZoFtdAMbbQ+pKdTUnzTeShfaBk7v1PasDqd45lykImtytTSF01lmVGnNXofOT5wrF+NxJL4fmhxnpNwm4dYpQhgUWEMjxhEZN7ZX6v+dDTssDtSVUpjCx+RKbsVcUWcDVjR2zG6ZU+w9ceaMrkNEHTFjkJOWdWeVzngNnbKu7emE9H1OqLpKLDDmjf7k/Xp2/gurBGCqeJxtkFlv3DAMhD1Zeet43W16n0nvu2r6l1iJtoXIkirJWfjf1163eQofiPmAITFkcVKsVRa31yVOsIFAiS3uoMIpauzQ4C72uIcz3McDPMQjPMYTPMUzPMcLvMQrnOMCr/EGb/EO7/EBH/EJn/EFX/EN3/EDEj9xiV9FTUr50WXjuppi9Aep/cH9k5bbvFtlNF2fq1WPof5N7kqqntWVWGSjyLLTFCVpvb+BwTueqv8oFKW+OQ5JZaKyXB6hVHb2LT2xUD5MOxVZmywVRS10pE4sWPPE8mjSm1k2Pdswp5Y9OV2agTpujGu9TH9GmufFAjtrUpaJKar+dLY40xqO1UDGSj9mMfjI20BTILsJut0G9sGyCHZMZeRgp7knziLRNTepN2z1epRIPuY6m4HXL5Q5zsdtx2A96WpMHKVv2/LaaPZnB4puSZqjIddZ3h98nBfNi5e3JzGZ3BfFX3LHkkUAAAA=") format("woff"),
12
- url("../fonts/yith-icon.ttf?91e38b491fff50f72e9b5b51960fdee6") format("truetype");
13
  font-weight: 400;
14
  font-style: normal;
15
  }
@@ -151,6 +151,10 @@
151
  content: "\f109";
152
  }
153
 
 
 
 
 
154
  .yith-icon-more:before {
155
  content: "\f102";
156
  }
@@ -237,7 +241,7 @@
237
 
238
  /** Deprecated: use yith-icon-paypal instead */
239
  .yith-icon-paypal-svgrepo-com:before {
240
- content: "\e91b";
241
  }
242
 
243
  /** Deprecated: use yith-icon-arrow-down instead */
@@ -302,10 +306,10 @@
302
 
303
  /** Deprecated: use yith-icon-edit instead */
304
  .yith-icon-pencil:before {
305
- content: "\e907";
306
  }
307
 
308
  /** Deprecated: use yith-icon-reset instead */
309
  .yith-icon-update:before {
310
- content: "\e910";
311
  }
6
  /* stylelint-disable function-url-quotes, declaration-colon-newline-after */
7
  @font-face {
8
  font-family: yith-icon;
9
+ src: url("../fonts/yith-icon.eot?6a1afec38f03f3d477d53db4cfdbc583");
10
+ src: url("../fonts/yith-icon.eot?6a1afec38f03f3d477d53db4cfdbc583#iefix") format("embedded-opentype"),
11
+ url("data:application/x-font-woff;charset=utf-8;base64,d09GRgABAAAAAB1MAAsAAAAAMOAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABHU1VCAAABCAAAADMAAABCsP6z7U9TLzIAAAE8AAAAQAAAAFY4xkr9Y21hcAAAAXwAAAFsAAAELq9J1B5nbHlmAAAC6AAAFs8AACWA/4p+QmhlYWQAABm4AAAAMAAAADYcLTZ4aGhlYQAAGegAAAAeAAAAJAQ1AiZobXR4AAAaCAAAACUAAADAXeL/7GxvY2EAABowAAAAYgAAAGLe9NaAbWF4cAAAGpQAAAAfAAAAIAFOAVZuYW1lAAAatAAAATAAAAIiyMcJZnBvc3QAABvkAAABaAAAAhO3QZWMeJxjYGRgYOBikGPQYWB0cfMJYeBgYGGAAJAMY05meiJQDMoDyrGAaQ4gZoOIAgCKIwNPAHicY2Bk/Mo4gYGVgYNBjDGNgYHBHUp/ZZBkaGFgYGJgZWbACgLSXFMYHF4yfORnAnH1mNgYeIE0I4gDAI4PCEF4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T0Buz/kG211oWJC6QE+QMOUNOkDJnyFHybEYuEnal1ffevNnRABjiCx6q4+G2fqvTwg3VhdukoXCH/CTcxQDPwj36I+E+XjEXHuABAX/wOtVv93DCLdzhTbhN/124Q/4Q7uIRn8I9+t/CfWzwIzzAizc/py4ZpaEp1jo+ZoFtdAMbbQ+pKdTUnzTeShfaBk7v1PasDqd45lykImtytTSF01lmVGnNXofOT5wrF+NxJL4fmhxnpNwm4dYpQhgUWEMjxhEZN7ZX6v+dDTssDtSVUpjCx+RKbsVcUWcDVjR2zG6ZU+w9ceaMrkNEHTFjkJOWdWeVzngNnbKu7emE9H1OqLpKLDDmjf7k/Xp2/gurBGCqeJxtkFtz1DAMhXO6zjbNhqXc7xQodzCUnyRsJfHUsY3tdCf/nmQDPKEHzflmjjRHKk6Ktcri/3WFE2wgUGKLU1Q4Q40dGtzCHrdxjju4i3u4jwd4iEd4jCd4imd4jhd4iQu8wmu8wSXe4h3e4wM+4hM+4wu+QuIbvuMKP4qalPKjy8Z1NcXoD1L7g/sjLbd5t8pouj5Xqx5D/ZPctVQ9q2uxyEaRZacpStJ6/w8G73iq/qJQlPrmOCSVicpyeYRS2dm39MRC+TDtVGRtslQUtdCROrFgzRPLo0lvZtn0bMOcWvbkdGkG6rgxrvUy/RppnhcL7KxJWSamqPqz2eJMazhWAxkr/ZjLwbgxicFH3gaaAtlN0O02sA+WRbBjKiMHO809cRaJbrhJvWGr19NE8jHX2Qy8/qLMcT5xOwbrSVdj4ih925Y3RrM/P1B0S94cDbnO8v7g47xoXrw8P4nJ5L4ofgNHdZSp") format("woff"),
12
+ url("../fonts/yith-icon.ttf?6a1afec38f03f3d477d53db4cfdbc583") format("truetype");
13
  font-weight: 400;
14
  font-style: normal;
15
  }
151
  content: "\f109";
152
  }
153
 
154
+ .yith-icon-minus:before {
155
+ content: "\f10f";
156
+ }
157
+
158
  .yith-icon-more:before {
159
  content: "\f102";
160
  }
241
 
242
  /** Deprecated: use yith-icon-paypal instead */
243
  .yith-icon-paypal-svgrepo-com:before {
244
+ content: "\e91b";
245
  }
246
 
247
  /** Deprecated: use yith-icon-arrow-down instead */
306
 
307
  /** Deprecated: use yith-icon-edit instead */
308
  .yith-icon-pencil:before {
309
+ content: "\e907";
310
  }
311
 
312
  /** Deprecated: use yith-icon-reset instead */
313
  .yith-icon-update:before {
314
+ content: "\e910";
315
  }
plugin-fw/assets/fonts/yith-icon.eot CHANGED
Binary file
plugin-fw/assets/fonts/yith-icon.ttf CHANGED
Binary file
plugin-fw/assets/fonts/yith-icon.woff2 CHANGED
Binary file
plugin-fw/dist/gutenberg/index.asset.php CHANGED
@@ -1 +1 @@
1
- <?php return array('dependencies' => array('lodash', 'react', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-element', 'wp-hooks', 'wp-polyfill', 'wp-url'), 'version' => '507c6fa0976e1a7dac032f234f666cbf');
1
+ <?php return array('dependencies' => array('lodash', 'react', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-element', 'wp-hooks', 'wp-polyfill', 'wp-url'), 'version' => 'ea17c5cfdc7d32244b194c8f99ca8d15');
plugin-fw/dist/gutenberg/index.js CHANGED
@@ -1 +1 @@
1
- (window.webpackJsonp_yith_plugin_framewowrk=window.webpackJsonp_yith_plugin_framewowrk||[]).push([[1],{27:function(e,t,o){},28:function(e,t,o){}}]),function(e){function t(t){for(var r,c,l=t[0],s=t[1],i=t[2],p=0,f=[];p<l.length;p++)c=l[p],Object.prototype.hasOwnProperty.call(n,c)&&n[c]&&f.push(n[c][0]),n[c]=0;for(r in s)Object.prototype.hasOwnProperty.call(s,r)&&(e[r]=s[r]);for(u&&u(t);f.length;)f.shift()();return a.push.apply(a,i||[]),o()}function o(){for(var e,t=0;t<a.length;t++){for(var o=a[t],r=!0,l=1;l<o.length;l++){var s=o[l];0!==n[s]&&(r=!1)}r&&(a.splice(t--,1),e=c(c.s=o[0]))}return e}var r={},n={0:0},a=[];function c(t){if(r[t])return r[t].exports;var o=r[t]={i:t,l:!1,exports:{}};return e[t].call(o.exports,o,o.exports,c),o.l=!0,o.exports}c.m=e,c.c=r,c.d=function(e,t,o){c.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},c.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},c.t=function(e,t){if(1&t&&(e=c(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(c.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)c.d(o,r,function(t){return e[t]}.bind(null,r));return o},c.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return c.d(t,"a",t),t},c.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},c.p="";var l=window.webpackJsonp_yith_plugin_framewowrk=window.webpackJsonp_yith_plugin_framewowrk||[],s=l.push.bind(l);l.push=t,l=l.slice();for(var i=0;i<l.length;i++)t(l[i]);var u=s;a.push([29,1]),o()}([function(e,t){e.exports=window.wp.element},function(e,t){e.exports=window.wp.components},function(e,t){e.exports=window.React},function(e,t,o){var r=o(17),n=o(18),a=o(19),c=o(21);e.exports=function(e,t){return r(e)||n(e,t)||a(e,t)||c()},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.exports=window.wp.hooks},function(e,t){e.exports=window.lodash},function(e,t,o){var r,n,a,c,l;r=o(22),n=o(10).utf8,a=o(23),c=o(10).bin,(l=function(e,t){e.constructor==String?e=t&&"binary"===t.encoding?c.stringToBytes(e):n.stringToBytes(e):a(e)?e=Array.prototype.slice.call(e,0):Array.isArray(e)||e.constructor===Uint8Array||(e=e.toString());for(var o=r.bytesToWords(e),s=8*e.length,i=1732584193,u=-271733879,p=-1732584194,f=271733878,d=0;d<o.length;d++)o[d]=16711935&(o[d]<<8|o[d]>>>24)|4278255360&(o[d]<<24|o[d]>>>8);o[s>>>5]|=128<<s%32,o[14+(s+64>>>9<<4)]=s;var h=l._ff,b=l._gg,y=l._hh,g=l._ii;for(d=0;d<o.length;d+=16){var m=i,_=u,v=p,x=f;i=h(i,u,p,f,o[d+0],7,-680876936),f=h(f,i,u,p,o[d+1],12,-389564586),p=h(p,f,i,u,o[d+2],17,606105819),u=h(u,p,f,i,o[d+3],22,-1044525330),i=h(i,u,p,f,o[d+4],7,-176418897),f=h(f,i,u,p,o[d+5],12,1200080426),p=h(p,f,i,u,o[d+6],17,-1473231341),u=h(u,p,f,i,o[d+7],22,-45705983),i=h(i,u,p,f,o[d+8],7,1770035416),f=h(f,i,u,p,o[d+9],12,-1958414417),p=h(p,f,i,u,o[d+10],17,-42063),u=h(u,p,f,i,o[d+11],22,-1990404162),i=h(i,u,p,f,o[d+12],7,1804603682),f=h(f,i,u,p,o[d+13],12,-40341101),p=h(p,f,i,u,o[d+14],17,-1502002290),i=b(i,u=h(u,p,f,i,o[d+15],22,1236535329),p,f,o[d+1],5,-165796510),f=b(f,i,u,p,o[d+6],9,-1069501632),p=b(p,f,i,u,o[d+11],14,643717713),u=b(u,p,f,i,o[d+0],20,-373897302),i=b(i,u,p,f,o[d+5],5,-701558691),f=b(f,i,u,p,o[d+10],9,38016083),p=b(p,f,i,u,o[d+15],14,-660478335),u=b(u,p,f,i,o[d+4],20,-405537848),i=b(i,u,p,f,o[d+9],5,568446438),f=b(f,i,u,p,o[d+14],9,-1019803690),p=b(p,f,i,u,o[d+3],14,-187363961),u=b(u,p,f,i,o[d+8],20,1163531501),i=b(i,u,p,f,o[d+13],5,-1444681467),f=b(f,i,u,p,o[d+2],9,-51403784),p=b(p,f,i,u,o[d+7],14,1735328473),i=y(i,u=b(u,p,f,i,o[d+12],20,-1926607734),p,f,o[d+5],4,-378558),f=y(f,i,u,p,o[d+8],11,-2022574463),p=y(p,f,i,u,o[d+11],16,1839030562),u=y(u,p,f,i,o[d+14],23,-35309556),i=y(i,u,p,f,o[d+1],4,-1530992060),f=y(f,i,u,p,o[d+4],11,1272893353),p=y(p,f,i,u,o[d+7],16,-155497632),u=y(u,p,f,i,o[d+10],23,-1094730640),i=y(i,u,p,f,o[d+13],4,681279174),f=y(f,i,u,p,o[d+0],11,-358537222),p=y(p,f,i,u,o[d+3],16,-722521979),u=y(u,p,f,i,o[d+6],23,76029189),i=y(i,u,p,f,o[d+9],4,-640364487),f=y(f,i,u,p,o[d+12],11,-421815835),p=y(p,f,i,u,o[d+15],16,530742520),i=g(i,u=y(u,p,f,i,o[d+2],23,-995338651),p,f,o[d+0],6,-198630844),f=g(f,i,u,p,o[d+7],10,1126891415),p=g(p,f,i,u,o[d+14],15,-1416354905),u=g(u,p,f,i,o[d+5],21,-57434055),i=g(i,u,p,f,o[d+12],6,1700485571),f=g(f,i,u,p,o[d+3],10,-1894986606),p=g(p,f,i,u,o[d+10],15,-1051523),u=g(u,p,f,i,o[d+1],21,-2054922799),i=g(i,u,p,f,o[d+8],6,1873313359),f=g(f,i,u,p,o[d+15],10,-30611744),p=g(p,f,i,u,o[d+6],15,-1560198380),u=g(u,p,f,i,o[d+13],21,1309151649),i=g(i,u,p,f,o[d+4],6,-145523070),f=g(f,i,u,p,o[d+11],10,-1120210379),p=g(p,f,i,u,o[d+2],15,718787259),u=g(u,p,f,i,o[d+9],21,-343485551),i=i+m>>>0,u=u+_>>>0,p=p+v>>>0,f=f+x>>>0}return r.endian([i,u,p,f])})._ff=function(e,t,o,r,n,a,c){var l=e+(t&o|~t&r)+(n>>>0)+c;return(l<<a|l>>>32-a)+t},l._gg=function(e,t,o,r,n,a,c){var l=e+(t&r|o&~r)+(n>>>0)+c;return(l<<a|l>>>32-a)+t},l._hh=function(e,t,o,r,n,a,c){var l=e+(t^o^r)+(n>>>0)+c;return(l<<a|l>>>32-a)+t},l._ii=function(e,t,o,r,n,a,c){var l=e+(o^(t|~r))+(n>>>0)+c;return(l<<a|l>>>32-a)+t},l._blocksize=16,l._digestsize=16,e.exports=function(e,t){if(null==e)throw new Error("Illegal argument "+e);var o=r.wordsToBytes(l(e,t));return t&&t.asBytes?o:t&&t.asString?c.bytesToString(o):r.bytesToHex(o)}},function(e,t){e.exports=window.wp.blockEditor},function(e,t){e.exports=window.wp.compose},function(e,t){function o(t){return e.exports=o=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},e.exports.default=e.exports,e.exports.__esModule=!0,o(t)}e.exports=o,e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){var o={utf8:{stringToBytes:function(e){return o.bin.stringToBytes(unescape(encodeURIComponent(e)))},bytesToString:function(e){return decodeURIComponent(escape(o.bin.bytesToString(e)))}},bin:{stringToBytes:function(e){for(var t=[],o=0;o<e.length;o++)t.push(255&e.charCodeAt(o));return t},bytesToString:function(e){for(var t=[],o=0;o<e.length;o++)t.push(String.fromCharCode(e[o]));return t.join("")}}};e.exports=o},function(e,t){e.exports=window.wp.blocks},function(e,t){e.exports=window.wp.url},function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){function o(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}e.exports=function(e,t,r){return t&&o(e.prototype,t),r&&o(e,r),e},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,o){var r=o(24);e.exports=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&r(e,t)},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,o){var r=o(25).default,n=o(26);e.exports=function(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?n(e):t},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.exports=function(e){if(Array.isArray(e))return e},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.exports=function(e,t){var o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var r,n,a=[],c=!0,l=!1;try{for(o=o.call(e);!(c=(r=o.next()).done)&&(a.push(r.value),!t||a.length!==t);c=!0);}catch(e){l=!0,n=e}finally{try{c||null==o.return||o.return()}finally{if(l)throw n}}return a}},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,o){var r=o(20);e.exports=function(e,t){if(e){if("string"==typeof e)return r(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(e):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?r(e,t):void 0}},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,r=new Array(t);o<t;o++)r[o]=e[o];return r},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){var o,r;o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",r={rotl:function(e,t){return e<<t|e>>>32-t},rotr:function(e,t){return e<<32-t|e>>>t},endian:function(e){if(e.constructor==Number)return 16711935&r.rotl(e,8)|4278255360&r.rotl(e,24);for(var t=0;t<e.length;t++)e[t]=r.endian(e[t]);return e},randomBytes:function(e){for(var t=[];e>0;e--)t.push(Math.floor(256*Math.random()));return t},bytesToWords:function(e){for(var t=[],o=0,r=0;o<e.length;o++,r+=8)t[r>>>5]|=e[o]<<24-r%32;return t},wordsToBytes:function(e){for(var t=[],o=0;o<32*e.length;o+=8)t.push(e[o>>>5]>>>24-o%32&255);return t},bytesToHex:function(e){for(var t=[],o=0;o<e.length;o++)t.push((e[o]>>>4).toString(16)),t.push((15&e[o]).toString(16));return t.join("")},hexToBytes:function(e){for(var t=[],o=0;o<e.length;o+=2)t.push(parseInt(e.substr(o,2),16));return t},bytesToBase64:function(e){for(var t=[],r=0;r<e.length;r+=3)for(var n=e[r]<<16|e[r+1]<<8|e[r+2],a=0;a<4;a++)8*r+6*a<=8*e.length?t.push(o.charAt(n>>>6*(3-a)&63)):t.push("=");return t.join("")},base64ToBytes:function(e){e=e.replace(/[^A-Z0-9+\/]/gi,"");for(var t=[],r=0,n=0;r<e.length;n=++r%4)0!=n&&t.push((o.indexOf(e.charAt(r-1))&Math.pow(2,-2*n+8)-1)<<2*n|o.indexOf(e.charAt(r))>>>6-2*n);return t}},e.exports=r},function(e,t){function o(e){return!!e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}e.exports=function(e){return null!=e&&(o(e)||function(e){return"function"==typeof e.readFloatLE&&"function"==typeof e.slice&&o(e.slice(0,0))}(e)||!!e._isBuffer)}},function(e,t){function o(t,r){return e.exports=o=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},e.exports.default=e.exports,e.exports.__esModule=!0,o(t,r)}e.exports=o,e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){function o(t){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?(e.exports=o=function(e){return typeof e},e.exports.default=e.exports,e.exports.__esModule=!0):(e.exports=o=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.default=e.exports,e.exports.__esModule=!0),o(t)}e.exports=o,e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e},e.exports.default=e.exports,e.exports.__esModule=!0},,,function(e,t,o){"use strict";o.r(t);var r=o(3),n=o.n(r),a=o(0),c=o(2),l=o(6),s=o.n(l),i=o(11),u=o(12);function p(e){if(e.status>=200&&e.status<300)return e;throw e}function f(e){return e.json?e.json():e.text()}var d=Object(a.createElement)("svg",{viewBox:"0 0 22 22",xmlns:"http://www.w3.org/2000/svg",width:"22",height:"22",role:"img","aria-hidden":"true",focusable:"false"},Object(a.createElement)("path",{width:"22",height:"22",d:"M 18.24 7.628 C 17.291 8.284 16.076 8.971 14.587 9.688 C 15.344 7.186 15.765 4.851 15.849 2.684 C 15.912 0.939 15.133 0.045 13.514 0.003 C 11.558 -0.06 10.275 1.033 9.665 3.284 C 10.007 3.137 10.359 3.063 10.723 3.063 C 11.021 3.063 11.267 3.184 11.459 3.426 C 11.651 3.668 11.736 3.947 11.715 4.262 C 11.695 5.082 11.276 5.961 10.46 6.896 C 9.644 7.833 8.918 8.3 8.282 8.3 C 7.837 8.3 7.625 7.922 7.646 7.165 C 7.667 6.765 7.804 5.955 8.056 4.735 C 8.287 3.579 8.403 2.801 8.403 2.401 C 8.403 1.707 8.224 1.144 7.867 0.713 C 7.509 0.282 6.994 0.098 6.321 0.161 C 5.858 0.203 5.175 0.624 4.27 1.422 C 3.596 2.035 2.923 2.644 2.25 3.254 L 2.976 4.106 C 3.564 3.664 3.922 3.443 4.048 3.443 C 4.448 3.443 4.637 3.717 4.617 4.263 C 4.617 4.306 4.427 4.968 4.049 6.251 C 3.671 7.534 3.471 8.491 3.449 9.122 C 3.407 9.985 3.565 10.647 3.924 11.109 C 4.367 11.677 5.106 11.919 6.142 11.835 C 7.366 11.751 8.591 11.298 9.816 10.479 C 10.323 10.142 10.808 9.753 11.273 9.311 C 11.105 10.153 10.905 10.868 10.673 11.457 C 8.402 12.487 6.762 13.37 5.752 14.107 C 4.321 15.137 3.554 16.241 3.449 17.419 C 3.259 19.459 4.29 20.479 6.541 20.479 C 8.055 20.479 9.517 19.554 10.926 17.703 C 12.125 16.126 13.166 14.022 14.049 11.394 C 15.578 10.635 16.87 9.892 17.928 9.164 C 17.894 9.409 18.319 7.308 18.24 7.628 Z M 7.393 16.095 C 7.056 16.095 6.898 15.947 6.919 15.653 C 6.961 15.106 7.908 14.38 9.759 13.476 C 8.791 15.221 8.002 16.095 7.393 16.095 Z"})),h=o(5),b=o.n(h),y=function(e,t,o){var r=!0;if(t&&t.id&&"value"in t){var n=t.value;["toggle","checkbox"].includes(o)&&(n=!0===n||"yes"===n||1===n),n=b.a.isArray(n)?n:[n],r=void 0!==e[t.id]&&n.includes(e[t.id])}return r},g=function(e,t){var o=e.controlType,r=!0;if(e.deps)if(b.a.isArray(e.deps))for(var n in e.deps){var a=e.deps[n];if(!(r=y(t,a,o)))break}else r=y(t,e.deps,o);return r},m=function(e,t){var o="",r=!1;if(void 0!==e.callback&&(jQuery&&e.callback in jQuery.fn?r=jQuery.fn[e.callback]:e.callback in window&&(r=window[e.callback])),"function"==typeof r)o=r(t,e);else{var a=e.attributes?Object.entries(e.attributes).map((function(e){var o=n()(e,2),r=o[0],a=o[1],c=g(a,t),l=t[r];if(c&&void 0!==l)return r+"="+(a.remove_quotes?l:'"'.concat(l,'"'))})):[],c=a.length?" "+a.join(" "):"";o="[".concat(e.shortcode_name).concat(c,"]")}return o},_=o(1),v=o(7),x=o(13),j=o.n(x),w=o(14),k=o.n(w),O=o(15),C=o.n(O),E=o(16),S=o.n(E),T=o(9),A=o.n(T),M=o(4);o(27);var B=function(e){C()(n,e);var t,o,r=(t=n,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=A()(t);if(o){var n=A()(this).constructor;e=Reflect.construct(r,arguments,n)}else e=r.apply(this,arguments);return S()(this,e)});function n(){var e;return j()(this,n),(e=r.apply(this,arguments)).state={html:"",shortcode:"",shortcodeHash:"",ajaxUpdated:!1,ajaxSuccess:!1,ajaxResponse:!1,loading:!1,firstLoading:!0},e.ajaxTimeout=!1,e}return k()(n,[{key:"componentDidMount",value:function(){this.updateShortcode()}},{key:"componentDidUpdate",value:function(e,t,o){var r=this.state,n=r.shortcode,a=r.shortcodeHash,c=r.ajaxSuccess,l=r.ajaxResponse,s=r.ajaxUpdated;Object(h.isEqual)(e,this.props)||this.updateShortcode(),this.props.blockArgs.do_shortcode&&s&&(c&&Object(M.doAction)("yith_plugin_fw_gutenberg_success_do_shortcode",n,a,l),Object(M.doAction)("yith_plugin_fw_gutenberg_after_do_shortcode",n,a,l),this.setState({ajaxUpdated:!1}))}},{key:"updateShortcode",value:function(){var e=this,t=this.props,o=t.attributes,r=t.blockArgs;this.setState({loading:!0,ajaxSuccess:!1,ajaxResponse:!1});var n=m(r,o),a=s()(n);r.do_shortcode?(this.ajaxTimeout&&clearTimeout(this.ajaxTimeout),Object(M.doAction)("yith_plugin_fw_gutenberg_before_do_shortcode",n,a),this.ajaxTimeout=setTimeout((function(){(function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:yithGutenberg.ajaxurl;return t=Object(u.addQueryArgs)(t,e),fetch(t).then(p).then(f)})({action:"yith_plugin_fw_gutenberg_do_shortcode",shortcode:n}).then((function(t){e.setState({loading:!1,firstLoading:!1,html:t.html,shortcode:n,shortcodeHash:a,ajaxSuccess:!0,ajaxUpdated:!0,ajaxResponse:t})})).catch((function(e){console.log({error:e})}))}),300)):this.setState({loading:!1,firstLoading:!1,html:n,shortcode:n,shortcodeHash:a})}},{key:"render",value:function(){var e=this.state,t=e.html,o=e.loading,r=e.firstLoading,n=e.shortcode,c=e.shortcodeHash,l=this.props.blockArgs,s=l.do_shortcode,i=l.title,u=l.empty_message,p="block-editor-yith-plugin-fw-shortcode-block",f=[p],h=s?"html":"shortcode",b=t,y="";r&&o?h="first-loading":s&&!t&&(h="empty-html",b=n,!o&&u&&(y=u));var g=["first-loading","empty-html","shortcode"].includes(h),m=!["first-loading","empty-html"].includes(h),v=!!y;return f.push("".concat(p,"--").concat(h)),f.push("".concat(p,v?"--has-message":"--no-message")),f.push("yith_block_".concat(c)),Object(a.createElement)(a.Fragment,null,Object(a.createElement)("div",{className:f.join(" ")},o?Object(a.createElement)("div",{className:"".concat(p,"__spinner-wrap")},Object(a.createElement)(_.Spinner,null)):"",g&&Object(a.createElement)("div",{className:"".concat(p,"__title components-placeholder__label")},d,i),v&&Object(a.createElement)(a.RawHTML,{className:"".concat(p,"__message")},y),m&&Object(a.createElement)(a.RawHTML,{className:"".concat(p,"__content")},b)))}}]),n}(c.Component),N=o(8);function R(e){var t=e.className,o=e.label,r=e.onChange,n=e.value,c=e.help,l=e.disableAlpha,s=Object(N.useInstanceId)(R),i="inspector-yith-color-picker-control-".concat(s);return Object(a.createElement)(_.BaseControl,{id:i,label:o,className:"block-editor-yith-color-control ".concat(t),help:c},Object(a.createElement)(_.ColorPicker,{color:n,disableAlpha:l,onChangeComplete:r}))}function P(e){var t=e.label,o=e.colorValue;return Object(a.createElement)(a.Fragment,null,t,!!o&&Object(a.createElement)(_.ColorIndicator,{colorValue:o}))}function I(e){var t=e.className,o=e.label,r=e.onChange,n=e.value,c=e.help,l=e.palette,s=e.clearable;l=l||Object(v.__experimentalUseEditorFeature)("color.palette");var i=Object(N.useInstanceId)(I),u="inspector-yith-color-palette-control-".concat(i);return Object(a.createElement)(_.BaseControl,{id:u,className:"block-editor-yith-color-palette-control ".concat(t),help:c},Object(a.createElement)("fieldset",null,Object(a.createElement)("legend",null,Object(a.createElement)("div",{className:"block-editor-yith-color-palette-control__color-indicator"},Object(a.createElement)(_.BaseControl.VisualLabel,null,Object(a.createElement)(P,{colorValue:n,label:o})))),Object(a.createElement)(_.ColorPalette,{value:n,onChange:r,colors:l,clearable:s})))}o(28);for(var H=function(e,t){return function(o){var r=o.attributes,c=(o.className,o.setAttributes),l=function(e,t,o){["colorpicker","color"].includes(o)&&(e=e.color.getAlpha()<1?e.color.toRgbString():e.color.toHexString());var r={};r[t]=e,c(r)};return Object(a.createElement)(a.Fragment,null,!!t.attributes&&Object(a.createElement)(v.InspectorControls,null,Object(a.createElement)(_.PanelBody,null,Object.entries(t.attributes).map((function(t){var o=n()(t,2),c=function(t,o){var n=o.controlType,c=r[t],s=function(e,t){var o="";return e.helps&&e.helps.checked&&e.helps.unchecked?o=t?e.helps.checked:e.helps.unchecked:e.help&&(o=e.help),o}(o,c),i="".concat(e,"__").concat(t,"-field-wrapper"),u=g(o,r);o.wrapper_class&&(i+=" "+o.wrapper_class);var p=!1;if(u)switch(n){case"select":p=Object(a.createElement)(_.SelectControl,{className:i,key:t,value:c,label:o.label,options:o.options,selected:c,help:s,multiple:!!o.multiple,onChange:function(e){l(e,t,n)}});break;case"text":p=Object(a.createElement)(_.TextControl,{className:i,key:t,value:c,label:o.label,help:s,onChange:function(e){l(e,t,n)}});break;case"textarea":p=Object(a.createElement)(_.TextareaControl,{className:i,key:t,value:c,label:o.label,help:s,onChange:function(e){l(e,t,n)}});break;case"toggle":p=Object(a.createElement)(_.ToggleControl,{className:i,key:t,value:c,label:o.label,help:s,checked:c,onChange:function(e){l(e,t,n)}});break;case"checkbox":p=Object(a.createElement)(_.CheckboxControl,{className:i,key:t,value:c,label:o.label,help:s,checked:c,onChange:function(e){l(e,t,n)}});break;case"number":case"range":p=Object(a.createElement)(_.RangeControl,{className:i,key:t,value:c,label:o.label,help:s,min:o.min,max:o.max,onChange:function(e){l(e,t,n)}});break;case"color":case"colorpicker":p=Object(a.createElement)(R,{className:i,key:t,label:o.label,help:s,value:c,disableAlpha:o.disableAlpha,onChange:function(e){l(e,t,n)}});break;case"color-palette":p=Object(a.createElement)(I,{className:i,key:t,label:o.label,help:s,value:c,clearable:o.clearable||!1,onChange:function(e){l(e,t,n)}});break;case"radio":p=Object(a.createElement)(_.RadioControl,{key:t,value:c,label:o.label,options:o.options,selected:c,checked:c,help:s,onChange:function(e){l(e,t,n)}});break;default:p=!1}return p}(o[0],o[1]);if(c)return c})))),Object(a.createElement)(B,{attributes:r,blockArgs:t}))}},L=function(){var e=Q[U];Object(M.addAction)(e.key,"yith-plugin-fw/jquery-events",(function(){for(var t=arguments.length,o=new Array(t),r=0;r<t;r++)o[r]=arguments[r];"jQuery"in window&&(e.delay?setTimeout((function(){jQuery(document).trigger(e.key,Object.values(o))}),e.delay):jQuery(document).trigger(e.key,Object.values(o)))}))},U=0,Q=[{key:"yith_plugin_fw_gutenberg_before_do_shortcode",delay:0},{key:"yith_plugin_fw_gutenberg_success_do_shortcode",delay:200},{key:"yith_plugin_fw_gutenberg_after_do_shortcode",delay:200}];U<Q.length;U++)L();for(var F=function(){var e=n()(V[J],2),t=e[0],o=e[1];Object(i.registerBlockType)("yith/"+t,{title:o.title,description:o.description,category:o.category,attributes:o.attributes,icon:void 0!==o.icon?o.icon:d,keywords:o.keywords,edit:H(t,o),save:function(e){var t=e.attributes;return m(o,t)},deprecated:[{attributes:o.attributes,save:function(e){var t=e.attributes,r=m(o,t),n='<span class="yith_block_'+s()(r)+'">'+r+"</span>";return Object(a.createElement)(a.RawHTML,null,n)}}]})},J=0,V=Object.entries(yithGutenbergBlocks);J<V.length;J++)F()}]);
1
+ !function(){var e,t={783:function(e,t,o){"use strict";var r=window.wp.element,n=window.React,a=o(568),l=o.n(a),s=window.wp.blocks,c=window.wp.url;function i(e){if(e.status>=200&&e.status<300)return e;throw e}function u(e){return e.json?e.json():e.text()}const h=(0,r.createElement)("svg",{viewBox:"0 0 22 22",xmlns:"http://www.w3.org/2000/svg",width:"22",height:"22",role:"img","aria-hidden":"true",focusable:"false"},(0,r.createElement)("path",{width:"22",height:"22",d:"M 18.24 7.628 C 17.291 8.284 16.076 8.971 14.587 9.688 C 15.344 7.186 15.765 4.851 15.849 2.684 C 15.912 0.939 15.133 0.045 13.514 0.003 C 11.558 -0.06 10.275 1.033 9.665 3.284 C 10.007 3.137 10.359 3.063 10.723 3.063 C 11.021 3.063 11.267 3.184 11.459 3.426 C 11.651 3.668 11.736 3.947 11.715 4.262 C 11.695 5.082 11.276 5.961 10.46 6.896 C 9.644 7.833 8.918 8.3 8.282 8.3 C 7.837 8.3 7.625 7.922 7.646 7.165 C 7.667 6.765 7.804 5.955 8.056 4.735 C 8.287 3.579 8.403 2.801 8.403 2.401 C 8.403 1.707 8.224 1.144 7.867 0.713 C 7.509 0.282 6.994 0.098 6.321 0.161 C 5.858 0.203 5.175 0.624 4.27 1.422 C 3.596 2.035 2.923 2.644 2.25 3.254 L 2.976 4.106 C 3.564 3.664 3.922 3.443 4.048 3.443 C 4.448 3.443 4.637 3.717 4.617 4.263 C 4.617 4.306 4.427 4.968 4.049 6.251 C 3.671 7.534 3.471 8.491 3.449 9.122 C 3.407 9.985 3.565 10.647 3.924 11.109 C 4.367 11.677 5.106 11.919 6.142 11.835 C 7.366 11.751 8.591 11.298 9.816 10.479 C 10.323 10.142 10.808 9.753 11.273 9.311 C 11.105 10.153 10.905 10.868 10.673 11.457 C 8.402 12.487 6.762 13.37 5.752 14.107 C 4.321 15.137 3.554 16.241 3.449 17.419 C 3.259 19.459 4.29 20.479 6.541 20.479 C 8.055 20.479 9.517 19.554 10.926 17.703 C 12.125 16.126 13.166 14.022 14.049 11.394 C 15.578 10.635 16.87 9.892 17.928 9.164 C 17.894 9.409 18.319 7.308 18.24 7.628 Z M 7.393 16.095 C 7.056 16.095 6.898 15.947 6.919 15.653 C 6.961 15.106 7.908 14.38 9.759 13.476 C 8.791 15.221 8.002 16.095 7.393 16.095 Z"}));var d=window.lodash,p=o.n(d);const f=(e,t,o)=>{let r=!0;if(t&&t.id&&"value"in t){let n=t.value;["toggle","checkbox"].includes(o)&&(n=!0===n||"yes"===n||1===n),n=p().isArray(n)?n:[n],r=void 0!==e[t.id]&&n.includes(e[t.id])}return r},g=(e,t)=>{const{controlType:o}=e;let r=!0;if(e.deps)if(p().isArray(e.deps))for(let n in e.deps){const a=e.deps[n];if(r=f(t,a,o),!r)break}else r=f(t,e.deps,o);return r},b=(e,t)=>{let o="",r=!1;if(void 0!==e.callback&&(jQuery&&e.callback in jQuery.fn?r=jQuery.fn[e.callback]:e.callback in window&&(r=window[e.callback])),"function"==typeof r)o=r(t,e);else{const r=e.attributes?Object.entries(e.attributes).map((([e,o])=>{const r=g(o,t),n=t[e];if(r&&void 0!==n)return e+"="+(o.remove_quotes?n:`"${n}"`)})):[],n=r.length?" "+r.join(" "):"";o=`[${e.shortcode_name}${n}]`}return o};var m=window.wp.components,y=window.wp.blockEditor,_=window.wp.hooks;class v extends n.Component{constructor(){super(...arguments),this.state={html:"",shortcode:"",shortcodeHash:"",ajaxUpdated:!1,ajaxSuccess:!1,ajaxResponse:!1,loading:!1,firstLoading:!0},this.ajaxTimeout=!1}componentDidMount(){this.updateShortcode()}componentDidUpdate(e,t,o){const{shortcode:r,shortcodeHash:n,ajaxSuccess:a,ajaxResponse:l,ajaxUpdated:s}=this.state;(0,d.isEqual)(e,this.props)||this.updateShortcode(),this.props.blockArgs.do_shortcode&&s&&(a&&(0,_.doAction)("yith_plugin_fw_gutenberg_success_do_shortcode",r,n,l),(0,_.doAction)("yith_plugin_fw_gutenberg_after_do_shortcode",r,n,l),this.setState({ajaxUpdated:!1}))}updateShortcode(){const{attributes:e,blockArgs:t}=this.props;this.setState({loading:!0,ajaxSuccess:!1,ajaxResponse:!1});const o=b(t,e),r=l()(o);t.do_shortcode?(this.ajaxTimeout&&clearTimeout(this.ajaxTimeout),(0,_.doAction)("yith_plugin_fw_gutenberg_before_do_shortcode",o,r),this.ajaxTimeout=setTimeout((()=>{((e,t=yithGutenberg.ajaxurl)=>(t=(0,c.addQueryArgs)(t,e),fetch(t).then(i).then(u)))({action:"yith_plugin_fw_gutenberg_do_shortcode",shortcode:o}).then((e=>{this.setState({loading:!1,firstLoading:!1,html:e.html,shortcode:o,shortcodeHash:r,ajaxSuccess:!0,ajaxUpdated:!0,ajaxResponse:e})})).catch((e=>{console.log({error:e})}))}),300)):this.setState({loading:!1,firstLoading:!1,html:o,shortcode:o,shortcodeHash:r})}render(){const{html:e,loading:t,firstLoading:o,shortcode:n,shortcodeHash:a}=this.state,{blockArgs:l}=this.props,{do_shortcode:s,title:c,empty_message:i}=l,u="block-editor-yith-plugin-fw-shortcode-block";let d=[u],p=s?"html":"shortcode",f=e,g="";o&&t?p="first-loading":s&&!e&&(p="empty-html",f=n,!t&&i&&(g=i));const b=["first-loading","empty-html","shortcode"].includes(p),y=!["first-loading","empty-html"].includes(p),_=!!g;return d.push(`${u}--${p}`),d.push(_?`${u}--has-message`:`${u}--no-message`),d.push(`yith_block_${a}`),(0,r.createElement)(r.Fragment,null,(0,r.createElement)("div",{className:d.join(" ")},t?(0,r.createElement)("div",{className:`${u}__spinner-wrap`},(0,r.createElement)(m.Spinner,null)):"",b&&(0,r.createElement)("div",{className:`${u}__title components-placeholder__label`},h,c),_&&(0,r.createElement)(r.RawHTML,{className:`${u}__message`},g),y&&(0,r.createElement)(r.RawHTML,{className:`${u}__content`},f)))}}var C=window.wp.compose;function k({className:e,label:t,onChange:o,value:n,help:a,disableAlpha:l}){const s=`inspector-yith-color-picker-control-${(0,C.useInstanceId)(k)}`;return(0,r.createElement)(m.BaseControl,{id:s,label:t,className:`block-editor-yith-color-control ${e}`,help:a},(0,r.createElement)(m.ColorPicker,{color:n,disableAlpha:l,onChangeComplete:o}))}function w({label:e,colorValue:t}){return(0,r.createElement)(r.Fragment,null,e,!!t&&(0,r.createElement)(m.ColorIndicator,{colorValue:t}))}function x({className:e,label:t,onChange:o,value:n,help:a,palette:l,clearable:s}){l=l||(0,y.__experimentalUseEditorFeature)("color.palette");const c=`inspector-yith-color-palette-control-${(0,C.useInstanceId)(x)}`;return(0,r.createElement)(m.BaseControl,{id:c,className:`block-editor-yith-color-palette-control ${e}`,help:a},(0,r.createElement)("fieldset",null,(0,r.createElement)("legend",null,(0,r.createElement)("div",{className:"block-editor-yith-color-palette-control__color-indicator"},(0,r.createElement)(m.BaseControl.VisualLabel,null,(0,r.createElement)(w,{colorValue:n,label:t})))),(0,r.createElement)(m.ColorPalette,{value:n,onChange:o,colors:l,clearable:s})))}const j=(e,t)=>function({attributes:o,className:n,setAttributes:a}){const l=(e,t,o)=>{["colorpicker","color"].includes(o)&&(e=e.color.getAlpha()<1?e.color.toRgbString():e.color.toHexString());let r={};r[t]=e,a(r)};return(0,r.createElement)(r.Fragment,null,!!t.attributes&&(0,r.createElement)(y.InspectorControls,null,(0,r.createElement)(m.PanelBody,null,Object.entries(t.attributes).map((([t,n])=>{const a=((t,n)=>{const{controlType:a}=n,s=o[t],c=((e,t)=>{let o="";return e.helps&&e.helps.checked&&e.helps.unchecked?o=t?e.helps.checked:e.helps.unchecked:e.help&&(o=e.help),o})(n,s);let i=`${e}__${t}-field-wrapper`;const u=g(n,o);n.wrapper_class&&(i+=" "+n.wrapper_class);let h=!1;if(u)switch(a){case"select":h=(0,r.createElement)(m.SelectControl,{className:i,key:t,value:s,label:n.label,options:n.options,selected:s,help:c,multiple:!!n.multiple,onChange:e=>{l(e,t,a)}});break;case"text":h=(0,r.createElement)(m.TextControl,{className:i,key:t,value:s,label:n.label,help:c,onChange:e=>{l(e,t,a)}});break;case"textarea":h=(0,r.createElement)(m.TextareaControl,{className:i,key:t,value:s,label:n.label,help:c,onChange:e=>{l(e,t,a)}});break;case"toggle":h=(0,r.createElement)(m.ToggleControl,{className:i,key:t,value:s,label:n.label,help:c,checked:s,onChange:e=>{l(e,t,a)}});break;case"checkbox":h=(0,r.createElement)(m.CheckboxControl,{className:i,key:t,value:s,label:n.label,help:c,checked:s,onChange:e=>{l(e,t,a)}});break;case"number":case"range":h=(0,r.createElement)(m.RangeControl,{className:i,key:t,value:s,label:n.label,help:c,min:n.min,max:n.max,onChange:e=>{l(e,t,a)}});break;case"color":case"colorpicker":h=(0,r.createElement)(k,{className:i,key:t,label:n.label,help:c,value:s,disableAlpha:n.disableAlpha,onChange:e=>{l(e,t,a)}});break;case"color-palette":h=(0,r.createElement)(x,{className:i,key:t,label:n.label,help:c,value:s,clearable:n.clearable||!1,onChange:e=>{l(e,t,a)}});break;case"radio":h=(0,r.createElement)(m.RadioControl,{key:t,value:s,label:n.label,options:n.options,selected:s,checked:s,help:c,onChange:e=>{l(e,t,a)}});break;default:h=!1}return h})(t,n);if(a)return a})))),(0,r.createElement)(v,{attributes:o,blockArgs:t}))},E=[{key:"yith_plugin_fw_gutenberg_before_do_shortcode",delay:0},{key:"yith_plugin_fw_gutenberg_success_do_shortcode",delay:200},{key:"yith_plugin_fw_gutenberg_after_do_shortcode",delay:200}];for(const e of E)(0,_.addAction)(e.key,"yith-plugin-fw/jquery-events",((...t)=>{"jQuery"in window&&(e.delay?setTimeout((()=>{jQuery(document).trigger(e.key,Object.values(t))}),e.delay):jQuery(document).trigger(e.key,Object.values(t)))}));for(const[e,t]of Object.entries(yithGutenbergBlocks))(0,s.registerBlockType)("yith/"+e,{title:t.title,description:t.description,category:t.category,attributes:t.attributes,icon:void 0!==t.icon?t.icon:h,keywords:t.keywords,edit:j(e,t),save:({attributes:e})=>b(t,e),deprecated:[{attributes:t.attributes,save:({attributes:e})=>{const o=b(t,e),n='<span class="yith_block_'+l()(o)+'">'+o+"</span>";return(0,r.createElement)(r.RawHTML,null,n)}}]})},487:function(e){var t={utf8:{stringToBytes:function(e){return t.bin.stringToBytes(unescape(encodeURIComponent(e)))},bytesToString:function(e){return decodeURIComponent(escape(t.bin.bytesToString(e)))}},bin:{stringToBytes:function(e){for(var t=[],o=0;o<e.length;o++)t.push(255&e.charCodeAt(o));return t},bytesToString:function(e){for(var t=[],o=0;o<e.length;o++)t.push(String.fromCharCode(e[o]));return t.join("")}}};e.exports=t},12:function(e){var t,o;t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",o={rotl:function(e,t){return e<<t|e>>>32-t},rotr:function(e,t){return e<<32-t|e>>>t},endian:function(e){if(e.constructor==Number)return 16711935&o.rotl(e,8)|4278255360&o.rotl(e,24);for(var t=0;t<e.length;t++)e[t]=o.endian(e[t]);return e},randomBytes:function(e){for(var t=[];e>0;e--)t.push(Math.floor(256*Math.random()));return t},bytesToWords:function(e){for(var t=[],o=0,r=0;o<e.length;o++,r+=8)t[r>>>5]|=e[o]<<24-r%32;return t},wordsToBytes:function(e){for(var t=[],o=0;o<32*e.length;o+=8)t.push(e[o>>>5]>>>24-o%32&255);return t},bytesToHex:function(e){for(var t=[],o=0;o<e.length;o++)t.push((e[o]>>>4).toString(16)),t.push((15&e[o]).toString(16));return t.join("")},hexToBytes:function(e){for(var t=[],o=0;o<e.length;o+=2)t.push(parseInt(e.substr(o,2),16));return t},bytesToBase64:function(e){for(var o=[],r=0;r<e.length;r+=3)for(var n=e[r]<<16|e[r+1]<<8|e[r+2],a=0;a<4;a++)8*r+6*a<=8*e.length?o.push(t.charAt(n>>>6*(3-a)&63)):o.push("=");return o.join("")},base64ToBytes:function(e){e=e.replace(/[^A-Z0-9+\/]/gi,"");for(var o=[],r=0,n=0;r<e.length;n=++r%4)0!=n&&o.push((t.indexOf(e.charAt(r-1))&Math.pow(2,-2*n+8)-1)<<2*n|t.indexOf(e.charAt(r))>>>6-2*n);return o}},e.exports=o},738:function(e){function t(e){return!!e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}e.exports=function(e){return null!=e&&(t(e)||function(e){return"function"==typeof e.readFloatLE&&"function"==typeof e.slice&&t(e.slice(0,0))}(e)||!!e._isBuffer)}},568:function(e,t,o){var r,n,a,l,s;r=o(12),n=o(487).utf8,a=o(738),l=o(487).bin,(s=function(e,t){e.constructor==String?e=t&&"binary"===t.encoding?l.stringToBytes(e):n.stringToBytes(e):a(e)?e=Array.prototype.slice.call(e,0):Array.isArray(e)||e.constructor===Uint8Array||(e=e.toString());for(var o=r.bytesToWords(e),c=8*e.length,i=1732584193,u=-271733879,h=-1732584194,d=271733878,p=0;p<o.length;p++)o[p]=16711935&(o[p]<<8|o[p]>>>24)|4278255360&(o[p]<<24|o[p]>>>8);o[c>>>5]|=128<<c%32,o[14+(c+64>>>9<<4)]=c;var f=s._ff,g=s._gg,b=s._hh,m=s._ii;for(p=0;p<o.length;p+=16){var y=i,_=u,v=h,C=d;i=f(i,u,h,d,o[p+0],7,-680876936),d=f(d,i,u,h,o[p+1],12,-389564586),h=f(h,d,i,u,o[p+2],17,606105819),u=f(u,h,d,i,o[p+3],22,-1044525330),i=f(i,u,h,d,o[p+4],7,-176418897),d=f(d,i,u,h,o[p+5],12,1200080426),h=f(h,d,i,u,o[p+6],17,-1473231341),u=f(u,h,d,i,o[p+7],22,-45705983),i=f(i,u,h,d,o[p+8],7,1770035416),d=f(d,i,u,h,o[p+9],12,-1958414417),h=f(h,d,i,u,o[p+10],17,-42063),u=f(u,h,d,i,o[p+11],22,-1990404162),i=f(i,u,h,d,o[p+12],7,1804603682),d=f(d,i,u,h,o[p+13],12,-40341101),h=f(h,d,i,u,o[p+14],17,-1502002290),i=g(i,u=f(u,h,d,i,o[p+15],22,1236535329),h,d,o[p+1],5,-165796510),d=g(d,i,u,h,o[p+6],9,-1069501632),h=g(h,d,i,u,o[p+11],14,643717713),u=g(u,h,d,i,o[p+0],20,-373897302),i=g(i,u,h,d,o[p+5],5,-701558691),d=g(d,i,u,h,o[p+10],9,38016083),h=g(h,d,i,u,o[p+15],14,-660478335),u=g(u,h,d,i,o[p+4],20,-405537848),i=g(i,u,h,d,o[p+9],5,568446438),d=g(d,i,u,h,o[p+14],9,-1019803690),h=g(h,d,i,u,o[p+3],14,-187363961),u=g(u,h,d,i,o[p+8],20,1163531501),i=g(i,u,h,d,o[p+13],5,-1444681467),d=g(d,i,u,h,o[p+2],9,-51403784),h=g(h,d,i,u,o[p+7],14,1735328473),i=b(i,u=g(u,h,d,i,o[p+12],20,-1926607734),h,d,o[p+5],4,-378558),d=b(d,i,u,h,o[p+8],11,-2022574463),h=b(h,d,i,u,o[p+11],16,1839030562),u=b(u,h,d,i,o[p+14],23,-35309556),i=b(i,u,h,d,o[p+1],4,-1530992060),d=b(d,i,u,h,o[p+4],11,1272893353),h=b(h,d,i,u,o[p+7],16,-155497632),u=b(u,h,d,i,o[p+10],23,-1094730640),i=b(i,u,h,d,o[p+13],4,681279174),d=b(d,i,u,h,o[p+0],11,-358537222),h=b(h,d,i,u,o[p+3],16,-722521979),u=b(u,h,d,i,o[p+6],23,76029189),i=b(i,u,h,d,o[p+9],4,-640364487),d=b(d,i,u,h,o[p+12],11,-421815835),h=b(h,d,i,u,o[p+15],16,530742520),i=m(i,u=b(u,h,d,i,o[p+2],23,-995338651),h,d,o[p+0],6,-198630844),d=m(d,i,u,h,o[p+7],10,1126891415),h=m(h,d,i,u,o[p+14],15,-1416354905),u=m(u,h,d,i,o[p+5],21,-57434055),i=m(i,u,h,d,o[p+12],6,1700485571),d=m(d,i,u,h,o[p+3],10,-1894986606),h=m(h,d,i,u,o[p+10],15,-1051523),u=m(u,h,d,i,o[p+1],21,-2054922799),i=m(i,u,h,d,o[p+8],6,1873313359),d=m(d,i,u,h,o[p+15],10,-30611744),h=m(h,d,i,u,o[p+6],15,-1560198380),u=m(u,h,d,i,o[p+13],21,1309151649),i=m(i,u,h,d,o[p+4],6,-145523070),d=m(d,i,u,h,o[p+11],10,-1120210379),h=m(h,d,i,u,o[p+2],15,718787259),u=m(u,h,d,i,o[p+9],21,-343485551),i=i+y>>>0,u=u+_>>>0,h=h+v>>>0,d=d+C>>>0}return r.endian([i,u,h,d])})._ff=function(e,t,o,r,n,a,l){var s=e+(t&o|~t&r)+(n>>>0)+l;return(s<<a|s>>>32-a)+t},s._gg=function(e,t,o,r,n,a,l){var s=e+(t&r|o&~r)+(n>>>0)+l;return(s<<a|s>>>32-a)+t},s._hh=function(e,t,o,r,n,a,l){var s=e+(t^o^r)+(n>>>0)+l;return(s<<a|s>>>32-a)+t},s._ii=function(e,t,o,r,n,a,l){var s=e+(o^(t|~r))+(n>>>0)+l;return(s<<a|s>>>32-a)+t},s._blocksize=16,s._digestsize=16,e.exports=function(e,t){if(null==e)throw new Error("Illegal argument "+e);var o=r.wordsToBytes(s(e,t));return t&&t.asBytes?o:t&&t.asString?l.bytesToString(o):r.bytesToHex(o)}}},o={};function r(e){var n=o[e];if(void 0!==n)return n.exports;var a=o[e]={exports:{}};return t[e](a,a.exports,r),a.exports}r.m=t,e=[],r.O=function(t,o,n,a){if(!o){var l=1/0;for(u=0;u<e.length;u++){o=e[u][0],n=e[u][1],a=e[u][2];for(var s=!0,c=0;c<o.length;c++)(!1&a||l>=a)&&Object.keys(r.O).every((function(e){return r.O[e](o[c])}))?o.splice(c--,1):(s=!1,a<l&&(l=a));if(s){e.splice(u--,1);var i=n();void 0!==i&&(t=i)}}return t}a=a||0;for(var u=e.length;u>0&&e[u-1][2]>a;u--)e[u]=e[u-1];e[u]=[o,n,a]},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,{a:t}),t},r.d=function(e,t){for(var o in t)r.o(t,o)&&!r.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},function(){var e={826:0,46:0};r.O.j=function(t){return 0===e[t]};var t=function(t,o){var n,a,l=o[0],s=o[1],c=o[2],i=0;if(l.some((function(t){return 0!==e[t]}))){for(n in s)r.o(s,n)&&(r.m[n]=s[n]);if(c)var u=c(r)}for(t&&t(o);i<l.length;i++)a=l[i],r.o(e,a)&&e[a]&&e[a][0](),e[l[i]]=0;return r.O(u)},o=self.webpackChunkyith_plugin_framewowrk=self.webpackChunkyith_plugin_framewowrk||[];o.forEach(t.bind(null,0)),o.push=t.bind(null,o.push.bind(o))}();var n=r.O(void 0,[46],(function(){return r(783)}));n=r.O(n)}();
plugin-fw/dist/gutenberg/style-index.css CHANGED
@@ -1,4 +1,2 @@
1
- .block-editor-yith-plugin-fw-shortcode-block.block-editor-yith-plugin-fw-shortcode-block--first-loading,.block-editor-yith-plugin-fw-shortcode-block.block-editor-yith-plugin-fw-shortcode-block--shortcode,.block-editor-yith-plugin-fw-shortcode-block.block-editor-yith-plugin-fw-shortcode-block--empty-html{padding:1em 1em 1.2em;border:1px solid #1e1e1e;border-radius:4px}.block-editor-yith-plugin-fw-shortcode-block.block-editor-yith-plugin-fw-shortcode-block--shortcode .block-editor-yith-plugin-fw-shortcode-block__content{font-family:Menlo, Consolas, monaco, monospace;color:#1e1e1e;font-size:13px;padding:0.8em 1em;border:1px solid #ddd;border-radius:4px}.block-editor-yith-plugin-fw-shortcode-block{position:relative;min-height:30px}.block-editor-yith-plugin-fw-shortcode-block .block-editor-yith-plugin-fw-shortcode-block__spinner-wrap{position:absolute;top:50%;left:50%;transform:translateX(-50%) translateY(-50%)}.block-editor-yith-plugin-fw-shortcode-block.block-editor-yith-plugin-fw-shortcode-block--first-loading .block-editor-yith-plugin-fw-shortcode-block__title{margin-bottom:0}.block-editor-yith-plugin-fw-shortcode-block.block-editor-yith-plugin-fw-shortcode-block--empty-html.block-editor-yith-plugin-fw-shortcode-block--no-message .block-editor-yith-plugin-fw-shortcode-block__title{margin-bottom:0}.block-editor-yith-plugin-fw-shortcode-block.block-editor-yith-plugin-fw-shortcode-block--empty-html .block-editor-yith-plugin-fw-shortcode-block__message{font-family:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;font-style:italic;font-size:13px}.block-editor-yith-plugin-fw-shortcode-block.block-editor-yith-plugin-fw-shortcode-block--empty-html .block-editor-yith-plugin-fw-shortcode-block__content{display:none}
2
-
3
  .block-editor-yith-color-palette-control .block-editor-yith-color-palette-control__color-indicator{margin-bottom:12px}.block-editor-yith-color-palette-control .component-color-indicator{vertical-align:text-bottom}
4
-
1
+ .block-editor-yith-plugin-fw-shortcode-block.block-editor-yith-plugin-fw-shortcode-block--empty-html,.block-editor-yith-plugin-fw-shortcode-block.block-editor-yith-plugin-fw-shortcode-block--first-loading,.block-editor-yith-plugin-fw-shortcode-block.block-editor-yith-plugin-fw-shortcode-block--shortcode{border:1px solid #1e1e1e;border-radius:4px;padding:1em 1em 1.2em}.block-editor-yith-plugin-fw-shortcode-block.block-editor-yith-plugin-fw-shortcode-block--shortcode .block-editor-yith-plugin-fw-shortcode-block__content{border:1px solid #ddd;border-radius:4px;color:#1e1e1e;font-family:Menlo,Consolas,monaco,monospace;font-size:13px;padding:.8em 1em}.block-editor-yith-plugin-fw-shortcode-block{min-height:30px;position:relative}.block-editor-yith-plugin-fw-shortcode-block .block-editor-yith-plugin-fw-shortcode-block__spinner-wrap{left:50%;position:absolute;top:50%;transform:translateX(-50%) translateY(-50%)}.block-editor-yith-plugin-fw-shortcode-block.block-editor-yith-plugin-fw-shortcode-block--empty-html.block-editor-yith-plugin-fw-shortcode-block--no-message .block-editor-yith-plugin-fw-shortcode-block__title,.block-editor-yith-plugin-fw-shortcode-block.block-editor-yith-plugin-fw-shortcode-block--first-loading .block-editor-yith-plugin-fw-shortcode-block__title{margin-bottom:0}.block-editor-yith-plugin-fw-shortcode-block.block-editor-yith-plugin-fw-shortcode-block--empty-html .block-editor-yith-plugin-fw-shortcode-block__message{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;font-style:italic}.block-editor-yith-plugin-fw-shortcode-block.block-editor-yith-plugin-fw-shortcode-block--empty-html .block-editor-yith-plugin-fw-shortcode-block__content{display:none}
 
2
  .block-editor-yith-color-palette-control .block-editor-yith-color-palette-control__color-indicator{margin-bottom:12px}.block-editor-yith-color-palette-control .component-color-indicator{vertical-align:text-bottom}
 
plugin-fw/includes/class-yit-icons.php CHANGED
@@ -979,7 +979,19 @@ if ( ! class_exists( 'YIT_Icons' ) ) {
979
  * @return string
980
  */
981
  public function get_icon_data( $icon_string, $filter_suffix = '' ) {
982
- $icon_data = '';
 
 
 
 
 
 
 
 
 
 
 
 
983
  if ( $icon_string ) {
984
  $icon_array = explode( ':', $icon_string );
985
 
@@ -994,8 +1006,12 @@ if ( ! class_exists( 'YIT_Icons' ) ) {
994
  if ( array_key_exists( $font_name, $icons ) ) {
995
  $icon_key = array_search( $icon_name, $icons[ $font_name ], true );
996
  $icon_code = '&#x' . str_replace( '\\', '', $icon_key );
997
-
998
- $icon_data = 'data-font="' . esc_attr( $font_name ) . '" data-name="' . esc_attr( $icon_name ) . '" data-key="' . esc_attr( $icon_key ) . '" data-icon="' . $icon_code . '"';
 
 
 
 
999
  }
1000
  }
1001
 
979
  * @return string
980
  */
981
  public function get_icon_data( $icon_string, $filter_suffix = '' ) {
982
+ return yith_plugin_fw_html_data_to_string( $this->get_icon_data_array( $icon_string, $filter_suffix ) );
983
+ }
984
+
985
+ /**
986
+ * Get the icon data array
987
+ *
988
+ * @param string $icon_string The icon string.
989
+ * @param string $filter_suffix The filter suffix.
990
+ *
991
+ * @return array
992
+ */
993
+ public function get_icon_data_array( $icon_string, $filter_suffix = '' ) {
994
+ $icon_data = array();
995
  if ( $icon_string ) {
996
  $icon_array = explode( ':', $icon_string );
997
 
1006
  if ( array_key_exists( $font_name, $icons ) ) {
1007
  $icon_key = array_search( $icon_name, $icons[ $font_name ], true );
1008
  $icon_code = '&#x' . str_replace( '\\', '', $icon_key );
1009
+ $icon_data = array(
1010
+ 'font' => $font_name,
1011
+ 'name' => $icon_name,
1012
+ 'key' => $icon_key,
1013
+ 'icon' => $icon_code,
1014
+ );
1015
  }
1016
  }
1017
 
plugin-fw/includes/class-yit-plugin-panel.php CHANGED
@@ -800,13 +800,33 @@ if ( ! class_exists( 'YIT_Plugin_Panel' ) ) {
800
  'main_video' => false,
801
  'playlists' => array(),
802
  'hc_url' => 'https://support.yithemes.com/hc/',
803
- 'doc_url' => $this->settings['plugin_slug'] ? 'https://docs.yithemes.com/' . $this->settings['plugin_slug'] : '',
804
  'submit_ticket_url' => 'https://yithemes.com/my-account/support/submit-a-ticket/',
805
  'show_hc_articles' => true,
806
  'show_submit_ticket' => true,
807
  )
808
  );
809
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
810
  // set template variables.
811
  $current_tab = $this->get_current_tab();
812
  $current_sub_tab = $this->get_current_sub_tab();
800
  'main_video' => false,
801
  'playlists' => array(),
802
  'hc_url' => 'https://support.yithemes.com/hc/',
803
+ 'doc_url' => $this->settings['plugin_slug'] ? 'https://docs.yithemes.com/' . $this->settings['plugin_slug'] . '/' : '',
804
  'submit_ticket_url' => 'https://yithemes.com/my-account/support/submit-a-ticket/',
805
  'show_hc_articles' => true,
806
  'show_submit_ticket' => true,
807
  )
808
  );
809
 
810
+ // add campaign parameters to url.
811
+ if ( $this->settings['plugin_slug'] ) {
812
+ $utm_medium = $this->settings['plugin_slug'];
813
+ $utm_source = 'wp-premium-dashboard';
814
+ $utm_campaign = 'help-tab';
815
+
816
+ $campaign_urls = array(
817
+ 'submit_ticket_url',
818
+ 'doc_url',
819
+ );
820
+
821
+ foreach ( $campaign_urls as $campaign_url ) {
822
+ if ( empty( $options[ $campaign_url ] ) ) {
823
+ continue;
824
+ }
825
+
826
+ $options[ $campaign_url ] = yith_plugin_fw_add_utm_data( $options[ $campaign_url ], $utm_medium, $utm_campaign, $utm_source );
827
+ }
828
+ }
829
+
830
  // set template variables.
831
  $current_tab = $this->get_current_tab();
832
  $current_sub_tab = $this->get_current_sub_tab();
plugin-fw/includes/class-yith-system-status.php CHANGED
@@ -337,10 +337,10 @@ if ( ! class_exists( 'YITH_System_Status' ) ) {
337
  ?>
338
  <div id="yith-system-alert" class="notice notice-error is-dismissible" style="position: relative;">
339
  <p>
340
- <span class="yith-logo"><img src="<?php echo esc_attr( yith_plugin_fw_get_default_logo() ); ?>"/></span>
341
  <b>
342
  <?php esc_html_e( 'Warning!', 'yith-plugin-fw' ); ?>
343
- </b><br/>
344
  <?php
345
  /* translators: %1$s open link tag, %2$s open link tag*/
346
  echo sprintf( esc_html__( 'The system check has detected some compatibility issues on your installation.%1$sClick here%2$s to know more', 'yith-plugin-fw' ), '<a href="' . esc_url( add_query_arg( array( 'page' => $this->page ), admin_url( 'admin.php' ) ) ) . '">', '</a>' );
@@ -719,6 +719,81 @@ if ( ! class_exists( 'YITH_System_Status' ) ) {
719
  return compact( 'version', 'loaded_by' );
720
  }
721
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
722
  }
723
  }
724
 
337
  ?>
338
  <div id="yith-system-alert" class="notice notice-error is-dismissible" style="position: relative;">
339
  <p>
340
+ <span class="yith-logo"><img src="<?php echo esc_attr( yith_plugin_fw_get_default_logo() ); ?>" /></span>
341
  <b>
342
  <?php esc_html_e( 'Warning!', 'yith-plugin-fw' ); ?>
343
+ </b><br />
344
  <?php
345
  /* translators: %1$s open link tag, %2$s open link tag*/
346
  echo sprintf( esc_html__( 'The system check has detected some compatibility issues on your installation.%1$sClick here%2$s to know more', 'yith-plugin-fw' ), '<a href="' . esc_url( add_query_arg( array( 'page' => $this->page ), admin_url( 'admin.php' ) ) ) . '">', '</a>' );
719
  return compact( 'version', 'loaded_by' );
720
  }
721
 
722
+ /**
723
+ * Retrieve database info, such as MySQL version and database size.
724
+ *
725
+ * @return array
726
+ */
727
+ public function get_database_info() {
728
+
729
+ global $wpdb;
730
+
731
+ $database_version = $wpdb->get_row( //phpcs:ignore WordPress.DB.DirectDatabaseQuery.DirectQuery, WordPress.DB.DirectDatabaseQuery.NoCaching
732
+ 'SELECT
733
+ @@GLOBAL.version_comment AS string,
734
+ @@GLOBAL.version AS number',
735
+ ARRAY_A
736
+ );
737
+
738
+ $tables = array();
739
+ $database_size = array();
740
+
741
+ // It is not possible to get the database name from some classes that replace wpdb (e.g., HyperDB)
742
+ // and that is why this if condition is needed.
743
+ if ( defined( 'DB_NAME' ) ) {
744
+ $database_table_information = $wpdb->get_results( //phpcs:ignore WordPress.DB.DirectDatabaseQuery.DirectQuery, WordPress.DB.DirectDatabaseQuery.NoCaching
745
+ $wpdb->prepare(
746
+ "SELECT
747
+ table_name AS 'name',
748
+ engine AS 'engine',
749
+ round( ( data_length / 1024 / 1024 ), 2 ) 'data',
750
+ round( ( index_length / 1024 / 1024 ), 2 ) 'index',
751
+ round( ( data_free / 1024 / 1024 ), 2 ) 'free'
752
+ FROM information_schema.TABLES
753
+ WHERE table_schema = %s
754
+ ORDER BY name ASC;",
755
+ DB_NAME
756
+ )
757
+ );
758
+
759
+ $database_size = array(
760
+ 'data' => 0,
761
+ 'index' => 0,
762
+ 'free' => 0,
763
+ );
764
+
765
+ $site_tables_prefix = $wpdb->get_blog_prefix( get_current_blog_id() );
766
+ $global_tables = $wpdb->tables( 'global', true );
767
+ foreach ( $database_table_information as $table ) {
768
+ // Only include tables matching the prefix of the current site, this is to prevent displaying all tables on a MS install not relating to the current.
769
+ if ( is_multisite() && 0 !== strpos( $table->name, $site_tables_prefix ) && ! in_array( $table->name, $global_tables, true ) ) {
770
+ continue;
771
+ }
772
+
773
+ $tables[ $table->name ] = array(
774
+ 'data' => $table->data,
775
+ 'index' => $table->index,
776
+ 'free' => $table->free,
777
+ 'engine' => $table->engine,
778
+ );
779
+
780
+ $database_size['data'] += $table->data;
781
+ $database_size['index'] += $table->index;
782
+ $database_size['free'] += $table->free;
783
+ }
784
+ }
785
+
786
+ return apply_filters(
787
+ 'yith_database_info',
788
+ array(
789
+ 'mysql_version' => $database_version['number'],
790
+ 'mysql_version_string' => $database_version['string'],
791
+ 'database_tables' => $tables,
792
+ 'database_size' => $database_size,
793
+ )
794
+ );
795
+ }
796
+
797
  }
798
  }
799
 
plugin-fw/includes/promo/black.jpg DELETED
Binary file
plugin-fw/includes/promo/cyber.jpg DELETED
Binary file
plugin-fw/includes/promo/halloween.jpg DELETED
Binary file
plugin-fw/includes/promo/yith-promo.php DELETED
@@ -1,245 +0,0 @@
1
- <?php
2
- /**
3
- * YITH Promo functions
4
- * handle the YITH promotions
5
- *
6
- * @package YITH\PluginFramework
7
- */
8
-
9
- defined( 'ABSPATH' ) || exit; // Exit if accessed directly.
10
-
11
- if ( ! function_exists( 'simplexml_load_string' ) ) {
12
- return false;
13
- }
14
-
15
- add_action( 'admin_notices', 'yith_plugin_fw_regenerate_transient' );
16
- add_action( 'admin_notices', 'yith_plugin_fw_promo_notices', 15 );
17
- add_action( 'admin_enqueue_scripts', 'yith_plugin_fw_notice_dismiss', 20 );
18
-
19
- if ( ! function_exists( 'yith_plugin_fw_promo_notices' ) ) {
20
- /**
21
- * Add promo notices.
22
- */
23
- function yith_plugin_fw_promo_notices() {
24
- // phpcs:disable WordPress.Security.NonceVerification.Recommended
25
- global $pagenow;
26
- $not_administrator = function_exists( 'current_user_can' ) && ! current_user_can( 'administrator' );
27
- $is_dashboard = 'index.php' === $pagenow;
28
- $is_plugin_page = 'plugins.php' === $pagenow || 'plugin-install.php' === $pagenow && 'plugin-editor.php' === $pagenow;
29
- $wc_post_types = array( 'shop_order', 'shop_coupon' );
30
- $is_wc_post_types = isset( $_GET['post_type'] ) && in_array( $_GET['post_type'], $wc_post_types, true );
31
- $wc_pages = array( 'wc-reports', 'wc-settings', 'wc-status', 'wc-addons' );
32
- $page = isset( $_GET['page'] ) ? sanitize_key( wp_unslash( $_GET['page'] ) ) : false;
33
- $is_wc_pages = $page && in_array( $page, $wc_pages, true );
34
- $is_yith_page = $page && false !== strstr( $page, 'yith' );
35
-
36
- if ( $not_administrator ) {
37
- return;
38
- }
39
-
40
- if ( ! $is_plugin_page && ! $is_wc_pages && ! $is_wc_post_types && ! $is_yith_page ) {
41
- return;
42
- }
43
-
44
- $base_url = apply_filters( 'yith_plugin_fw_promo_base_url', YIT_CORE_PLUGIN_URL . '/includes/promo/' );
45
- $xml = apply_filters( 'yith_plugin_fw_promo_xml_url', YIT_CORE_PLUGIN_PATH . '/includes/promo/yith-promo.xml' );
46
- $transient = 'yith_promo_message';
47
- $remote_data = get_site_transient( $transient );
48
- $regenerate_promo_transient = isset( $_GET['yith_regenerate_promo_transient'] ) && 'yes' === $_GET['yith_regenerate_promo_transient'];
49
- $promo_data = false;
50
- $create_transient = false;
51
-
52
- if ( false === $remote_data || apply_filters( 'yith_plugin_fw_force_regenerate_promo_transient', false ) || $regenerate_promo_transient ) {
53
- $remote_data = file_get_contents( $xml ); // phpcs:ignore WordPress.WP.AlternativeFunctions.file_get_contents_file_get_contents
54
- $create_transient = true;
55
- }
56
-
57
- if ( ! is_wp_error( $remote_data ) && ! empty( $remote_data ) ) {
58
- $promo_data = @simplexml_load_string( $remote_data ); // phpcs:ignore WordPress.PHP.NoSilencedErrors.Discouraged
59
-
60
- $is_membership_user = false;
61
- $license = function_exists( 'YITH_Plugin_Licence' ) ? YITH_Plugin_Licence()->get_licence() : array();
62
- $xml_expiry_date = '';
63
-
64
- if ( is_array( $license ) && apply_filters( 'yith_plugin_fw_check_for_membership_user', true ) ) {
65
- // Check if the user have the YITH Club.
66
- foreach ( $license as $plugin => $data ) {
67
- if ( ! empty( $data['is_membership'] ) ) {
68
- $is_membership_user = true;
69
- $xml_expiry_date = $data['licence_expires'];
70
- $remote_data = array();
71
- $promo_data = array();
72
- $create_transient = true;
73
- break;
74
- }
75
- }
76
- }
77
-
78
- if ( empty( $is_membership_user ) && ! empty( $promo_data->expiry_date ) ) {
79
- $xml_expiry_date = $promo_data->expiry_date;
80
- }
81
-
82
- if ( true === $create_transient ) {
83
- set_site_transient( $transient, $remote_data, yith_plugin_fw_get_promo_transient_expiry_date( $xml_expiry_date ) );
84
- }
85
-
86
- if ( $promo_data && ! empty( $promo_data->promo ) ) {
87
- $now = apply_filters( 'yith_plugin_fw_promo_now_date', strtotime( current_time( 'mysql' ) ) );
88
-
89
- foreach ( $promo_data->promo as $promo ) {
90
- $show_promo = true;
91
- // Check for Special Promo.
92
- if ( ! empty( $promo->show_promo_in ) ) {
93
- $show_promo_in = explode( ',', $promo->show_promo_in );
94
- $show_promo_in = array_map( 'trim', $show_promo_in );
95
- if ( ! empty( $show_promo_in ) ) {
96
- $show_promo = false;
97
- foreach ( $show_promo_in as $plugin ) {
98
- $plugin_slug = constant( $plugin );
99
- $plugin_is_activated = ! empty( $license[ $plugin_slug ]['activated'] );
100
- if ( defined( $plugin ) && ! apply_filters( 'yith_plugin_fw_promo_plugin_is_activated', $plugin_is_activated ) ) {
101
- $show_promo = true;
102
- break;
103
- }
104
- }
105
- }
106
- }
107
-
108
- $start_date = isset( $promo->start_date ) ? $promo->start_date : '';
109
- $end_date = isset( $promo->end_date ) ? $promo->end_date : '';
110
-
111
- if ( $show_promo && ! empty( $start_date ) && ! empty( $end_date ) ) {
112
- $start_date = strtotime( $start_date );
113
- $end_date = strtotime( $end_date );
114
-
115
- if ( $end_date >= $start_date && $now >= $start_date && $now <= $end_date ) {
116
- // Is this a valid promo.
117
- $title = isset( $promo->title ) ? $promo->title : '';
118
- $description = isset( $promo->description ) ? $promo->description : '';
119
- $url = isset( $promo->link->url ) ? $promo->link->url : '';
120
- $url_label = isset( $promo->link->label ) ? $promo->link->label : '';
121
- $image_bg_color = isset( $promo->style->image_bg_color ) ? $promo->style->image_bg_color : '';
122
- $border_color = isset( $promo->style->border_color ) ? $promo->style->border_color : '';
123
- $background_color = isset( $promo->style->background_color ) ? $promo->style->background_color : '';
124
- $promo_id = isset( $promo->promo_id ) ? $promo->promo_id : '';
125
- $banner = isset( $promo->banner ) ? $promo->banner : '';
126
- $style = '';
127
- $link = '';
128
- $show_notice = false;
129
-
130
- if ( ! empty( $border_color ) ) {
131
- $style .= "border-left-color: {$border_color};";
132
- }
133
-
134
- if ( ! empty( $background_color ) ) {
135
- $style .= "background-color: {$background_color};";
136
- }
137
-
138
- if ( ! empty( $image_bg_color ) ) {
139
- $image_bg_color = "background-color: {$image_bg_color};";
140
- }
141
-
142
- if ( ! empty( $title ) ) {
143
- $promo_id .= $title;
144
-
145
- $title = sprintf( '%s: ', $title );
146
- $show_notice = true;
147
- }
148
-
149
- if ( ! empty( $description ) ) {
150
- $promo_id .= $description;
151
-
152
- $description = sprintf( '%s', $description );
153
- $show_notice = true;
154
- }
155
-
156
- if ( ! empty( $url ) && ! empty( $url_label ) ) {
157
- $promo_id .= $url . $url_label;
158
-
159
- $link = sprintf( '<a href="%s" target="_blank">%s</a>', $url, $url_label );
160
- $show_notice = true;
161
- }
162
-
163
- if ( ! empty( $banner ) ) {
164
- $banner = sprintf( '<img src="%s" class="yith-promo-banner-image">', $base_url . $banner );
165
-
166
- if ( ! empty( $url ) ) {
167
- $banner = sprintf( '<a class="yith-promo-banner-image-link" href="%s" target="_blank" style="%s">%s</a>', $url, $image_bg_color, $banner );
168
- }
169
- }
170
-
171
- $unique_promo_id = 'yith-notice-' . md5( $promo_id );
172
-
173
- if ( ! empty( $_COOKIE[ 'hide_' . $unique_promo_id ] ) && 'yes' === $_COOKIE[ 'hide_' . $unique_promo_id ] ) {
174
- $show_notice = false;
175
- }
176
-
177
- if ( $show_notice ) : ?>
178
- <?php wp_enqueue_script( 'yith-promo' ); ?>
179
- <div id="<?php echo esc_attr( $unique_promo_id ); ?>" class="yith-notice-is-dismissible notice notice-yith notice-alt is-dismissible" style="<?php echo esc_attr( $style ); ?>" data-expiry= <?php echo esc_attr( $promo->end_date ); ?>>
180
- <p>
181
- <?php
182
- if ( ! ! $banner ) {
183
- echo wp_kses_post( $banner );
184
- }
185
-
186
- echo wp_kses_post( sprintf( '%s %s %s', $title, $description, $link ) );
187
- ?>
188
- </p>
189
- </div>
190
- <?php endif; ?>
191
- <?php
192
- }
193
- }
194
- }
195
- }
196
- }
197
-
198
- // phpcs:enable
199
- }
200
- }
201
-
202
- if ( ! function_exists( 'yith_plugin_fw_notice_dismiss' ) ) {
203
- /**
204
- * Dismiss the notice scripts.
205
- */
206
- function yith_plugin_fw_notice_dismiss() {
207
- $script_path = defined( 'YIT_CORE_PLUGIN_URL' ) ? YIT_CORE_PLUGIN_URL : get_template_directory_uri() . '/core/plugin-fw';
208
- $suffix = defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ? '' : '.min';
209
- wp_register_script( 'yith-promo', $script_path . '/assets/js/yith-promo' . $suffix . '.js', array( 'jquery' ), '1.0.0', true );
210
- }
211
- }
212
-
213
- if ( ! function_exists( 'yith_plugin_fw_get_promo_transient_expiry_date' ) ) {
214
- /**
215
- * Retrieve the expiry date in integer.
216
- *
217
- * @param string $expiry_date The expiry date.
218
- *
219
- * @return false|int
220
- */
221
- function yith_plugin_fw_get_promo_transient_expiry_date( $expiry_date ) {
222
- $xml_expiry_date = ! empty( $expiry_date ) ? $expiry_date : '+24 hours';
223
- $current = strtotime( current_time( 'Y-m-d H:i:s' ) );
224
- $expiry_date = strtotime( $xml_expiry_date, $current );
225
-
226
- if ( $expiry_date <= $current ) {
227
- $expiry_date = strtotime( '+24 hours', $current );
228
- }
229
-
230
- return $expiry_date;
231
- }
232
- }
233
-
234
- if ( ! function_exists( 'yith_plugin_fw_regenerate_transient' ) ) {
235
- /**
236
- * Regenerate transients for promo.
237
- */
238
- function yith_plugin_fw_regenerate_transient() {
239
- if ( false === get_option( 'yith_plugin_fw_promo_2019_bis', false ) ) {
240
- delete_option( 'yith_plugin_fw_promo_2019' );
241
- delete_site_transient( 'yith_promo_message' );
242
- update_option( 'yith_plugin_fw_promo_2019_bis', true );
243
- }
244
- }
245
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
plugin-fw/includes/promo/yith-promo.xml DELETED
@@ -1,25 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <!-- Default border color: #acc327 -->
3
- <!-- Default background color: #ecf7ed -->
4
-
5
- <promotions>
6
- <expiry_date>2019-12-10</expiry_date>
7
- <promo>
8
- <promo_id>yithblackfriday2019</promo_id>
9
- <title><![CDATA[<strong>YITH Black Friday</strong>]]></title>
10
- <description><![CDATA[
11
- Don't miss our <strong>30% discount</strong> on all our products! No coupon needed in cart. Valid from <strong>28th November</strong> to <strong>2nd December</strong>.
12
- ]]></description>
13
- <link>
14
- <label>Get your deals now!</label>
15
- <url><![CDATA[https://yithemes.com]]></url>
16
- </link>
17
- <style>
18
- <image_bg_color>#272121</image_bg_color>
19
- <border_color>#272121</border_color>
20
- <background_color>#ffffff</background_color>
21
- </style>
22
- <start_date>2019-11-27 23:59:59</start_date>
23
- <end_date>2019-12-03 08:00:00</end_date>
24
- </promo>
25
- </promotions>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
plugin-fw/init.php CHANGED
@@ -1,13 +1,13 @@
1
  <?php
2
  /**
3
  * Framework Name: YIT Plugin Framework
4
- * Version: 3.7.7
5
  * Author: YITH
6
  * Text Domain: yith-plugin-fw
7
  * Domain Path: /languages/
8
  *
9
  * @author YITH
10
- * @version 3.7.7
11
  * @package YITH\PluginFramework
12
  */
13
 
1
  <?php
2
  /**
3
  * Framework Name: YIT Plugin Framework
4
+ * Version: 3.8.0
5
  * Author: YITH
6
  * Text Domain: yith-plugin-fw
7
  * Domain Path: /languages/
8
  *
9
  * @author YITH
10
+ * @version 3.8.0
11
  * @package YITH\PluginFramework
12
  */
13
 
plugin-fw/languages/yith-plugin-fw-el.po CHANGED
@@ -4,7 +4,7 @@ msgid ""
4
  msgstr ""
5
  "Project-Id-Version: YITH Framework\n"
6
  "Report-Msgid-Bugs-To: YITH <plugins@yithemes.com>\n"
7
- "POT-Creation-Date: 2021-09-24 08:04:51+00:00\n"
8
  "PO-Revision-Date: 2021-02-11 18:07:46+0000\n"
9
  "Language: el_GR\n"
10
  "MIME-Version: 1.0\n"
@@ -13,7 +13,7 @@ msgstr ""
13
  "Plural-Forms: nplurals=2; plural=n != 1;\n"
14
  "X-Generator: GlotPress/3.0.0-alpha.2\n"
15
 
16
- #: includes/class-yit-assets.php:146 yit-functions.php:1962
17
  msgid "Confirm trash"
18
  msgstr ""
19
 
@@ -22,13 +22,13 @@ msgid "Are you sure you want to trash the selected items?"
22
  msgstr ""
23
 
24
  #: includes/class-yit-assets.php:149 includes/class-yit-assets.php:153
25
- #: templates/sysinfo/tabs/main.php:41 templates/sysinfo/tabs/main.php:49
26
- #: yit-functions.php:1964 yit-functions.php:1982
27
  msgid "No"
28
  msgstr "Όχι"
29
 
30
- #: includes/class-yit-assets.php:150 yit-functions.php:1980
31
- #: yit-functions.php:2108
32
  msgid "Confirm delete"
33
  msgstr ""
34
 
@@ -36,8 +36,8 @@ msgstr ""
36
  msgid "Are you sure you want to delete the selected items?"
37
  msgstr ""
38
 
39
- #: includes/class-yit-assets.php:151 yit-functions.php:1896
40
- #: yit-functions.php:2056
41
  msgid ""
42
  "This action cannot be undone and you will not be able to recover this data."
43
  msgstr ""
@@ -463,7 +463,7 @@ msgstr "Προσαρμογή:"
463
  msgid "Preview:"
464
  msgstr "Προεπισκόπηση:"
465
 
466
- #: templates/fields/icons.php:63
467
  msgid "Set Default"
468
  msgstr "Ορίστε Προεπιλεγμένο"
469
 
@@ -588,58 +588,97 @@ msgstr "Έγινε αντιγραφή!"
588
  msgid "Copy Code"
589
  msgstr "Αντιγραφή Κώδικα"
590
 
591
- #: templates/sysinfo/tabs/main.php:16
592
  msgid "Site Info"
593
  msgstr "Στοιχεία Ιστότοπου"
594
 
595
- #: templates/sysinfo/tabs/main.php:21
596
  msgid "Site URL"
597
  msgstr "URL Ιστοσελίδας"
598
 
599
- #: templates/sysinfo/tabs/main.php:30
600
  msgid "Output IP Address"
601
  msgstr "Διεύθυνση IP Παραγωγής"
602
 
603
- #: templates/sysinfo/tabs/main.php:38
604
  msgid "Defined WP_CACHE"
605
  msgstr "Καθορισμένο WP_CACHE"
606
 
607
- #: templates/sysinfo/tabs/main.php:41 templates/sysinfo/tabs/main.php:49
608
  msgid "Yes"
609
  msgstr "Ναι"
610
 
611
- #: templates/sysinfo/tabs/main.php:46
612
  msgid "External object cache"
613
  msgstr "Cache εξωτερικού αντικειμένου"
614
 
615
- #: templates/sysinfo/tabs/main.php:54
616
  msgid "YITH Plugin Framework Version"
617
  msgstr ""
618
 
619
  #. translators: %s is the name of the plugin that is loading the framework.
620
- #: templates/sysinfo/tabs/main.php:63
621
  msgid "loaded by %s"
622
  msgstr ""
623
 
624
- #: templates/sysinfo/tabs/main.php:72
625
  msgid "Plugins Requirements"
626
  msgstr "Προϋποθέσεις Πρόσθετων"
627
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
628
  #. translators: %s is the title of the post object.
629
- #: yit-functions.php:1894
630
  msgid "Are you sure you want to move \"%s\" to trash?"
631
  msgstr ""
632
 
633
  #. translators: %s is the title of the post object.
634
- #: yit-functions.php:1896 yit-functions.php:2056
635
  msgid "Are you sure you want to delete \"%s\"?"
636
  msgstr ""
637
 
638
- #: yit-functions.php:1994 yit-functions.php:2002 yit-functions.php:2119
639
  msgid "Further actions"
640
  msgstr ""
641
 
642
- #: yit-plugin.php:206
643
  msgid "License"
644
  msgstr "Άδεια χρήσης προϊόντος"
645
 
@@ -668,13 +707,13 @@ msgctxt "Button text"
668
  msgid "Cancel"
669
  msgstr ""
670
 
671
- #: includes/class-yit-assets.php:148 yit-functions.php:1965
672
  msgctxt "Trash confirmation action"
673
  msgid "Yes, move to trash"
674
  msgstr ""
675
 
676
- #: includes/class-yit-assets.php:152 yit-functions.php:1983
677
- #: yit-functions.php:2110
678
  msgctxt "Delete confirmation action"
679
  msgid "Yes, delete"
680
  msgstr ""
@@ -880,82 +919,82 @@ msgctxt "Help tab submit ticket button"
880
  msgid "Submit a ticket"
881
  msgstr ""
882
 
883
- #: yit-functions.php:1908
884
  msgctxt "Post action"
885
  msgid "Preview"
886
  msgstr ""
887
 
888
- #: yit-functions.php:1917
889
  msgctxt "Post action"
890
  msgid "View"
891
  msgstr ""
892
 
893
- #: yit-functions.php:1928
894
  msgctxt "Post action"
895
  msgid "Edit"
896
  msgstr ""
897
 
898
- #: yit-functions.php:1936
899
  msgctxt "Post action"
900
  msgid "Duplicate"
901
  msgstr ""
902
 
903
- #: yit-functions.php:1948
904
  msgctxt "Post action"
905
  msgid "Restore"
906
  msgstr ""
907
 
908
- #: yit-functions.php:1956
909
  msgctxt "Post action"
910
  msgid "Trash"
911
  msgstr ""
912
 
913
- #: yit-functions.php:1973
914
  msgctxt "Post action"
915
  msgid "Delete Permanently"
916
  msgstr ""
917
 
918
- #: yit-functions.php:2070
919
  msgctxt "Term action"
920
  msgid "View"
921
  msgstr ""
922
 
923
- #: yit-functions.php:2080
924
  msgctxt "Term action"
925
  msgid "Edit"
926
  msgstr ""
927
 
928
- #: yit-functions.php:2088
929
  msgctxt "Term action"
930
  msgid "Duplicate"
931
  msgstr ""
932
 
933
- #: yit-functions.php:2101
934
  msgctxt "Term action"
935
  msgid "Delete"
936
  msgstr ""
937
 
938
- #: yit-plugin.php:85
939
  msgctxt "Plugin Row Meta"
940
  msgid "Live Demo"
941
  msgstr "Live Demo"
942
 
943
- #: yit-plugin.php:89
944
  msgctxt "Plugin Row Meta"
945
  msgid "Documentation"
946
  msgstr "Εγχειρίδιο χρήσης"
947
 
948
- #: yit-plugin.php:93
949
  msgctxt "Plugin Row Meta"
950
  msgid "Support"
951
  msgstr "Υποστήριξη"
952
 
953
- #: yit-plugin.php:97
954
  msgctxt "Plugin Row Meta"
955
  msgid "Premium version"
956
  msgstr "Premium έκδοση"
957
 
958
- #: yit-plugin.php:202
959
  msgctxt "Action links"
960
  msgid "Settings"
961
  msgstr "Ρυθμίσεις"
4
  msgstr ""
5
  "Project-Id-Version: YITH Framework\n"
6
  "Report-Msgid-Bugs-To: YITH <plugins@yithemes.com>\n"
7
+ "POT-Creation-Date: 2021-10-11 07:35:19+00:00\n"
8
  "PO-Revision-Date: 2021-02-11 18:07:46+0000\n"
9
  "Language: el_GR\n"
10
  "MIME-Version: 1.0\n"
13
  "Plural-Forms: nplurals=2; plural=n != 1;\n"
14
  "X-Generator: GlotPress/3.0.0-alpha.2\n"
15
 
16
+ #: includes/class-yit-assets.php:146 yit-functions.php:1979
17
  msgid "Confirm trash"
18
  msgstr ""
19
 
22
  msgstr ""
23
 
24
  #: includes/class-yit-assets.php:149 includes/class-yit-assets.php:153
25
+ #: templates/sysinfo/tabs/main.php:42 templates/sysinfo/tabs/main.php:50
26
+ #: yit-functions.php:1981 yit-functions.php:1999
27
  msgid "No"
28
  msgstr "Όχι"
29
 
30
+ #: includes/class-yit-assets.php:150 yit-functions.php:1997
31
+ #: yit-functions.php:2125
32
  msgid "Confirm delete"
33
  msgstr ""
34
 
36
  msgid "Are you sure you want to delete the selected items?"
37
  msgstr ""
38
 
39
+ #: includes/class-yit-assets.php:151 yit-functions.php:1913
40
+ #: yit-functions.php:2073
41
  msgid ""
42
  "This action cannot be undone and you will not be able to recover this data."
43
  msgstr ""
463
  msgid "Preview:"
464
  msgstr "Προεπισκόπηση:"
465
 
466
+ #: templates/fields/icons.php:78
467
  msgid "Set Default"
468
  msgstr "Ορίστε Προεπιλεγμένο"
469
 
588
  msgid "Copy Code"
589
  msgstr "Αντιγραφή Κώδικα"
590
 
591
+ #: templates/sysinfo/tabs/main.php:17
592
  msgid "Site Info"
593
  msgstr "Στοιχεία Ιστότοπου"
594
 
595
+ #: templates/sysinfo/tabs/main.php:22
596
  msgid "Site URL"
597
  msgstr "URL Ιστοσελίδας"
598
 
599
+ #: templates/sysinfo/tabs/main.php:31
600
  msgid "Output IP Address"
601
  msgstr "Διεύθυνση IP Παραγωγής"
602
 
603
+ #: templates/sysinfo/tabs/main.php:39
604
  msgid "Defined WP_CACHE"
605
  msgstr "Καθορισμένο WP_CACHE"
606
 
607
+ #: templates/sysinfo/tabs/main.php:42 templates/sysinfo/tabs/main.php:50
608
  msgid "Yes"
609
  msgstr "Ναι"
610
 
611
+ #: templates/sysinfo/tabs/main.php:47
612
  msgid "External object cache"
613
  msgstr "Cache εξωτερικού αντικειμένου"
614
 
615
+ #: templates/sysinfo/tabs/main.php:55
616
  msgid "YITH Plugin Framework Version"
617
  msgstr ""
618
 
619
  #. translators: %s is the name of the plugin that is loading the framework.
620
+ #: templates/sysinfo/tabs/main.php:64
621
  msgid "loaded by %s"
622
  msgstr ""
623
 
624
+ #: templates/sysinfo/tabs/main.php:73
625
  msgid "Plugins Requirements"
626
  msgstr "Προϋποθέσεις Πρόσθετων"
627
 
628
+ #: templates/sysinfo/tabs/main.php:108
629
+ msgid "Database Info"
630
+ msgstr ""
631
+
632
+ #: templates/sysinfo/tabs/main.php:113
633
+ msgid "MySQL version"
634
+ msgstr ""
635
+
636
+ #. Translators: %s: Codex link.
637
+ #: templates/sysinfo/tabs/main.php:123
638
+ msgid "WordPress recommends a minimum MySQL version of 5.6. See: %s"
639
+ msgstr ""
640
+
641
+ #: templates/sysinfo/tabs/main.php:123
642
+ msgid "WordPress requirements"
643
+ msgstr ""
644
+
645
+ #: templates/sysinfo/tabs/main.php:130
646
+ msgid "Total Database Size"
647
+ msgstr ""
648
+
649
+ #: templates/sysinfo/tabs/main.php:138
650
+ msgid "Database Data Size"
651
+ msgstr ""
652
+
653
+ #: templates/sysinfo/tabs/main.php:146
654
+ msgid "Database Index Size"
655
+ msgstr ""
656
+
657
+ #: templates/sysinfo/tabs/main.php:154
658
+ msgid "Database Free Size"
659
+ msgstr ""
660
+
661
+ #. Translators: %1$f: Table size, %2$f: Index size, %3$f: Free size, %4$s
662
+ #. Engine.
663
+ #: templates/sysinfo/tabs/main.php:168
664
+ msgid "Data: %1$.2fMB | Index: %2$.2fMB | Free: %3$.2fMB | Engine: %4$s"
665
+ msgstr ""
666
+
667
  #. translators: %s is the title of the post object.
668
+ #: yit-functions.php:1911
669
  msgid "Are you sure you want to move \"%s\" to trash?"
670
  msgstr ""
671
 
672
  #. translators: %s is the title of the post object.
673
+ #: yit-functions.php:1913 yit-functions.php:2073
674
  msgid "Are you sure you want to delete \"%s\"?"
675
  msgstr ""
676
 
677
+ #: yit-functions.php:2011 yit-functions.php:2019 yit-functions.php:2136
678
  msgid "Further actions"
679
  msgstr ""
680
 
681
+ #: yit-plugin.php:205
682
  msgid "License"
683
  msgstr "Άδεια χρήσης προϊόντος"
684
 
707
  msgid "Cancel"
708
  msgstr ""
709
 
710
+ #: includes/class-yit-assets.php:148 yit-functions.php:1982
711
  msgctxt "Trash confirmation action"
712
  msgid "Yes, move to trash"
713
  msgstr ""
714
 
715
+ #: includes/class-yit-assets.php:152 yit-functions.php:2000
716
+ #: yit-functions.php:2127
717
  msgctxt "Delete confirmation action"
718
  msgid "Yes, delete"
719
  msgstr ""
919
  msgid "Submit a ticket"
920
  msgstr ""
921
 
922
+ #: yit-functions.php:1925
923
  msgctxt "Post action"
924
  msgid "Preview"
925
  msgstr ""
926
 
927
+ #: yit-functions.php:1934
928
  msgctxt "Post action"
929
  msgid "View"
930
  msgstr ""
931
 
932
+ #: yit-functions.php:1945
933
  msgctxt "Post action"
934
  msgid "Edit"
935
  msgstr ""
936
 
937
+ #: yit-functions.php:1953
938
  msgctxt "Post action"
939
  msgid "Duplicate"
940
  msgstr ""
941
 
942
+ #: yit-functions.php:1965
943
  msgctxt "Post action"
944
  msgid "Restore"
945
  msgstr ""
946
 
947
+ #: yit-functions.php:1973
948
  msgctxt "Post action"
949
  msgid "Trash"
950
  msgstr ""
951
 
952
+ #: yit-functions.php:1990
953
  msgctxt "Post action"
954
  msgid "Delete Permanently"
955
  msgstr ""
956
 
957
+ #: yit-functions.php:2087
958
  msgctxt "Term action"
959
  msgid "View"
960
  msgstr ""
961
 
962
+ #: yit-functions.php:2097
963
  msgctxt "Term action"
964
  msgid "Edit"
965
  msgstr ""
966
 
967
+ #: yit-functions.php:2105
968
  msgctxt "Term action"
969
  msgid "Duplicate"
970
  msgstr ""
971
 
972
+ #: yit-functions.php:2118
973
  msgctxt "Term action"
974
  msgid "Delete"
975
  msgstr ""
976
 
977
+ #: yit-plugin.php:84
978
  msgctxt "Plugin Row Meta"
979
  msgid "Live Demo"
980
  msgstr "Live Demo"
981
 
982
+ #: yit-plugin.php:88
983
  msgctxt "Plugin Row Meta"
984
  msgid "Documentation"
985
  msgstr "Εγχειρίδιο χρήσης"
986
 
987
+ #: yit-plugin.php:92
988
  msgctxt "Plugin Row Meta"
989
  msgid "Support"
990
  msgstr "Υποστήριξη"
991
 
992
+ #: yit-plugin.php:96
993
  msgctxt "Plugin Row Meta"
994
  msgid "Premium version"
995
  msgstr "Premium έκδοση"
996
 
997
+ #: yit-plugin.php:201
998
  msgctxt "Action links"
999
  msgid "Settings"
1000
  msgstr "Ρυθμίσεις"
plugin-fw/languages/yith-plugin-fw-es_ES.mo CHANGED
Binary file
plugin-fw/languages/yith-plugin-fw-es_ES.po CHANGED
@@ -4,8 +4,8 @@ msgid ""
4
  msgstr ""
5
  "Project-Id-Version: YITH Framework\n"
6
  "Report-Msgid-Bugs-To: YITH <plugins@yithemes.com>\n"
7
- "POT-Creation-Date: 2021-09-24 08:04:51+00:00\n"
8
- "PO-Revision-Date: 2021-07-26 10:52:41+0000\n"
9
  "Language: es\n"
10
  "MIME-Version: 1.0\n"
11
  "Content-Type: text/plain; charset=UTF-8\n"
@@ -13,7 +13,7 @@ msgstr ""
13
  "Plural-Forms: nplurals=2; plural=n != 1;\n"
14
  "X-Generator: GlotPress/3.0.0-alpha.2\n"
15
 
16
- #: includes/class-yit-assets.php:146 yit-functions.php:1962
17
  msgid "Confirm trash"
18
  msgstr "Confirmar el traslado a la papelera"
19
 
@@ -23,13 +23,13 @@ msgstr ""
23
  "¿Estás seguro de que quieres mover a la papelera los elementos seleccionados?"
24
 
25
  #: includes/class-yit-assets.php:149 includes/class-yit-assets.php:153
26
- #: templates/sysinfo/tabs/main.php:41 templates/sysinfo/tabs/main.php:49
27
- #: yit-functions.php:1964 yit-functions.php:1982
28
  msgid "No"
29
  msgstr "No"
30
 
31
- #: includes/class-yit-assets.php:150 yit-functions.php:1980
32
- #: yit-functions.php:2108
33
  msgid "Confirm delete"
34
  msgstr "Confirmar el borrado"
35
 
@@ -37,8 +37,8 @@ msgstr "Confirmar el borrado"
37
  msgid "Are you sure you want to delete the selected items?"
38
  msgstr "¿Estás seguro de que quieres borrar los elementos seleccionados?"
39
 
40
- #: includes/class-yit-assets.php:151 yit-functions.php:1896
41
- #: yit-functions.php:2056
42
  msgid ""
43
  "This action cannot be undone and you will not be able to recover this data."
44
  msgstr "Esta acción no se puede revertir y no podrá recuperar estos datos."
@@ -472,7 +472,7 @@ msgstr "Personalizado:"
472
  msgid "Preview:"
473
  msgstr "Vista previa:"
474
 
475
- #: templates/fields/icons.php:63
476
  msgid "Set Default"
477
  msgstr "Establecer predeterminado"
478
 
@@ -596,58 +596,97 @@ msgstr "¡Copiado!"
596
  msgid "Copy Code"
597
  msgstr "Copiar código"
598
 
599
- #: templates/sysinfo/tabs/main.php:16
600
  msgid "Site Info"
601
  msgstr "Información del sitio"
602
 
603
- #: templates/sysinfo/tabs/main.php:21
604
  msgid "Site URL"
605
  msgstr "URL del sitio"
606
 
607
- #: templates/sysinfo/tabs/main.php:30
608
  msgid "Output IP Address"
609
  msgstr "Dirección IP de salida"
610
 
611
- #: templates/sysinfo/tabs/main.php:38
612
  msgid "Defined WP_CACHE"
613
  msgstr "WP_CACHE definido"
614
 
615
- #: templates/sysinfo/tabs/main.php:41 templates/sysinfo/tabs/main.php:49
616
  msgid "Yes"
617
  msgstr "Sí"
618
 
619
- #: templates/sysinfo/tabs/main.php:46
620
  msgid "External object cache"
621
  msgstr "Caché objeto externo"
622
 
623
- #: templates/sysinfo/tabs/main.php:54
624
  msgid "YITH Plugin Framework Version"
625
- msgstr ""
626
 
627
  #. translators: %s is the name of the plugin that is loading the framework.
628
- #: templates/sysinfo/tabs/main.php:63
629
  msgid "loaded by %s"
630
- msgstr ""
631
 
632
- #: templates/sysinfo/tabs/main.php:72
633
  msgid "Plugins Requirements"
634
  msgstr "Requerimientos de los plugins"
635
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
636
  #. translators: %s is the title of the post object.
637
- #: yit-functions.php:1894
638
  msgid "Are you sure you want to move \"%s\" to trash?"
639
  msgstr "¿Estás seguro de que quieres mover \"%s\" a la papelera?"
640
 
641
  #. translators: %s is the title of the post object.
642
- #: yit-functions.php:1896 yit-functions.php:2056
643
  msgid "Are you sure you want to delete \"%s\"?"
644
  msgstr "¿Estás seguro de que quieres borrar \"%s\"?"
645
 
646
- #: yit-functions.php:1994 yit-functions.php:2002 yit-functions.php:2119
647
  msgid "Further actions"
648
  msgstr "Otras acciones"
649
 
650
- #: yit-plugin.php:206
651
  msgid "License"
652
  msgstr "Licencia"
653
 
@@ -676,13 +715,13 @@ msgctxt "Button text"
676
  msgid "Cancel"
677
  msgstr "Cancelar"
678
 
679
- #: includes/class-yit-assets.php:148 yit-functions.php:1965
680
  msgctxt "Trash confirmation action"
681
  msgid "Yes, move to trash"
682
  msgstr "Sí, mover a la papelera"
683
 
684
- #: includes/class-yit-assets.php:152 yit-functions.php:1983
685
- #: yit-functions.php:2110
686
  msgctxt "Delete confirmation action"
687
  msgid "Yes, delete"
688
  msgstr "Si, borrar"
@@ -892,82 +931,82 @@ msgctxt "Help tab submit ticket button"
892
  msgid "Submit a ticket"
893
  msgstr "Enviar ticket"
894
 
895
- #: yit-functions.php:1908
896
  msgctxt "Post action"
897
  msgid "Preview"
898
  msgstr "Previsualizar"
899
 
900
- #: yit-functions.php:1917
901
  msgctxt "Post action"
902
  msgid "View"
903
  msgstr "Ver"
904
 
905
- #: yit-functions.php:1928
906
  msgctxt "Post action"
907
  msgid "Edit"
908
  msgstr "Editar"
909
 
910
- #: yit-functions.php:1936
911
  msgctxt "Post action"
912
  msgid "Duplicate"
913
  msgstr "Duplicar"
914
 
915
- #: yit-functions.php:1948
916
  msgctxt "Post action"
917
  msgid "Restore"
918
  msgstr "Restaurar"
919
 
920
- #: yit-functions.php:1956
921
  msgctxt "Post action"
922
  msgid "Trash"
923
  msgstr "A la papelera"
924
 
925
- #: yit-functions.php:1973
926
  msgctxt "Post action"
927
  msgid "Delete Permanently"
928
  msgstr "Borrar permanentemente"
929
 
930
- #: yit-functions.php:2070
931
  msgctxt "Term action"
932
  msgid "View"
933
  msgstr "Ver"
934
 
935
- #: yit-functions.php:2080
936
  msgctxt "Term action"
937
  msgid "Edit"
938
  msgstr "Editar"
939
 
940
- #: yit-functions.php:2088
941
  msgctxt "Term action"
942
  msgid "Duplicate"
943
  msgstr "Duplicar"
944
 
945
- #: yit-functions.php:2101
946
  msgctxt "Term action"
947
  msgid "Delete"
948
  msgstr "Borrar"
949
 
950
- #: yit-plugin.php:85
951
  msgctxt "Plugin Row Meta"
952
  msgid "Live Demo"
953
  msgstr "Demostración en vivo"
954
 
955
- #: yit-plugin.php:89
956
  msgctxt "Plugin Row Meta"
957
  msgid "Documentation"
958
  msgstr "Documentación"
959
 
960
- #: yit-plugin.php:93
961
  msgctxt "Plugin Row Meta"
962
  msgid "Support"
963
  msgstr "Soporte"
964
 
965
- #: yit-plugin.php:97
966
  msgctxt "Plugin Row Meta"
967
  msgid "Premium version"
968
  msgstr "Versión premium"
969
 
970
- #: yit-plugin.php:202
971
  msgctxt "Action links"
972
  msgid "Settings"
973
  msgstr "Ajustes"
4
  msgstr ""
5
  "Project-Id-Version: YITH Framework\n"
6
  "Report-Msgid-Bugs-To: YITH <plugins@yithemes.com>\n"
7
+ "POT-Creation-Date: 2021-10-11 07:35:19+00:00\n"
8
+ "PO-Revision-Date: 2021-09-28 13:56:41+0000\n"
9
  "Language: es\n"
10
  "MIME-Version: 1.0\n"
11
  "Content-Type: text/plain; charset=UTF-8\n"
13
  "Plural-Forms: nplurals=2; plural=n != 1;\n"
14
  "X-Generator: GlotPress/3.0.0-alpha.2\n"
15
 
16
+ #: includes/class-yit-assets.php:146 yit-functions.php:1979
17
  msgid "Confirm trash"
18
  msgstr "Confirmar el traslado a la papelera"
19
 
23
  "¿Estás seguro de que quieres mover a la papelera los elementos seleccionados?"
24
 
25
  #: includes/class-yit-assets.php:149 includes/class-yit-assets.php:153
26
+ #: templates/sysinfo/tabs/main.php:42 templates/sysinfo/tabs/main.php:50
27
+ #: yit-functions.php:1981 yit-functions.php:1999
28
  msgid "No"
29
  msgstr "No"
30
 
31
+ #: includes/class-yit-assets.php:150 yit-functions.php:1997
32
+ #: yit-functions.php:2125
33
  msgid "Confirm delete"
34
  msgstr "Confirmar el borrado"
35
 
37
  msgid "Are you sure you want to delete the selected items?"
38
  msgstr "¿Estás seguro de que quieres borrar los elementos seleccionados?"
39
 
40
+ #: includes/class-yit-assets.php:151 yit-functions.php:1913
41
+ #: yit-functions.php:2073
42
  msgid ""
43
  "This action cannot be undone and you will not be able to recover this data."
44
  msgstr "Esta acción no se puede revertir y no podrá recuperar estos datos."
472
  msgid "Preview:"
473
  msgstr "Vista previa:"
474
 
475
+ #: templates/fields/icons.php:78
476
  msgid "Set Default"
477
  msgstr "Establecer predeterminado"
478
 
596
  msgid "Copy Code"
597
  msgstr "Copiar código"
598
 
599
+ #: templates/sysinfo/tabs/main.php:17
600
  msgid "Site Info"
601
  msgstr "Información del sitio"
602
 
603
+ #: templates/sysinfo/tabs/main.php:22
604
  msgid "Site URL"
605
  msgstr "URL del sitio"
606
 
607
+ #: templates/sysinfo/tabs/main.php:31
608
  msgid "Output IP Address"
609
  msgstr "Dirección IP de salida"
610
 
611
+ #: templates/sysinfo/tabs/main.php:39
612
  msgid "Defined WP_CACHE"
613
  msgstr "WP_CACHE definido"
614
 
615
+ #: templates/sysinfo/tabs/main.php:42 templates/sysinfo/tabs/main.php:50
616
  msgid "Yes"
617
  msgstr "Sí"
618
 
619
+ #: templates/sysinfo/tabs/main.php:47
620
  msgid "External object cache"
621
  msgstr "Caché objeto externo"
622
 
623
+ #: templates/sysinfo/tabs/main.php:55
624
  msgid "YITH Plugin Framework Version"
625
+ msgstr "Versión del YITH Plugin Framework "
626
 
627
  #. translators: %s is the name of the plugin that is loading the framework.
628
+ #: templates/sysinfo/tabs/main.php:64
629
  msgid "loaded by %s"
630
+ msgstr "cargado por %s"
631
 
632
+ #: templates/sysinfo/tabs/main.php:73
633
  msgid "Plugins Requirements"
634
  msgstr "Requerimientos de los plugins"
635
 
636
+ #: templates/sysinfo/tabs/main.php:108
637
+ msgid "Database Info"
638
+ msgstr "Información de la base de datos"
639
+
640
+ #: templates/sysinfo/tabs/main.php:113
641
+ msgid "MySQL version"
642
+ msgstr "Versión de MySQL"
643
+
644
+ #. Translators: %s: Codex link.
645
+ #: templates/sysinfo/tabs/main.php:123
646
+ msgid "WordPress recommends a minimum MySQL version of 5.6. See: %s"
647
+ msgstr "WordPress recomienda como versión mínima para MySQL la 5.6. Ver: %s"
648
+
649
+ #: templates/sysinfo/tabs/main.php:123
650
+ msgid "WordPress requirements"
651
+ msgstr "Requerimientos de WordPress"
652
+
653
+ #: templates/sysinfo/tabs/main.php:130
654
+ msgid "Total Database Size"
655
+ msgstr "Tamaño total de la base de datos:"
656
+
657
+ #: templates/sysinfo/tabs/main.php:138
658
+ msgid "Database Data Size"
659
+ msgstr "Tamaño de los datos en la base de datos:"
660
+
661
+ #: templates/sysinfo/tabs/main.php:146
662
+ msgid "Database Index Size"
663
+ msgstr "Tamaño del índice en la base de datos:"
664
+
665
+ #: templates/sysinfo/tabs/main.php:154
666
+ msgid "Database Free Size"
667
+ msgstr "Espacio libre en la base de datos:"
668
+
669
+ #. Translators: %1$f: Table size, %2$f: Index size, %3$f: Free size, %4$s
670
+ #. Engine.
671
+ #: templates/sysinfo/tabs/main.php:168
672
+ msgid "Data: %1$.2fMB | Index: %2$.2fMB | Free: %3$.2fMB | Engine: %4$s"
673
+ msgstr "Datos: %1$.2fMB | Índice: %2$.2fMB | Libre: %3$.2fMB | Motor: %4$s"
674
+
675
  #. translators: %s is the title of the post object.
676
+ #: yit-functions.php:1911
677
  msgid "Are you sure you want to move \"%s\" to trash?"
678
  msgstr "¿Estás seguro de que quieres mover \"%s\" a la papelera?"
679
 
680
  #. translators: %s is the title of the post object.
681
+ #: yit-functions.php:1913 yit-functions.php:2073
682
  msgid "Are you sure you want to delete \"%s\"?"
683
  msgstr "¿Estás seguro de que quieres borrar \"%s\"?"
684
 
685
+ #: yit-functions.php:2011 yit-functions.php:2019 yit-functions.php:2136
686
  msgid "Further actions"
687
  msgstr "Otras acciones"
688
 
689
+ #: yit-plugin.php:205
690
  msgid "License"
691
  msgstr "Licencia"
692
 
715
  msgid "Cancel"
716
  msgstr "Cancelar"
717
 
718
+ #: includes/class-yit-assets.php:148 yit-functions.php:1982
719
  msgctxt "Trash confirmation action"
720
  msgid "Yes, move to trash"
721
  msgstr "Sí, mover a la papelera"
722
 
723
+ #: includes/class-yit-assets.php:152 yit-functions.php:2000
724
+ #: yit-functions.php:2127
725
  msgctxt "Delete confirmation action"
726
  msgid "Yes, delete"
727
  msgstr "Si, borrar"
931
  msgid "Submit a ticket"
932
  msgstr "Enviar ticket"
933
 
934
+ #: yit-functions.php:1925
935
  msgctxt "Post action"
936
  msgid "Preview"
937
  msgstr "Previsualizar"
938
 
939
+ #: yit-functions.php:1934
940
  msgctxt "Post action"
941
  msgid "View"
942
  msgstr "Ver"
943
 
944
+ #: yit-functions.php:1945
945
  msgctxt "Post action"
946
  msgid "Edit"
947
  msgstr "Editar"
948
 
949
+ #: yit-functions.php:1953
950
  msgctxt "Post action"
951
  msgid "Duplicate"
952
  msgstr "Duplicar"
953
 
954
+ #: yit-functions.php:1965
955
  msgctxt "Post action"
956
  msgid "Restore"
957
  msgstr "Restaurar"
958
 
959
+ #: yit-functions.php:1973
960
  msgctxt "Post action"
961
  msgid "Trash"
962
  msgstr "A la papelera"
963
 
964
+ #: yit-functions.php:1990
965
  msgctxt "Post action"
966
  msgid "Delete Permanently"
967
  msgstr "Borrar permanentemente"
968
 
969
+ #: yit-functions.php:2087
970
  msgctxt "Term action"
971
  msgid "View"
972
  msgstr "Ver"
973
 
974
+ #: yit-functions.php:2097
975
  msgctxt "Term action"
976
  msgid "Edit"
977
  msgstr "Editar"
978
 
979
+ #: yit-functions.php:2105
980
  msgctxt "Term action"
981
  msgid "Duplicate"
982
  msgstr "Duplicar"
983
 
984
+ #: yit-functions.php:2118
985
  msgctxt "Term action"
986
  msgid "Delete"
987
  msgstr "Borrar"
988
 
989
+ #: yit-plugin.php:84
990
  msgctxt "Plugin Row Meta"
991
  msgid "Live Demo"
992
  msgstr "Demostración en vivo"
993
 
994
+ #: yit-plugin.php:88
995
  msgctxt "Plugin Row Meta"
996
  msgid "Documentation"
997
  msgstr "Documentación"
998
 
999
+ #: yit-plugin.php:92
1000
  msgctxt "Plugin Row Meta"
1001
  msgid "Support"
1002
  msgstr "Soporte"
1003
 
1004
+ #: yit-plugin.php:96
1005
  msgctxt "Plugin Row Meta"
1006
  msgid "Premium version"
1007
  msgstr "Versión premium"
1008
 
1009
+ #: yit-plugin.php:201
1010
  msgctxt "Action links"
1011
  msgid "Settings"
1012
  msgstr "Ajustes"
plugin-fw/languages/yith-plugin-fw-it_IT.mo CHANGED
Binary file
plugin-fw/languages/yith-plugin-fw-it_IT.po CHANGED
@@ -4,8 +4,8 @@ msgid ""
4
  msgstr ""
5
  "Project-Id-Version: YITH Framework\n"
6
  "Report-Msgid-Bugs-To: YITH <plugins@yithemes.com>\n"
7
- "POT-Creation-Date: 2021-09-24 08:04:51+00:00\n"
8
- "PO-Revision-Date: 2021-09-09 16:03:50+0000\n"
9
  "Language: it\n"
10
  "MIME-Version: 1.0\n"
11
  "Content-Type: text/plain; charset=UTF-8\n"
@@ -13,7 +13,7 @@ msgstr ""
13
  "Plural-Forms: nplurals=2; plural=n != 1;\n"
14
  "X-Generator: GlotPress/3.0.0-alpha.2\n"
15
 
16
- #: includes/class-yit-assets.php:146 yit-functions.php:1962
17
  msgid "Confirm trash"
18
  msgstr "Conferma eliminazione"
19
 
@@ -22,13 +22,13 @@ msgid "Are you sure you want to trash the selected items?"
22
  msgstr "Se sicuro di voler spostare nel cestino gli elementi selezionati?"
23
 
24
  #: includes/class-yit-assets.php:149 includes/class-yit-assets.php:153
25
- #: templates/sysinfo/tabs/main.php:41 templates/sysinfo/tabs/main.php:49
26
- #: yit-functions.php:1964 yit-functions.php:1982
27
  msgid "No"
28
  msgstr "No"
29
 
30
- #: includes/class-yit-assets.php:150 yit-functions.php:1980
31
- #: yit-functions.php:2108
32
  msgid "Confirm delete"
33
  msgstr "Conferma eliminazione"
34
 
@@ -36,8 +36,8 @@ msgstr "Conferma eliminazione"
36
  msgid "Are you sure you want to delete the selected items?"
37
  msgstr "Se sicuro di voler eliminare gli elementi selezionati?"
38
 
39
- #: includes/class-yit-assets.php:151 yit-functions.php:1896
40
- #: yit-functions.php:2056
41
  msgid ""
42
  "This action cannot be undone and you will not be able to recover this data."
43
  msgstr ""
@@ -470,7 +470,7 @@ msgstr "Personalizzato:"
470
  msgid "Preview:"
471
  msgstr "Anteprima:"
472
 
473
- #: templates/fields/icons.php:63
474
  msgid "Set Default"
475
  msgstr "Ripristina impostazioni iniziali"
476
 
@@ -596,58 +596,97 @@ msgstr "Copiato!"
596
  msgid "Copy Code"
597
  msgstr "Copia codice"
598
 
599
- #: templates/sysinfo/tabs/main.php:16
600
  msgid "Site Info"
601
  msgstr "Info sito"
602
 
603
- #: templates/sysinfo/tabs/main.php:21
604
  msgid "Site URL"
605
  msgstr "URL del sito"
606
 
607
- #: templates/sysinfo/tabs/main.php:30
608
  msgid "Output IP Address"
609
  msgstr "Indirizzo IP di output"
610
 
611
- #: templates/sysinfo/tabs/main.php:38
612
  msgid "Defined WP_CACHE"
613
  msgstr "Defined WP_CACHE"
614
 
615
- #: templates/sysinfo/tabs/main.php:41 templates/sysinfo/tabs/main.php:49
616
  msgid "Yes"
617
  msgstr "Sì"
618
 
619
- #: templates/sysinfo/tabs/main.php:46
620
  msgid "External object cache"
621
  msgstr "External object cache"
622
 
623
- #: templates/sysinfo/tabs/main.php:54
624
  msgid "YITH Plugin Framework Version"
625
- msgstr ""
626
 
627
  #. translators: %s is the name of the plugin that is loading the framework.
628
- #: templates/sysinfo/tabs/main.php:63
629
  msgid "loaded by %s"
630
- msgstr ""
631
 
632
- #: templates/sysinfo/tabs/main.php:72
633
  msgid "Plugins Requirements"
634
  msgstr "Requisiti plugin"
635
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
636
  #. translators: %s is the title of the post object.
637
- #: yit-functions.php:1894
638
  msgid "Are you sure you want to move \"%s\" to trash?"
639
  msgstr "Sei sicuro di voler spostare \"%s\" nel cestino?"
640
 
641
  #. translators: %s is the title of the post object.
642
- #: yit-functions.php:1896 yit-functions.php:2056
643
  msgid "Are you sure you want to delete \"%s\"?"
644
  msgstr "Sei sicuro di voler eliminare \"%s\"?"
645
 
646
- #: yit-functions.php:1994 yit-functions.php:2002 yit-functions.php:2119
647
  msgid "Further actions"
648
  msgstr "Altre azioni"
649
 
650
- #: yit-plugin.php:206
651
  msgid "License"
652
  msgstr "Chiave di licenza"
653
 
@@ -676,13 +715,13 @@ msgctxt "Button text"
676
  msgid "Cancel"
677
  msgstr "Annulla"
678
 
679
- #: includes/class-yit-assets.php:148 yit-functions.php:1965
680
  msgctxt "Trash confirmation action"
681
  msgid "Yes, move to trash"
682
  msgstr "Sì, sposta nel cestino"
683
 
684
- #: includes/class-yit-assets.php:152 yit-functions.php:1983
685
- #: yit-functions.php:2110
686
  msgctxt "Delete confirmation action"
687
  msgid "Yes, delete"
688
  msgstr "Sì, elimina"
@@ -894,82 +933,82 @@ msgctxt "Help tab submit ticket button"
894
  msgid "Submit a ticket"
895
  msgstr "Invia un ticket"
896
 
897
- #: yit-functions.php:1908
898
  msgctxt "Post action"
899
  msgid "Preview"
900
  msgstr "Anteprima"
901
 
902
- #: yit-functions.php:1917
903
  msgctxt "Post action"
904
  msgid "View"
905
  msgstr "Visualizza"
906
 
907
- #: yit-functions.php:1928
908
  msgctxt "Post action"
909
  msgid "Edit"
910
  msgstr "Modifica"
911
 
912
- #: yit-functions.php:1936
913
  msgctxt "Post action"
914
  msgid "Duplicate"
915
  msgstr "Duplica"
916
 
917
- #: yit-functions.php:1948
918
  msgctxt "Post action"
919
  msgid "Restore"
920
  msgstr "Ripristina"
921
 
922
- #: yit-functions.php:1956
923
  msgctxt "Post action"
924
  msgid "Trash"
925
  msgstr "Cestina"
926
 
927
- #: yit-functions.php:1973
928
  msgctxt "Post action"
929
  msgid "Delete Permanently"
930
  msgstr "Cancella definitivamente"
931
 
932
- #: yit-functions.php:2070
933
  msgctxt "Term action"
934
  msgid "View"
935
  msgstr "Visualizza"
936
 
937
- #: yit-functions.php:2080
938
  msgctxt "Term action"
939
  msgid "Edit"
940
  msgstr "Modifica"
941
 
942
- #: yit-functions.php:2088
943
  msgctxt "Term action"
944
  msgid "Duplicate"
945
  msgstr "Duplica"
946
 
947
- #: yit-functions.php:2101
948
  msgctxt "Term action"
949
  msgid "Delete"
950
  msgstr "Elimina"
951
 
952
- #: yit-plugin.php:85
953
  msgctxt "Plugin Row Meta"
954
  msgid "Live Demo"
955
  msgstr "Live Demo"
956
 
957
- #: yit-plugin.php:89
958
  msgctxt "Plugin Row Meta"
959
  msgid "Documentation"
960
  msgstr "Documentazione"
961
 
962
- #: yit-plugin.php:93
963
  msgctxt "Plugin Row Meta"
964
  msgid "Support"
965
  msgstr "Assistenza"
966
 
967
- #: yit-plugin.php:97
968
  msgctxt "Plugin Row Meta"
969
  msgid "Premium version"
970
  msgstr "Versione premium"
971
 
972
- #: yit-plugin.php:202
973
  msgctxt "Action links"
974
  msgid "Settings"
975
  msgstr "Impostazioni"
4
  msgstr ""
5
  "Project-Id-Version: YITH Framework\n"
6
  "Report-Msgid-Bugs-To: YITH <plugins@yithemes.com>\n"
7
+ "POT-Creation-Date: 2021-10-11 07:35:19+00:00\n"
8
+ "PO-Revision-Date: 2021-09-28 14:05:29+0000\n"
9
  "Language: it\n"
10
  "MIME-Version: 1.0\n"
11
  "Content-Type: text/plain; charset=UTF-8\n"
13
  "Plural-Forms: nplurals=2; plural=n != 1;\n"
14
  "X-Generator: GlotPress/3.0.0-alpha.2\n"
15
 
16
+ #: includes/class-yit-assets.php:146 yit-functions.php:1979
17
  msgid "Confirm trash"
18
  msgstr "Conferma eliminazione"
19
 
22
  msgstr "Se sicuro di voler spostare nel cestino gli elementi selezionati?"
23
 
24
  #: includes/class-yit-assets.php:149 includes/class-yit-assets.php:153
25
+ #: templates/sysinfo/tabs/main.php:42 templates/sysinfo/tabs/main.php:50
26
+ #: yit-functions.php:1981 yit-functions.php:1999
27
  msgid "No"
28
  msgstr "No"
29
 
30
+ #: includes/class-yit-assets.php:150 yit-functions.php:1997
31
+ #: yit-functions.php:2125
32
  msgid "Confirm delete"
33
  msgstr "Conferma eliminazione"
34
 
36
  msgid "Are you sure you want to delete the selected items?"
37
  msgstr "Se sicuro di voler eliminare gli elementi selezionati?"
38
 
39
+ #: includes/class-yit-assets.php:151 yit-functions.php:1913
40
+ #: yit-functions.php:2073
41
  msgid ""
42
  "This action cannot be undone and you will not be able to recover this data."
43
  msgstr ""
470
  msgid "Preview:"
471
  msgstr "Anteprima:"
472
 
473
+ #: templates/fields/icons.php:78
474
  msgid "Set Default"
475
  msgstr "Ripristina impostazioni iniziali"
476
 
596
  msgid "Copy Code"
597
  msgstr "Copia codice"
598
 
599
+ #: templates/sysinfo/tabs/main.php:17
600
  msgid "Site Info"
601
  msgstr "Info sito"
602
 
603
+ #: templates/sysinfo/tabs/main.php:22
604
  msgid "Site URL"
605
  msgstr "URL del sito"
606
 
607
+ #: templates/sysinfo/tabs/main.php:31
608
  msgid "Output IP Address"
609
  msgstr "Indirizzo IP di output"
610
 
611
+ #: templates/sysinfo/tabs/main.php:39
612
  msgid "Defined WP_CACHE"
613
  msgstr "Defined WP_CACHE"
614
 
615
+ #: templates/sysinfo/tabs/main.php:42 templates/sysinfo/tabs/main.php:50
616
  msgid "Yes"
617
  msgstr "Sì"
618
 
619
+ #: templates/sysinfo/tabs/main.php:47
620
  msgid "External object cache"
621
  msgstr "External object cache"
622
 
623
+ #: templates/sysinfo/tabs/main.php:55
624
  msgid "YITH Plugin Framework Version"
625
+ msgstr "YITH Plugin Framework Version"
626
 
627
  #. translators: %s is the name of the plugin that is loading the framework.
628
+ #: templates/sysinfo/tabs/main.php:64
629
  msgid "loaded by %s"
630
+ msgstr "caricato da %s"
631
 
632
+ #: templates/sysinfo/tabs/main.php:73
633
  msgid "Plugins Requirements"
634
  msgstr "Requisiti plugin"
635
 
636
+ #: templates/sysinfo/tabs/main.php:108
637
+ msgid "Database Info"
638
+ msgstr "Info database"
639
+
640
+ #: templates/sysinfo/tabs/main.php:113
641
+ msgid "MySQL version"
642
+ msgstr "Versione MySQL"
643
+
644
+ #. Translators: %s: Codex link.
645
+ #: templates/sysinfo/tabs/main.php:123
646
+ msgid "WordPress recommends a minimum MySQL version of 5.6. See: %s"
647
+ msgstr "WordPress consiglia una versione minima 5.6 di MySQL. Vedi: %s"
648
+
649
+ #: templates/sysinfo/tabs/main.php:123
650
+ msgid "WordPress requirements"
651
+ msgstr "Requisiti WordPress"
652
+
653
+ #: templates/sysinfo/tabs/main.php:130
654
+ msgid "Total Database Size"
655
+ msgstr "Dimensione totale database"
656
+
657
+ #: templates/sysinfo/tabs/main.php:138
658
+ msgid "Database Data Size"
659
+ msgstr "Dimensione dati database"
660
+
661
+ #: templates/sysinfo/tabs/main.php:146
662
+ msgid "Database Index Size"
663
+ msgstr "Dimensione indice database"
664
+
665
+ #: templates/sysinfo/tabs/main.php:154
666
+ msgid "Database Free Size"
667
+ msgstr "Dimensione spazio libero database"
668
+
669
+ #. Translators: %1$f: Table size, %2$f: Index size, %3$f: Free size, %4$s
670
+ #. Engine.
671
+ #: templates/sysinfo/tabs/main.php:168
672
+ msgid "Data: %1$.2fMB | Index: %2$.2fMB | Free: %3$.2fMB | Engine: %4$s"
673
+ msgstr "Dati: %1$.2fMB | Indice: %2$.2fMB | Libero: %3$.2fMB | Motore: %4$s"
674
+
675
  #. translators: %s is the title of the post object.
676
+ #: yit-functions.php:1911
677
  msgid "Are you sure you want to move \"%s\" to trash?"
678
  msgstr "Sei sicuro di voler spostare \"%s\" nel cestino?"
679
 
680
  #. translators: %s is the title of the post object.
681
+ #: yit-functions.php:1913 yit-functions.php:2073
682
  msgid "Are you sure you want to delete \"%s\"?"
683
  msgstr "Sei sicuro di voler eliminare \"%s\"?"
684
 
685
+ #: yit-functions.php:2011 yit-functions.php:2019 yit-functions.php:2136
686
  msgid "Further actions"
687
  msgstr "Altre azioni"
688
 
689
+ #: yit-plugin.php:205
690
  msgid "License"
691
  msgstr "Chiave di licenza"
692
 
715
  msgid "Cancel"
716
  msgstr "Annulla"
717
 
718
+ #: includes/class-yit-assets.php:148 yit-functions.php:1982
719
  msgctxt "Trash confirmation action"
720
  msgid "Yes, move to trash"
721
  msgstr "Sì, sposta nel cestino"
722
 
723
+ #: includes/class-yit-assets.php:152 yit-functions.php:2000
724
+ #: yit-functions.php:2127
725
  msgctxt "Delete confirmation action"
726
  msgid "Yes, delete"
727
  msgstr "Sì, elimina"
933
  msgid "Submit a ticket"
934
  msgstr "Invia un ticket"
935
 
936
+ #: yit-functions.php:1925
937
  msgctxt "Post action"
938
  msgid "Preview"
939
  msgstr "Anteprima"
940
 
941
+ #: yit-functions.php:1934
942
  msgctxt "Post action"
943
  msgid "View"
944
  msgstr "Visualizza"
945
 
946
+ #: yit-functions.php:1945
947
  msgctxt "Post action"
948
  msgid "Edit"
949
  msgstr "Modifica"
950
 
951
+ #: yit-functions.php:1953
952
  msgctxt "Post action"
953
  msgid "Duplicate"
954
  msgstr "Duplica"
955
 
956
+ #: yit-functions.php:1965
957
  msgctxt "Post action"
958
  msgid "Restore"
959
  msgstr "Ripristina"
960
 
961
+ #: yit-functions.php:1973
962
  msgctxt "Post action"
963
  msgid "Trash"
964
  msgstr "Cestina"
965
 
966
+ #: yit-functions.php:1990
967
  msgctxt "Post action"
968
  msgid "Delete Permanently"
969
  msgstr "Cancella definitivamente"
970
 
971
+ #: yit-functions.php:2087
972
  msgctxt "Term action"
973
  msgid "View"
974
  msgstr "Visualizza"
975
 
976
+ #: yit-functions.php:2097
977
  msgctxt "Term action"
978
  msgid "Edit"
979
  msgstr "Modifica"
980
 
981
+ #: yit-functions.php:2105
982
  msgctxt "Term action"
983
  msgid "Duplicate"
984
  msgstr "Duplica"
985
 
986
+ #: yit-functions.php:2118
987
  msgctxt "Term action"
988
  msgid "Delete"
989
  msgstr "Elimina"
990
 
991
+ #: yit-plugin.php:84
992
  msgctxt "Plugin Row Meta"
993
  msgid "Live Demo"
994
  msgstr "Live Demo"
995
 
996
+ #: yit-plugin.php:88
997
  msgctxt "Plugin Row Meta"
998
  msgid "Documentation"
999
  msgstr "Documentazione"
1000
 
1001
+ #: yit-plugin.php:92
1002
  msgctxt "Plugin Row Meta"
1003
  msgid "Support"
1004
  msgstr "Assistenza"
1005
 
1006
+ #: yit-plugin.php:96
1007
  msgctxt "Plugin Row Meta"
1008
  msgid "Premium version"
1009
  msgstr "Versione premium"
1010
 
1011
+ #: yit-plugin.php:201
1012
  msgctxt "Action links"
1013
  msgid "Settings"
1014
  msgstr "Impostazioni"
plugin-fw/languages/yith-plugin-fw-nl_NL.mo CHANGED
Binary file
plugin-fw/languages/yith-plugin-fw-nl_NL.po CHANGED
@@ -4,8 +4,8 @@ msgid ""
4
  msgstr ""
5
  "Project-Id-Version: YITH Framework\n"
6
  "Report-Msgid-Bugs-To: YITH <plugins@yithemes.com>\n"
7
- "POT-Creation-Date: 2021-09-24 08:04:51+00:00\n"
8
- "PO-Revision-Date: 2021-07-13 10:29:10+0000\n"
9
  "Language: nl\n"
10
  "MIME-Version: 1.0\n"
11
  "Content-Type: text/plain; charset=UTF-8\n"
@@ -13,7 +13,7 @@ msgstr ""
13
  "Plural-Forms: nplurals=2; plural=n != 1;\n"
14
  "X-Generator: GlotPress/3.0.0-alpha.2\n"
15
 
16
- #: includes/class-yit-assets.php:146 yit-functions.php:1962
17
  msgid "Confirm trash"
18
  msgstr "Verplaatsen naar prullenbak bevestigen"
19
 
@@ -24,13 +24,13 @@ msgstr ""
24
  "verplaatsen?"
25
 
26
  #: includes/class-yit-assets.php:149 includes/class-yit-assets.php:153
27
- #: templates/sysinfo/tabs/main.php:41 templates/sysinfo/tabs/main.php:49
28
- #: yit-functions.php:1964 yit-functions.php:1982
29
  msgid "No"
30
  msgstr "Nee"
31
 
32
- #: includes/class-yit-assets.php:150 yit-functions.php:1980
33
- #: yit-functions.php:2108
34
  msgid "Confirm delete"
35
  msgstr "Verwijderen bevestigen"
36
 
@@ -38,8 +38,8 @@ msgstr "Verwijderen bevestigen"
38
  msgid "Are you sure you want to delete the selected items?"
39
  msgstr "Weet je zeker dat je de geselecteerde items wilt verwijderen?"
40
 
41
- #: includes/class-yit-assets.php:151 yit-functions.php:1896
42
- #: yit-functions.php:2056
43
  msgid ""
44
  "This action cannot be undone and you will not be able to recover this data."
45
  msgstr ""
@@ -471,7 +471,7 @@ msgstr "Aangepast:"
471
  msgid "Preview:"
472
  msgstr "Voorbeeld:"
473
 
474
- #: templates/fields/icons.php:63
475
  msgid "Set Default"
476
  msgstr "Op standaard instellen"
477
 
@@ -596,58 +596,97 @@ msgstr "Gekopieerd!"
596
  msgid "Copy Code"
597
  msgstr "Code kopiëren"
598
 
599
- #: templates/sysinfo/tabs/main.php:16
600
  msgid "Site Info"
601
  msgstr "Site informatie"
602
 
603
- #: templates/sysinfo/tabs/main.php:21
604
  msgid "Site URL"
605
  msgstr "Site URL"
606
 
607
- #: templates/sysinfo/tabs/main.php:30
608
  msgid "Output IP Address"
609
  msgstr "Output IP Adres"
610
 
611
- #: templates/sysinfo/tabs/main.php:38
612
  msgid "Defined WP_CACHE"
613
  msgstr "Gedefinieerde WP_CACHE"
614
 
615
- #: templates/sysinfo/tabs/main.php:41 templates/sysinfo/tabs/main.php:49
616
  msgid "Yes"
617
  msgstr "Ja"
618
 
619
- #: templates/sysinfo/tabs/main.php:46
620
  msgid "External object cache"
621
  msgstr "Externe object cache"
622
 
623
- #: templates/sysinfo/tabs/main.php:54
624
  msgid "YITH Plugin Framework Version"
625
- msgstr ""
626
 
627
  #. translators: %s is the name of the plugin that is loading the framework.
628
- #: templates/sysinfo/tabs/main.php:63
629
  msgid "loaded by %s"
630
- msgstr ""
631
 
632
- #: templates/sysinfo/tabs/main.php:72
633
  msgid "Plugins Requirements"
634
  msgstr "Plugin benodigdheden"
635
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
636
  #. translators: %s is the title of the post object.
637
- #: yit-functions.php:1894
638
  msgid "Are you sure you want to move \"%s\" to trash?"
639
  msgstr "Weet je zeker dat je \"%s\" naar de prullenbak wilt verplaatsen?"
640
 
641
  #. translators: %s is the title of the post object.
642
- #: yit-functions.php:1896 yit-functions.php:2056
643
  msgid "Are you sure you want to delete \"%s\"?"
644
  msgstr "Weet je zeker dat je \"%s\" wilt verwijderen?"
645
 
646
- #: yit-functions.php:1994 yit-functions.php:2002 yit-functions.php:2119
647
  msgid "Further actions"
648
  msgstr "Verdere acties"
649
 
650
- #: yit-plugin.php:206
651
  msgid "License"
652
  msgstr "Licentie"
653
 
@@ -676,13 +715,13 @@ msgctxt "Button text"
676
  msgid "Cancel"
677
  msgstr "Annuleren"
678
 
679
- #: includes/class-yit-assets.php:148 yit-functions.php:1965
680
  msgctxt "Trash confirmation action"
681
  msgid "Yes, move to trash"
682
  msgstr "Ja, verplaatsen naar prullenbak"
683
 
684
- #: includes/class-yit-assets.php:152 yit-functions.php:1983
685
- #: yit-functions.php:2110
686
  msgctxt "Delete confirmation action"
687
  msgid "Yes, delete"
688
  msgstr "Ja, verwijderen"
@@ -893,82 +932,82 @@ msgctxt "Help tab submit ticket button"
893
  msgid "Submit a ticket"
894
  msgstr "Verstuur een ticket"
895
 
896
- #: yit-functions.php:1908
897
  msgctxt "Post action"
898
  msgid "Preview"
899
  msgstr "Voorbeeld"
900
 
901
- #: yit-functions.php:1917
902
  msgctxt "Post action"
903
  msgid "View"
904
  msgstr "Bekijken"
905
 
906
- #: yit-functions.php:1928
907
  msgctxt "Post action"
908
  msgid "Edit"
909
  msgstr "Bewerken"
910
 
911
- #: yit-functions.php:1936
912
  msgctxt "Post action"
913
  msgid "Duplicate"
914
  msgstr "Dupliceren"
915
 
916
- #: yit-functions.php:1948
917
  msgctxt "Post action"
918
  msgid "Restore"
919
  msgstr "Herstellen"
920
 
921
- #: yit-functions.php:1956
922
  msgctxt "Post action"
923
  msgid "Trash"
924
  msgstr "Prullenbak"
925
 
926
- #: yit-functions.php:1973
927
  msgctxt "Post action"
928
  msgid "Delete Permanently"
929
  msgstr "Permanent verijwderen"
930
 
931
- #: yit-functions.php:2070
932
  msgctxt "Term action"
933
  msgid "View"
934
  msgstr "Bekijken"
935
 
936
- #: yit-functions.php:2080
937
  msgctxt "Term action"
938
  msgid "Edit"
939
  msgstr "Bewerken"
940
 
941
- #: yit-functions.php:2088
942
  msgctxt "Term action"
943
  msgid "Duplicate"
944
  msgstr "Dupliceren"
945
 
946
- #: yit-functions.php:2101
947
  msgctxt "Term action"
948
  msgid "Delete"
949
  msgstr "Verwijderen"
950
 
951
- #: yit-plugin.php:85
952
  msgctxt "Plugin Row Meta"
953
  msgid "Live Demo"
954
  msgstr "Live Demo"
955
 
956
- #: yit-plugin.php:89
957
  msgctxt "Plugin Row Meta"
958
  msgid "Documentation"
959
  msgstr "Documentatie"
960
 
961
- #: yit-plugin.php:93
962
  msgctxt "Plugin Row Meta"
963
  msgid "Support"
964
  msgstr "Ondersteuning"
965
 
966
- #: yit-plugin.php:97
967
  msgctxt "Plugin Row Meta"
968
  msgid "Premium version"
969
  msgstr "Premium versie"
970
 
971
- #: yit-plugin.php:202
972
  msgctxt "Action links"
973
  msgid "Settings"
974
  msgstr "Instellingen"
4
  msgstr ""
5
  "Project-Id-Version: YITH Framework\n"
6
  "Report-Msgid-Bugs-To: YITH <plugins@yithemes.com>\n"
7
+ "POT-Creation-Date: 2021-10-11 07:35:19+00:00\n"
8
+ "PO-Revision-Date: 2021-09-29 11:02:22+0000\n"
9
  "Language: nl\n"
10
  "MIME-Version: 1.0\n"
11
  "Content-Type: text/plain; charset=UTF-8\n"
13
  "Plural-Forms: nplurals=2; plural=n != 1;\n"
14
  "X-Generator: GlotPress/3.0.0-alpha.2\n"
15
 
16
+ #: includes/class-yit-assets.php:146 yit-functions.php:1979
17
  msgid "Confirm trash"
18
  msgstr "Verplaatsen naar prullenbak bevestigen"
19
 
24
  "verplaatsen?"
25
 
26
  #: includes/class-yit-assets.php:149 includes/class-yit-assets.php:153
27
+ #: templates/sysinfo/tabs/main.php:42 templates/sysinfo/tabs/main.php:50
28
+ #: yit-functions.php:1981 yit-functions.php:1999
29
  msgid "No"
30
  msgstr "Nee"
31
 
32
+ #: includes/class-yit-assets.php:150 yit-functions.php:1997
33
+ #: yit-functions.php:2125
34
  msgid "Confirm delete"
35
  msgstr "Verwijderen bevestigen"
36
 
38
  msgid "Are you sure you want to delete the selected items?"
39
  msgstr "Weet je zeker dat je de geselecteerde items wilt verwijderen?"
40
 
41
+ #: includes/class-yit-assets.php:151 yit-functions.php:1913
42
+ #: yit-functions.php:2073
43
  msgid ""
44
  "This action cannot be undone and you will not be able to recover this data."
45
  msgstr ""
471
  msgid "Preview:"
472
  msgstr "Voorbeeld:"
473
 
474
+ #: templates/fields/icons.php:78
475
  msgid "Set Default"
476
  msgstr "Op standaard instellen"
477
 
596
  msgid "Copy Code"
597
  msgstr "Code kopiëren"
598
 
599
+ #: templates/sysinfo/tabs/main.php:17
600
  msgid "Site Info"
601
  msgstr "Site informatie"
602
 
603
+ #: templates/sysinfo/tabs/main.php:22
604
  msgid "Site URL"
605
  msgstr "Site URL"
606
 
607
+ #: templates/sysinfo/tabs/main.php:31
608
  msgid "Output IP Address"
609
  msgstr "Output IP Adres"
610
 
611
+ #: templates/sysinfo/tabs/main.php:39
612
  msgid "Defined WP_CACHE"
613
  msgstr "Gedefinieerde WP_CACHE"
614
 
615
+ #: templates/sysinfo/tabs/main.php:42 templates/sysinfo/tabs/main.php:50
616
  msgid "Yes"
617
  msgstr "Ja"
618
 
619
+ #: templates/sysinfo/tabs/main.php:47
620
  msgid "External object cache"
621
  msgstr "Externe object cache"
622
 
623
+ #: templates/sysinfo/tabs/main.php:55
624
  msgid "YITH Plugin Framework Version"
625
+ msgstr "YITH Plugin Framework Versie"
626
 
627
  #. translators: %s is the name of the plugin that is loading the framework.
628
+ #: templates/sysinfo/tabs/main.php:64
629
  msgid "loaded by %s"
630
+ msgstr "geladen door %s"
631
 
632
+ #: templates/sysinfo/tabs/main.php:73
633
  msgid "Plugins Requirements"
634
  msgstr "Plugin benodigdheden"
635
 
636
+ #: templates/sysinfo/tabs/main.php:108
637
+ msgid "Database Info"
638
+ msgstr "Database Info"
639
+
640
+ #: templates/sysinfo/tabs/main.php:113
641
+ msgid "MySQL version"
642
+ msgstr "MySQL versie"
643
+
644
+ #. Translators: %s: Codex link.
645
+ #: templates/sysinfo/tabs/main.php:123
646
+ msgid "WordPress recommends a minimum MySQL version of 5.6. See: %s"
647
+ msgstr "WordPress raadt een minimale MySQL versie aan van 5.6. Bekijk: %s"
648
+
649
+ #: templates/sysinfo/tabs/main.php:123
650
+ msgid "WordPress requirements"
651
+ msgstr "WordPress vereisten"
652
+
653
+ #: templates/sysinfo/tabs/main.php:130
654
+ msgid "Total Database Size"
655
+ msgstr "Totale Database grootte"
656
+
657
+ #: templates/sysinfo/tabs/main.php:138
658
+ msgid "Database Data Size"
659
+ msgstr "Database Data grootte"
660
+
661
+ #: templates/sysinfo/tabs/main.php:146
662
+ msgid "Database Index Size"
663
+ msgstr "Database Index grootte"
664
+
665
+ #: templates/sysinfo/tabs/main.php:154
666
+ msgid "Database Free Size"
667
+ msgstr "Database gratis grootte"
668
+
669
+ #. Translators: %1$f: Table size, %2$f: Index size, %3$f: Free size, %4$s
670
+ #. Engine.
671
+ #: templates/sysinfo/tabs/main.php:168
672
+ msgid "Data: %1$.2fMB | Index: %2$.2fMB | Free: %3$.2fMB | Engine: %4$s"
673
+ msgstr "Data: %1$.2fMB | Index: %2$.2fMB | Free: %3$.2fMB | Engine: %4$s"
674
+
675
  #. translators: %s is the title of the post object.
676
+ #: yit-functions.php:1911
677
  msgid "Are you sure you want to move \"%s\" to trash?"
678
  msgstr "Weet je zeker dat je \"%s\" naar de prullenbak wilt verplaatsen?"
679
 
680
  #. translators: %s is the title of the post object.
681
+ #: yit-functions.php:1913 yit-functions.php:2073
682
  msgid "Are you sure you want to delete \"%s\"?"
683
  msgstr "Weet je zeker dat je \"%s\" wilt verwijderen?"
684
 
685
+ #: yit-functions.php:2011 yit-functions.php:2019 yit-functions.php:2136
686
  msgid "Further actions"
687
  msgstr "Verdere acties"
688
 
689
+ #: yit-plugin.php:205
690
  msgid "License"
691
  msgstr "Licentie"
692
 
715
  msgid "Cancel"
716
  msgstr "Annuleren"
717
 
718
+ #: includes/class-yit-assets.php:148 yit-functions.php:1982
719
  msgctxt "Trash confirmation action"
720
  msgid "Yes, move to trash"
721
  msgstr "Ja, verplaatsen naar prullenbak"
722
 
723
+ #: includes/class-yit-assets.php:152 yit-functions.php:2000
724
+ #: yit-functions.php:2127
725
  msgctxt "Delete confirmation action"
726
  msgid "Yes, delete"
727
  msgstr "Ja, verwijderen"
932
  msgid "Submit a ticket"
933
  msgstr "Verstuur een ticket"
934
 
935
+ #: yit-functions.php:1925
936
  msgctxt "Post action"
937
  msgid "Preview"
938
  msgstr "Voorbeeld"
939
 
940
+ #: yit-functions.php:1934
941
  msgctxt "Post action"
942
  msgid "View"
943
  msgstr "Bekijken"
944
 
945
+ #: yit-functions.php:1945
946
  msgctxt "Post action"
947
  msgid "Edit"
948
  msgstr "Bewerken"
949
 
950
+ #: yit-functions.php:1953
951
  msgctxt "Post action"
952
  msgid "Duplicate"
953
  msgstr "Dupliceren"
954
 
955
+ #: yit-functions.php:1965
956
  msgctxt "Post action"
957
  msgid "Restore"
958
  msgstr "Herstellen"
959
 
960
+ #: yit-functions.php:1973
961
  msgctxt "Post action"
962
  msgid "Trash"
963
  msgstr "Prullenbak"
964
 
965
+ #: yit-functions.php:1990
966
  msgctxt "Post action"
967
  msgid "Delete Permanently"
968
  msgstr "Permanent verijwderen"
969
 
970
+ #: yit-functions.php:2087
971
  msgctxt "Term action"
972
  msgid "View"
973
  msgstr "Bekijken"
974
 
975
+ #: yit-functions.php:2097
976
  msgctxt "Term action"
977
  msgid "Edit"
978
  msgstr "Bewerken"
979
 
980
+ #: yit-functions.php:2105
981
  msgctxt "Term action"
982
  msgid "Duplicate"
983
  msgstr "Dupliceren"
984
 
985
+ #: yit-functions.php:2118
986
  msgctxt "Term action"
987
  msgid "Delete"
988
  msgstr "Verwijderen"
989
 
990
+ #: yit-plugin.php:84
991
  msgctxt "Plugin Row Meta"
992
  msgid "Live Demo"
993
  msgstr "Live Demo"
994
 
995
+ #: yit-plugin.php:88
996
  msgctxt "Plugin Row Meta"
997
  msgid "Documentation"
998
  msgstr "Documentatie"
999
 
1000
+ #: yit-plugin.php:92
1001
  msgctxt "Plugin Row Meta"
1002
  msgid "Support"
1003
  msgstr "Ondersteuning"
1004
 
1005
+ #: yit-plugin.php:96
1006
  msgctxt "Plugin Row Meta"
1007
  msgid "Premium version"
1008
  msgstr "Premium versie"
1009
 
1010
+ #: yit-plugin.php:201
1011
  msgctxt "Action links"
1012
  msgid "Settings"
1013
  msgstr "Instellingen"
plugin-fw/languages/yith-plugin-fw.pot CHANGED
@@ -4,7 +4,7 @@ msgid ""
4
  msgstr ""
5
  "Project-Id-Version: \n"
6
  "Report-Msgid-Bugs-To: YITH <plugins@yithemes.com>\n"
7
- "POT-Creation-Date: 2021-09-24 08:04:51+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=utf-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
@@ -24,7 +24,7 @@ msgstr ""
24
  "X-Textdomain-Support: yes\n"
25
  "X-Generator: grunt-wp-i18n 1.0.3\n"
26
 
27
- #: includes/class-yit-assets.php:146 yit-functions.php:1962
28
  msgid "Confirm trash"
29
  msgstr ""
30
 
@@ -33,13 +33,13 @@ msgid "Are you sure you want to trash the selected items?"
33
  msgstr ""
34
 
35
  #: includes/class-yit-assets.php:149 includes/class-yit-assets.php:153
36
- #: templates/sysinfo/tabs/main.php:41 templates/sysinfo/tabs/main.php:49
37
- #: yit-functions.php:1964 yit-functions.php:1982
38
  msgid "No"
39
  msgstr ""
40
 
41
- #: includes/class-yit-assets.php:150 yit-functions.php:1980
42
- #: yit-functions.php:2108
43
  msgid "Confirm delete"
44
  msgstr ""
45
 
@@ -47,8 +47,8 @@ msgstr ""
47
  msgid "Are you sure you want to delete the selected items?"
48
  msgstr ""
49
 
50
- #: includes/class-yit-assets.php:151 yit-functions.php:1896
51
- #: yit-functions.php:2056
52
  msgid "This action cannot be undone and you will not be able to recover this data."
53
  msgstr ""
54
 
@@ -451,7 +451,7 @@ msgstr ""
451
  msgid "Preview:"
452
  msgstr ""
453
 
454
- #: templates/fields/icons.php:63
455
  msgid "Set Default"
456
  msgstr ""
457
 
@@ -573,58 +573,97 @@ msgstr ""
573
  msgid "Copy Code"
574
  msgstr ""
575
 
576
- #: templates/sysinfo/tabs/main.php:16
577
  msgid "Site Info"
578
  msgstr ""
579
 
580
- #: templates/sysinfo/tabs/main.php:21
581
  msgid "Site URL"
582
  msgstr ""
583
 
584
- #: templates/sysinfo/tabs/main.php:30
585
  msgid "Output IP Address"
586
  msgstr ""
587
 
588
- #: templates/sysinfo/tabs/main.php:38
589
  msgid "Defined WP_CACHE"
590
  msgstr ""
591
 
592
- #: templates/sysinfo/tabs/main.php:41 templates/sysinfo/tabs/main.php:49
593
  msgid "Yes"
594
  msgstr ""
595
 
596
- #: templates/sysinfo/tabs/main.php:46
597
  msgid "External object cache"
598
  msgstr ""
599
 
600
- #: templates/sysinfo/tabs/main.php:54
601
  msgid "YITH Plugin Framework Version"
602
  msgstr ""
603
 
604
- #: templates/sysinfo/tabs/main.php:63
605
  #. translators: %s is the name of the plugin that is loading the framework.
606
  msgid "loaded by %s"
607
  msgstr ""
608
 
609
- #: templates/sysinfo/tabs/main.php:72
610
  msgid "Plugins Requirements"
611
  msgstr ""
612
 
613
- #: yit-functions.php:1894
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
614
  #. translators: %s is the title of the post object.
615
  msgid "Are you sure you want to move \"%s\" to trash?"
616
  msgstr ""
617
 
618
- #: yit-functions.php:1896 yit-functions.php:2056
619
  #. translators: %s is the title of the post object.
620
  msgid "Are you sure you want to delete \"%s\"?"
621
  msgstr ""
622
 
623
- #: yit-functions.php:1994 yit-functions.php:2002 yit-functions.php:2119
624
  msgid "Further actions"
625
  msgstr ""
626
 
627
- #: yit-plugin.php:206
628
  msgid "License"
629
  msgstr ""
630
 
@@ -653,13 +692,13 @@ msgctxt "Button text"
653
  msgid "Cancel"
654
  msgstr ""
655
 
656
- #: includes/class-yit-assets.php:148 yit-functions.php:1965
657
  msgctxt "Trash confirmation action"
658
  msgid "Yes, move to trash"
659
  msgstr ""
660
 
661
- #: includes/class-yit-assets.php:152 yit-functions.php:1983
662
- #: yit-functions.php:2110
663
  msgctxt "Delete confirmation action"
664
  msgid "Yes, delete"
665
  msgstr ""
@@ -857,82 +896,82 @@ msgctxt "Help tab submit ticket button"
857
  msgid "Submit a ticket"
858
  msgstr ""
859
 
860
- #: yit-functions.php:1908
861
  msgctxt "Post action"
862
  msgid "Preview"
863
  msgstr ""
864
 
865
- #: yit-functions.php:1917
866
  msgctxt "Post action"
867
  msgid "View"
868
  msgstr ""
869
 
870
- #: yit-functions.php:1928
871
  msgctxt "Post action"
872
  msgid "Edit"
873
  msgstr ""
874
 
875
- #: yit-functions.php:1936
876
  msgctxt "Post action"
877
  msgid "Duplicate"
878
  msgstr ""
879
 
880
- #: yit-functions.php:1948
881
  msgctxt "Post action"
882
  msgid "Restore"
883
  msgstr ""
884
 
885
- #: yit-functions.php:1956
886
  msgctxt "Post action"
887
  msgid "Trash"
888
  msgstr ""
889
 
890
- #: yit-functions.php:1973
891
  msgctxt "Post action"
892
  msgid "Delete Permanently"
893
  msgstr ""
894
 
895
- #: yit-functions.php:2070
896
  msgctxt "Term action"
897
  msgid "View"
898
  msgstr ""
899
 
900
- #: yit-functions.php:2080
901
  msgctxt "Term action"
902
  msgid "Edit"
903
  msgstr ""
904
 
905
- #: yit-functions.php:2088
906
  msgctxt "Term action"
907
  msgid "Duplicate"
908
  msgstr ""
909
 
910
- #: yit-functions.php:2101
911
  msgctxt "Term action"
912
  msgid "Delete"
913
  msgstr ""
914
 
915
- #: yit-plugin.php:85
916
  msgctxt "Plugin Row Meta"
917
  msgid "Live Demo"
918
  msgstr ""
919
 
920
- #: yit-plugin.php:89
921
  msgctxt "Plugin Row Meta"
922
  msgid "Documentation"
923
  msgstr ""
924
 
925
- #: yit-plugin.php:93
926
  msgctxt "Plugin Row Meta"
927
  msgid "Support"
928
  msgstr ""
929
 
930
- #: yit-plugin.php:97
931
  msgctxt "Plugin Row Meta"
932
  msgid "Premium version"
933
  msgstr ""
934
 
935
- #: yit-plugin.php:202
936
  msgctxt "Action links"
937
  msgid "Settings"
938
  msgstr ""
4
  msgstr ""
5
  "Project-Id-Version: \n"
6
  "Report-Msgid-Bugs-To: YITH <plugins@yithemes.com>\n"
7
+ "POT-Creation-Date: 2021-10-11 07:35:19+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=utf-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
24
  "X-Textdomain-Support: yes\n"
25
  "X-Generator: grunt-wp-i18n 1.0.3\n"
26
 
27
+ #: includes/class-yit-assets.php:146 yit-functions.php:1979
28
  msgid "Confirm trash"
29
  msgstr ""
30
 
33
  msgstr ""
34
 
35
  #: includes/class-yit-assets.php:149 includes/class-yit-assets.php:153
36
+ #: templates/sysinfo/tabs/main.php:42 templates/sysinfo/tabs/main.php:50
37
+ #: yit-functions.php:1981 yit-functions.php:1999
38
  msgid "No"
39
  msgstr ""
40
 
41
+ #: includes/class-yit-assets.php:150 yit-functions.php:1997
42
+ #: yit-functions.php:2125
43
  msgid "Confirm delete"
44
  msgstr ""
45
 
47
  msgid "Are you sure you want to delete the selected items?"
48
  msgstr ""
49
 
50
+ #: includes/class-yit-assets.php:151 yit-functions.php:1913
51
+ #: yit-functions.php:2073
52
  msgid "This action cannot be undone and you will not be able to recover this data."
53
  msgstr ""
54
 
451
  msgid "Preview:"
452
  msgstr ""
453
 
454
+ #: templates/fields/icons.php:78
455
  msgid "Set Default"
456
  msgstr ""
457
 
573
  msgid "Copy Code"
574
  msgstr ""
575
 
576
+ #: templates/sysinfo/tabs/main.php:17
577
  msgid "Site Info"
578
  msgstr ""
579
 
580
+ #: templates/sysinfo/tabs/main.php:22
581
  msgid "Site URL"
582
  msgstr ""
583
 
584
+ #: templates/sysinfo/tabs/main.php:31
585
  msgid "Output IP Address"
586
  msgstr ""
587
 
588
+ #: templates/sysinfo/tabs/main.php:39
589
  msgid "Defined WP_CACHE"
590
  msgstr ""
591
 
592
+ #: templates/sysinfo/tabs/main.php:42 templates/sysinfo/tabs/main.php:50
593
  msgid "Yes"
594
  msgstr ""
595
 
596
+ #: templates/sysinfo/tabs/main.php:47
597
  msgid "External object cache"
598
  msgstr ""
599
 
600
+ #: templates/sysinfo/tabs/main.php:55
601
  msgid "YITH Plugin Framework Version"
602
  msgstr ""
603
 
604
+ #: templates/sysinfo/tabs/main.php:64
605
  #. translators: %s is the name of the plugin that is loading the framework.
606
  msgid "loaded by %s"
607
  msgstr ""
608
 
609
+ #: templates/sysinfo/tabs/main.php:73
610
  msgid "Plugins Requirements"
611
  msgstr ""
612
 
613
+ #: templates/sysinfo/tabs/main.php:108
614
+ msgid "Database Info"
615
+ msgstr ""
616
+
617
+ #: templates/sysinfo/tabs/main.php:113
618
+ msgid "MySQL version"
619
+ msgstr ""
620
+
621
+ #: templates/sysinfo/tabs/main.php:123
622
+ #. Translators: %s: Codex link.
623
+ msgid "WordPress recommends a minimum MySQL version of 5.6. See: %s"
624
+ msgstr ""
625
+
626
+ #: templates/sysinfo/tabs/main.php:123
627
+ msgid "WordPress requirements"
628
+ msgstr ""
629
+
630
+ #: templates/sysinfo/tabs/main.php:130
631
+ msgid "Total Database Size"
632
+ msgstr ""
633
+
634
+ #: templates/sysinfo/tabs/main.php:138
635
+ msgid "Database Data Size"
636
+ msgstr ""
637
+
638
+ #: templates/sysinfo/tabs/main.php:146
639
+ msgid "Database Index Size"
640
+ msgstr ""
641
+
642
+ #: templates/sysinfo/tabs/main.php:154
643
+ msgid "Database Free Size"
644
+ msgstr ""
645
+
646
+ #: templates/sysinfo/tabs/main.php:168
647
+ #. Translators: %1$f: Table size, %2$f: Index size, %3$f: Free size, %4$s
648
+ #. Engine.
649
+ msgid "Data: %1$.2fMB | Index: %2$.2fMB | Free: %3$.2fMB | Engine: %4$s"
650
+ msgstr ""
651
+
652
+ #: yit-functions.php:1911
653
  #. translators: %s is the title of the post object.
654
  msgid "Are you sure you want to move \"%s\" to trash?"
655
  msgstr ""
656
 
657
+ #: yit-functions.php:1913 yit-functions.php:2073
658
  #. translators: %s is the title of the post object.
659
  msgid "Are you sure you want to delete \"%s\"?"
660
  msgstr ""
661
 
662
+ #: yit-functions.php:2011 yit-functions.php:2019 yit-functions.php:2136
663
  msgid "Further actions"
664
  msgstr ""
665
 
666
+ #: yit-plugin.php:205
667
  msgid "License"
668
  msgstr ""
669
 
692
  msgid "Cancel"
693
  msgstr ""
694
 
695
+ #: includes/class-yit-assets.php:148 yit-functions.php:1982
696
  msgctxt "Trash confirmation action"
697
  msgid "Yes, move to trash"
698
  msgstr ""
699
 
700
+ #: includes/class-yit-assets.php:152 yit-functions.php:2000
701
+ #: yit-functions.php:2127
702
  msgctxt "Delete confirmation action"
703
  msgid "Yes, delete"
704
  msgstr ""
896
  msgid "Submit a ticket"
897
  msgstr ""
898
 
899
+ #: yit-functions.php:1925
900
  msgctxt "Post action"
901
  msgid "Preview"
902
  msgstr ""
903
 
904
+ #: yit-functions.php:1934
905
  msgctxt "Post action"
906
  msgid "View"
907
  msgstr ""
908
 
909
+ #: yit-functions.php:1945
910
  msgctxt "Post action"
911
  msgid "Edit"
912
  msgstr ""
913
 
914
+ #: yit-functions.php:1953
915
  msgctxt "Post action"
916
  msgid "Duplicate"
917
  msgstr ""
918
 
919
+ #: yit-functions.php:1965
920
  msgctxt "Post action"
921
  msgid "Restore"
922
  msgstr ""
923
 
924
+ #: yit-functions.php:1973
925
  msgctxt "Post action"
926
  msgid "Trash"
927
  msgstr ""
928
 
929
+ #: yit-functions.php:1990
930
  msgctxt "Post action"
931
  msgid "Delete Permanently"
932
  msgstr ""
933
 
934
+ #: yit-functions.php:2087
935
  msgctxt "Term action"
936
  msgid "View"
937
  msgstr ""
938
 
939
+ #: yit-functions.php:2097
940
  msgctxt "Term action"
941
  msgid "Edit"
942
  msgstr ""
943
 
944
+ #: yit-functions.php:2105
945
  msgctxt "Term action"
946
  msgid "Duplicate"
947
  msgstr ""
948
 
949
+ #: yit-functions.php:2118
950
  msgctxt "Term action"
951
  msgid "Delete"
952
  msgstr ""
953
 
954
+ #: yit-plugin.php:84
955
  msgctxt "Plugin Row Meta"
956
  msgid "Live Demo"
957
  msgstr ""
958
 
959
+ #: yit-plugin.php:88
960
  msgctxt "Plugin Row Meta"
961
  msgid "Documentation"
962
  msgstr ""
963
 
964
+ #: yit-plugin.php:92
965
  msgctxt "Plugin Row Meta"
966
  msgid "Support"
967
  msgstr ""
968
 
969
+ #: yit-plugin.php:96
970
  msgctxt "Plugin Row Meta"
971
  msgid "Premium version"
972
  msgstr ""
973
 
974
+ #: yit-plugin.php:201
975
  msgctxt "Action links"
976
  msgid "Settings"
977
  msgstr ""
plugin-fw/lib/promo/yith-promo.php DELETED
@@ -1,11 +0,0 @@
1
- <?php
2
- /**
3
- * Deprecated file. Use the correct one in includes folder instead
4
- *
5
- * @package YITH\PluginFramework\Classes
6
- */
7
-
8
- /**
9
- * Require the correct file
10
- */
11
- require_once __DIR__ . '/../../includes/promo/yith-promo.php';
 
 
 
 
 
 
 
 
 
 
 
plugin-fw/phpcs.xml CHANGED
@@ -46,7 +46,7 @@
46
 
47
  <rule ref="WordPress.Security.EscapeOutput">
48
  <properties>
49
- <property name="customEscapingFunctions" type="array" value="wc_help_tip,wc_sanitize_tooltip,wc_selected,wc_kses_notice,wc_esc_json,wc_query_string_form_fields,wc_make_phone_clickable,yith_plugin_fw_html_data_to_string,yith_field_deps_data,yith_panel_field_deps_data"/>
50
  </properties>
51
  </rule>
52
  </ruleset>
46
 
47
  <rule ref="WordPress.Security.EscapeOutput">
48
  <properties>
49
+ <property name="customEscapingFunctions" type="array" value="wc_help_tip,wc_sanitize_tooltip,wc_selected,wc_kses_notice,wc_esc_json,wc_query_string_form_fields,wc_make_phone_clickable,yith_plugin_fw_html_data_to_string,yith_field_deps_data,yith_panel_field_deps_data,yith_plugin_fw_html_attributes_to_string"/>
50
  </properties>
51
  </rule>
52
  </ruleset>
plugin-fw/templates/components/action-button.php CHANGED
@@ -8,7 +8,7 @@
8
 
9
  defined( 'ABSPATH' ) || exit; // Exit if accessed directly.
10
 
11
- list ( $component_id, $class, $the_title, $html_attributes, $html_data, $button_action, $icon, $icon_class, $url, $action_button_menu, $confirm_data ) = yith_plugin_fw_extract( $component, 'id', 'class', 'title', 'html_attributes', 'html_data', 'action', 'icon', 'icon_class', 'url', 'menu', 'confirm_data' );
12
 
13
  $button_action = isset( $button_action ) ? $button_action : '';
14
  $icon = isset( $icon ) ? $icon : $button_action;
@@ -42,8 +42,8 @@ $link_class = implode( ' ', array_filter( $link_classes ) );
42
  <span
43
  id="<?php echo esc_attr( $component_id ); ?>"
44
  class="<?php echo esc_attr( $class ); ?>"
45
- <?php echo $html_attributes; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>
46
- <?php echo $html_data; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>
47
  >
48
  <a class="<?php echo esc_attr( $link_class ); ?>"
49
 
8
 
9
  defined( 'ABSPATH' ) || exit; // Exit if accessed directly.
10
 
11
+ list ( $component_id, $class, $the_title, $attributes, $data, $button_action, $icon, $icon_class, $url, $action_button_menu, $confirm_data ) = yith_plugin_fw_extract( $component, 'id', 'class', 'title', 'attributes', 'data', 'action', 'icon', 'icon_class', 'url', 'menu', 'confirm_data' );
12
 
13
  $button_action = isset( $button_action ) ? $button_action : '';
14
  $icon = isset( $icon ) ? $icon : $button_action;
42
  <span
43
  id="<?php echo esc_attr( $component_id ); ?>"
44
  class="<?php echo esc_attr( $class ); ?>"
45
+ <?php echo yith_plugin_fw_html_attributes_to_string( $attributes ); ?>
46
+ <?php echo yith_plugin_fw_html_data_to_string( $data ); ?>
47
  >
48
  <a class="<?php echo esc_attr( $link_class ); ?>"
49
 
plugin-fw/templates/components/list-table-blank-state.php CHANGED
@@ -8,12 +8,12 @@
8
 
9
  defined( 'ABSPATH' ) || exit; // Exit if accessed directly.
10
 
11
- list ( $component_id, $class, $icon, $icon_class, $icon_url, $message, $cta, $html_attributes, $html_data ) = yith_plugin_fw_extract( $component, 'id', 'class', 'icon', 'icon_class', 'icon_url', 'message', 'cta', 'html_attributes', 'html_data' );
12
  ?>
13
  <div id="<?php echo esc_attr( $component_id ); ?>"
14
  class="yith-plugin-fw__list-table-blank-state <?php echo esc_attr( $class ); ?>"
15
- <?php echo $html_attributes; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>
16
- <?php echo $html_data; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>
17
  >
18
  <?php if ( $icon ) : ?>
19
  <i class="yith-plugin-fw__list-table-blank-state__icon yith-icon yith-icon-<?php echo esc_attr( $icon ); ?>"></i>
8
 
9
  defined( 'ABSPATH' ) || exit; // Exit if accessed directly.
10
 
11
+ list ( $component_id, $class, $icon, $icon_class, $icon_url, $message, $cta, $attributes, $data ) = yith_plugin_fw_extract( $component, 'id', 'class', 'icon', 'icon_class', 'icon_url', 'message', 'cta', 'attributes', 'data' );
12
  ?>
13
  <div id="<?php echo esc_attr( $component_id ); ?>"
14
  class="yith-plugin-fw__list-table-blank-state <?php echo esc_attr( $class ); ?>"
15
+ <?php echo yith_plugin_fw_html_attributes_to_string( $attributes ); ?>
16
+ <?php echo yith_plugin_fw_html_data_to_string( $data ); ?>
17
  >
18
  <?php if ( $icon ) : ?>
19
  <i class="yith-plugin-fw__list-table-blank-state__icon yith-icon yith-icon-<?php echo esc_attr( $icon ); ?>"></i>
plugin-fw/templates/fields/checkbox-array.php CHANGED
@@ -17,8 +17,8 @@ $class = 'yith-plugin-fw-checkbox-array ' . $class;
17
  $value = is_array( $value ) ? $value : array();
18
  ?>
19
  <div class="<?php echo esc_attr( $class ); ?>" id="<?php echo esc_attr( $field_id ); ?>"
20
- <?php echo $custom_attributes; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>
21
- <?php echo isset( $data ) ? yith_plugin_fw_html_data_to_string( $data ) : ''; ?>
22
  >
23
  <?php foreach ( $options as $key => $label ) : ?>
24
  <?php
17
  $value = is_array( $value ) ? $value : array();
18
  ?>
19
  <div class="<?php echo esc_attr( $class ); ?>" id="<?php echo esc_attr( $field_id ); ?>"
20
+ <?php yith_plugin_fw_html_attributes_to_string( $custom_attributes, true ); ?>
21
+ <?php yith_plugin_fw_html_data_to_string( $data, true ); ?>
22
  >
23
  <?php foreach ( $options as $key => $label ) : ?>
24
  <?php
plugin-fw/templates/fields/checkbox.php CHANGED
@@ -17,8 +17,8 @@ list ( $field_id, $name, $class, $std, $value, $data, $custom_attributes, $desc_
17
  data-std="<?php echo esc_attr( $std ); ?>"
18
  <?php endif; ?>
19
  <?php checked( true, yith_plugin_fw_is_true( $value ) ); ?>
20
- <?php echo $custom_attributes; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>
21
- <?php echo isset( $data ) ? yith_plugin_fw_html_data_to_string( $data ) : ''; ?>
22
  />
23
  <?php if ( isset( $desc_inline ) ) : ?>
24
  <span class='description inline'><?php echo wp_kses_post( $desc_inline ); ?></span>
17
  data-std="<?php echo esc_attr( $std ); ?>"
18
  <?php endif; ?>
19
  <?php checked( true, yith_plugin_fw_is_true( $value ) ); ?>
20
+ <?php yith_plugin_fw_html_attributes_to_string( $custom_attributes, true ); ?>
21
+ <?php yith_plugin_fw_html_data_to_string( $data, true ); ?>
22
  />
23
  <?php if ( isset( $desc_inline ) ) : ?>
24
  <span class='description inline'><?php echo wp_kses_post( $desc_inline ); ?></span>
plugin-fw/templates/fields/colorpicker.php CHANGED
@@ -25,6 +25,6 @@ $default = isset( $default ) ? $default : '';
25
  <?php if ( $default ) : ?>
26
  data-default-color="<?php echo esc_attr( $default ); ?>"
27
  <?php endif ?>
28
- <?php echo $custom_attributes; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>
29
- <?php echo isset( $data ) ? yith_plugin_fw_html_data_to_string( $data ) : ''; ?>
30
  />
25
  <?php if ( $default ) : ?>
26
  data-default-color="<?php echo esc_attr( $default ); ?>"
27
  <?php endif ?>
28
+ <?php yith_plugin_fw_html_attributes_to_string( $custom_attributes, true ); ?>
29
+ <?php yith_plugin_fw_html_data_to_string( $data, true ); ?>
30
  />
plugin-fw/templates/fields/copy-to-clipboard.php CHANGED
@@ -35,8 +35,8 @@ if ( isset( $force_value ) ) {
35
  readonly
36
  <?php endif; ?>
37
 
38
- <?php echo $custom_attributes; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>
39
- <?php echo isset( $data ) ? yith_plugin_fw_html_data_to_string( $data ) : ''; ?>
40
  >
41
  <div class="yith-plugin-fw-copy-to-clipboard__tip"><?php echo esc_html_x( 'Copied!', 'Copy-to-clipboard message', 'yith-plugin-fw' ); ?></div>
42
  </div>
35
  readonly
36
  <?php endif; ?>
37
 
38
+ <?php yith_plugin_fw_html_attributes_to_string( $custom_attributes, true ); ?>
39
+ <?php yith_plugin_fw_html_data_to_string( $data, true ); ?>
40
  >
41
  <div class="yith-plugin-fw-copy-to-clipboard__tip"><?php echo esc_html_x( 'Copied!', 'Copy-to-clipboard message', 'yith-plugin-fw' ); ?></div>
42
  </div>
plugin-fw/templates/fields/country-select.php CHANGED
@@ -37,8 +37,8 @@ $class = isset( $class ) ? $class : 'yith-plugin-fw-select';
37
  <?php if ( isset( $placeholder ) ) : ?>
38
  data-placeholder="<?php echo esc_attr( $placeholder ); ?>"
39
  <?php endif; ?>
40
- <?php echo $custom_attributes; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>
41
- <?php echo isset( $data ) ? yith_plugin_fw_html_data_to_string( $data ) : ''; ?>
42
  >
43
  <?php
44
  if ( $countries ) {
37
  <?php if ( isset( $placeholder ) ) : ?>
38
  data-placeholder="<?php echo esc_attr( $placeholder ); ?>"
39
  <?php endif; ?>
40
+ <?php yith_plugin_fw_html_attributes_to_string( $custom_attributes, true ); ?>
41
+ <?php yith_plugin_fw_html_data_to_string( $data, true ); ?>
42
  >
43
  <?php
44
  if ( $countries ) {
plugin-fw/templates/fields/date-format.php CHANGED
@@ -31,8 +31,8 @@ wp_enqueue_script( 'yith-date-format' );
31
  <div class="<?php echo esc_attr( $class ); ?>"
32
  id="<?php echo esc_attr( $field_id ); ?>"
33
  value="<?php echo esc_attr( $value ); ?>"
34
- <?php echo $custom_attributes; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>
35
- <?php echo isset( $data ) ? yith_plugin_fw_html_data_to_string( $data ) : ''; ?>
36
  >
37
  <?php foreach ( $options as $key => $label ) : ?>
38
  <?php
31
  <div class="<?php echo esc_attr( $class ); ?>"
32
  id="<?php echo esc_attr( $field_id ); ?>"
33
  value="<?php echo esc_attr( $value ); ?>"
34
+ <?php yith_plugin_fw_html_attributes_to_string( $custom_attributes, true ); ?>
35
+ <?php yith_plugin_fw_html_data_to_string( $data, true ); ?>
36
  >
37
  <?php foreach ( $options as $key => $label ) : ?>
38
  <?php
plugin-fw/templates/fields/datepicker.php CHANGED
@@ -18,6 +18,6 @@ $class = ! empty( $class ) ? $class : 'yith-plugin-fw-datepicker';
18
  value="<?php echo esc_attr( $value ); ?>"
19
  class="<?php echo esc_attr( $class ); ?>"
20
  autocomplete="off"
21
- <?php echo $custom_attributes; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>
22
- <?php echo isset( $data ) ? yith_plugin_fw_html_data_to_string( $data ) : ''; ?>
23
  />
18
  value="<?php echo esc_attr( $value ); ?>"
19
  class="<?php echo esc_attr( $class ); ?>"
20
  autocomplete="off"
21
+ <?php yith_plugin_fw_html_attributes_to_string( $custom_attributes, true ); ?>
22
+ <?php yith_plugin_fw_html_data_to_string( $data, true ); ?>
23
  />
plugin-fw/templates/fields/dimensions.php CHANGED
@@ -42,8 +42,8 @@ if ( $allow_linked && 'yes' === $linked ) {
42
  }
43
  ?>
44
  <div id="<?php echo esc_attr( $field_id ); ?>" class="<?php echo esc_attr( $class ); ?>"
45
- <?php echo $custom_attributes; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>
46
- <?php echo isset( $data ) ? yith_plugin_fw_html_data_to_string( $data ) : ''; ?>
47
  >
48
  <div class="yith-plugin-fw-dimensions__dimensions">
49
  <?php foreach ( $dimensions as $key => $dimension ) : ?>
@@ -52,26 +52,26 @@ if ( $allow_linked && 'yes' === $linked ) {
52
  $d_id = "{$field_id}-dimension-{$d_key}";
53
  $d_name = "{$name}[dimensions][{$d_key}]";
54
  $d_value = isset( $dimensions_values[ $key ] ) ? $dimensions_values[ $key ] : 0;
55
- $d_attributes = '';
56
  $d_label = $dimension;
57
  $d_min = $min;
58
  $d_max = $max;
59
 
60
  if ( is_array( $dimension ) ) {
61
  $d_label = isset( $dimension['label'] ) ? $dimension['label'] : $key;
62
- if ( isset( $dimension['custom_attributes'] ) ) {
63
- $d_attributes .= $dimension['custom_attributes'];
64
  }
65
  $d_min = isset( $dimension['min'] ) ? $dimension['min'] : $d_min;
66
  $d_max = isset( $dimension['max'] ) ? $dimension['max'] : $d_max;
67
  }
68
 
69
  if ( false !== $d_max ) {
70
- $d_attributes = " max={$d_max} " . $d_attributes;
71
  }
72
 
73
  if ( false !== $d_min ) {
74
- $d_attributes = " min={$d_min} " . $d_attributes;
75
  }
76
 
77
  ?>
@@ -85,7 +85,7 @@ if ( $allow_linked && 'yes' === $linked ) {
85
  <?php if ( false !== $d_min ) : ?>
86
  min="<?php echo esc_attr( $d_min ); ?>"
87
  <?php endif; ?>
88
- <?php echo $d_attributes; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>
89
  >
90
  </div>
91
  <?php endforeach ?>
42
  }
43
  ?>
44
  <div id="<?php echo esc_attr( $field_id ); ?>" class="<?php echo esc_attr( $class ); ?>"
45
+ <?php yith_plugin_fw_html_attributes_to_string( $custom_attributes, true ); ?>
46
+ <?php yith_plugin_fw_html_data_to_string( $data, true ); ?>
47
  >
48
  <div class="yith-plugin-fw-dimensions__dimensions">
49
  <?php foreach ( $dimensions as $key => $dimension ) : ?>
52
  $d_id = "{$field_id}-dimension-{$d_key}";
53
  $d_name = "{$name}[dimensions][{$d_key}]";
54
  $d_value = isset( $dimensions_values[ $key ] ) ? $dimensions_values[ $key ] : 0;
55
+ $d_attributes = array();
56
  $d_label = $dimension;
57
  $d_min = $min;
58
  $d_max = $max;
59
 
60
  if ( is_array( $dimension ) ) {
61
  $d_label = isset( $dimension['label'] ) ? $dimension['label'] : $key;
62
+ if ( isset( $dimension['custom_attributes'] ) && is_array( $dimension['custom_attributes'] ) ) {
63
+ $d_attributes = array_merge( $d_attributes, $dimension['custom_attributes'] );
64
  }
65
  $d_min = isset( $dimension['min'] ) ? $dimension['min'] : $d_min;
66
  $d_max = isset( $dimension['max'] ) ? $dimension['max'] : $d_max;
67
  }
68
 
69
  if ( false !== $d_max ) {
70
+ $d_attributes['max'] = $d_max;
71
  }
72
 
73
  if ( false !== $d_min ) {
74
+ $d_attributes['min'] = $d_min;
75
  }
76
 
77
  ?>
85
  <?php if ( false !== $d_min ) : ?>
86
  min="<?php echo esc_attr( $d_min ); ?>"
87
  <?php endif; ?>
88
+ <?php echo yith_plugin_fw_html_attributes_to_string( $d_attributes ); ?>
89
  >
90
  </div>
91
  <?php endforeach ?>
plugin-fw/templates/fields/hidden.php CHANGED
@@ -28,6 +28,6 @@ if ( ! isset( $value ) ) {
28
  <?php if ( isset( $std ) ) : ?>
29
  data-std="<?php echo esc_attr( $std ); ?>"
30
  <?php endif; ?>
31
- <?php echo $custom_attributes; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>
32
- <?php echo isset( $data ) ? yith_plugin_fw_html_data_to_string( $data ) : ''; ?>
33
  />
28
  <?php if ( isset( $std ) ) : ?>
29
  data-std="<?php echo esc_attr( $std ); ?>"
30
  <?php endif; ?>
31
+ <?php yith_plugin_fw_html_attributes_to_string( $custom_attributes, true ); ?>
32
+ <?php yith_plugin_fw_html_data_to_string( $data, true ); ?>
33
  />
plugin-fw/templates/fields/icons.php CHANGED
@@ -14,10 +14,22 @@ wp_enqueue_style( 'font-awesome' );
14
 
15
  $filter_icons = ! ! $filter_icons ? $filter_icons : '';
16
  $default_icon_text = isset( $std ) ? $std : false;
17
- $default_icon_data = YIT_Icons()->get_icon_data( $default_icon_text, $filter_icons );
 
 
 
 
 
 
18
 
19
- $current_icon_data = YIT_Icons()->get_icon_data( $value, $filter_icons );
20
  $current_icon_text = $value;
 
 
 
 
 
 
21
 
22
  $yit_icons = YIT_Icons()->get_icons( $filter_icons );
23
  ?>
@@ -26,7 +38,10 @@ $yit_icons = YIT_Icons()->get_icons( $filter_icons );
26
 
27
  <div class="yit-icons-manager-text">
28
  <div class="yit-icons-manager-icon-preview"
29
- <?php echo $current_icon_data; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>
 
 
 
30
  ></div>
31
  <input class="yit-icons-manager-icon-text" type="text"
32
  id="<?php echo esc_attr( $field_id ); ?>"
@@ -42,7 +57,7 @@ $yit_icons = YIT_Icons()->get_icons( $filter_icons );
42
  <?php foreach ( $yit_icons as $font => $icons ) : ?>
43
  <?php foreach ( $icons as $key => $icon_name ) : ?>
44
  <?php
45
- $data_icon = str_replace( '\\', '&#x', $key );
46
  $icon_text = $font . ':' . $icon_name;
47
  $icon_class = $icon_text === $current_icon_text ? 'active' : '';
48
 
@@ -50,7 +65,7 @@ $yit_icons = YIT_Icons()->get_icons( $filter_icons );
50
  ?>
51
  <li class="<?php echo esc_attr( $icon_class ); ?>"
52
  data-font="<?php echo esc_attr( $font ); ?>"
53
- data-icon="<?php echo $data_icon; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>"
54
  data-key="<?php echo esc_attr( $key ); ?>"
55
  data-name="<?php echo esc_attr( $icon_name ); ?>"></li>
56
  <?php endforeach; ?>
@@ -61,7 +76,12 @@ $yit_icons = YIT_Icons()->get_icons( $filter_icons );
61
  <div class="yit-icons-manager-actions">
62
  <?php if ( $default_icon_text ) : ?>
63
  <div class="yit-icons-manager-action-set-default button"><?php esc_html_e( 'Set Default', 'yith-plugin-fw' ); ?>
64
- <i class="yit-icons-manager-default-icon-preview" <?php echo esc_html( $default_icon_data ); ?>></i>
 
 
 
 
 
65
  </div>
66
  <?php endif ?>
67
  </div>
14
 
15
  $filter_icons = ! ! $filter_icons ? $filter_icons : '';
16
  $default_icon_text = isset( $std ) ? $std : false;
17
+ $default_icon_data = YIT_Icons()->get_icon_data_array( $default_icon_text, $filter_icons );
18
+ $default_icon = '';
19
+ if ( isset( $default_icon_data['icon'] ) ) {
20
+ $default_icon = $default_icon_data['icon'];
21
+ $default_icon = str_replace( '&#x', '', $default_icon );
22
+ unset( $default_icon_data['icon'] );
23
+ }
24
 
25
+ $current_icon_data = YIT_Icons()->get_icon_data_array( $value, $filter_icons );
26
  $current_icon_text = $value;
27
+ $current_icon = '';
28
+ if ( isset( $current_icon_data['icon'] ) ) {
29
+ $current_icon = $current_icon_data['icon'];
30
+ $current_icon = str_replace( '&#x', '', $current_icon );
31
+ unset( $current_icon_data['icon'] );
32
+ }
33
 
34
  $yit_icons = YIT_Icons()->get_icons( $filter_icons );
35
  ?>
38
 
39
  <div class="yit-icons-manager-text">
40
  <div class="yit-icons-manager-icon-preview"
41
+ <?php echo yith_plugin_fw_html_data_to_string( $current_icon_data ); ?>
42
+ <?php if ( $current_icon ) : ?>
43
+ data-icon="&#x<?php echo esc_attr( $current_icon ); ?>"
44
+ <?php endif; ?>
45
  ></div>
46
  <input class="yit-icons-manager-icon-text" type="text"
47
  id="<?php echo esc_attr( $field_id ); ?>"
57
  <?php foreach ( $yit_icons as $font => $icons ) : ?>
58
  <?php foreach ( $icons as $key => $icon_name ) : ?>
59
  <?php
60
+ $data_icon = str_replace( '\\', '', $key );
61
  $icon_text = $font . ':' . $icon_name;
62
  $icon_class = $icon_text === $current_icon_text ? 'active' : '';
63
 
65
  ?>
66
  <li class="<?php echo esc_attr( $icon_class ); ?>"
67
  data-font="<?php echo esc_attr( $font ); ?>"
68
+ data-icon="&#x<?php echo esc_attr( $data_icon ); ?>"
69
  data-key="<?php echo esc_attr( $key ); ?>"
70
  data-name="<?php echo esc_attr( $icon_name ); ?>"></li>
71
  <?php endforeach; ?>
76
  <div class="yit-icons-manager-actions">
77
  <?php if ( $default_icon_text ) : ?>
78
  <div class="yit-icons-manager-action-set-default button"><?php esc_html_e( 'Set Default', 'yith-plugin-fw' ); ?>
79
+ <i class="yit-icons-manager-default-icon-preview"
80
+ <?php echo yith_plugin_fw_html_data_to_string( $default_icon_data ); ?>
81
+ <?php if ( $default_icon ) : ?>
82
+ data-icon="&#x<?php echo esc_attr( $default_icon ); ?>"
83
+ <?php endif; ?>
84
+ ></i>
85
  </div>
86
  <?php endif ?>
87
  </div>
plugin-fw/templates/fields/inline-fields.php CHANGED
@@ -8,7 +8,7 @@
8
 
9
  defined( 'ABSPATH' ) || exit; // Exit if accessed directly.
10
 
11
- list ( $field_id, $name, $class, $fields, $value, $custom_attributes ) = yith_plugin_fw_extract( $field, 'id', 'name', 'class', 'fields', 'value', 'custom_attributes' );
12
 
13
  $class = ! ! $class ? $class : '';
14
  $value = maybe_unserialize( $value );
@@ -16,7 +16,10 @@ $allowed_types = array( 'select', 'select-buttons', 'number', 'text', 'slider',
16
  $default_args = array( 'type' => 'select' );
17
  ?>
18
  <?php if ( ! empty( $fields ) && is_array( $fields ) ) : ?>
19
- <div id="<?php echo esc_attr( $field_id ); ?>" class="<?php echo esc_attr( $class ); ?> yith-inline-fields" <?php echo $custom_attributes; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>>
 
 
 
20
  <?php foreach ( $fields as $key => $inline_field ) : ?>
21
  <?php
22
  if ( ! in_array( $inline_field['type'], $allowed_types, true ) ) {
8
 
9
  defined( 'ABSPATH' ) || exit; // Exit if accessed directly.
10
 
11
+ list ( $field_id, $name, $class, $fields, $value, $data, $custom_attributes ) = yith_plugin_fw_extract( $field, 'id', 'name', 'class', 'fields', 'value', 'data', 'custom_attributes' );
12
 
13
  $class = ! ! $class ? $class : '';
14
  $value = maybe_unserialize( $value );
16
  $default_args = array( 'type' => 'select' );
17
  ?>
18
  <?php if ( ! empty( $fields ) && is_array( $fields ) ) : ?>
19
+ <div id="<?php echo esc_attr( $field_id ); ?>" class="<?php echo esc_attr( $class ); ?> yith-inline-fields"
20
+ <?php yith_plugin_fw_html_attributes_to_string( $custom_attributes, true ); ?>
21
+ <?php yith_plugin_fw_html_data_to_string( $data, true ); ?>
22
+ >
23
  <?php foreach ( $fields as $key => $inline_field ) : ?>
24
  <?php
25
  if ( ! in_array( $inline_field['type'], $allowed_types, true ) ) {
plugin-fw/templates/fields/number.php CHANGED
@@ -27,6 +27,6 @@ list ( $field_id, $class, $name, $std, $value, $min, $max, $step, $custom_attrib
27
  <?php if ( isset( $std ) ) : ?>
28
  data-std="<?php echo esc_attr( $std ); ?>"
29
  <?php endif; ?>
30
- <?php echo $custom_attributes; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>
31
- <?php echo isset( $data ) ? yith_plugin_fw_html_data_to_string( $data ) : ''; ?>
32
  />
27
  <?php if ( isset( $std ) ) : ?>
28
  data-std="<?php echo esc_attr( $std ); ?>"
29
  <?php endif; ?>
30
+ <?php yith_plugin_fw_html_attributes_to_string( $custom_attributes, true ); ?>
31
+ <?php yith_plugin_fw_html_data_to_string( $data, true ); ?>
32
  />
plugin-fw/templates/fields/onoff.php CHANGED
@@ -12,7 +12,7 @@ list ( $field_id, $class, $name, $std, $value, $custom_attributes, $data, $desc_
12
 
13
  ?>
14
  <div class="yith-plugin-fw-onoff-container <?php echo ! empty( $class ) ? esc_attr( $class ) : ''; ?>"
15
- <?php echo isset( $data ) ? yith_plugin_fw_html_data_to_string( $data ) : ''; ?>
16
  >
17
  <input type="checkbox" id="<?php echo esc_attr( $field_id ); ?>"
18
  class="on_off"
@@ -22,7 +22,7 @@ list ( $field_id, $class, $name, $std, $value, $custom_attributes, $data, $desc_
22
  data-std="<?php echo esc_attr( $std ); ?>"
23
  <?php endif; ?>
24
  <?php checked( true, yith_plugin_fw_is_true( $value ) ); ?>
25
- <?php echo $custom_attributes; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>
26
  />
27
  <span class="yith-plugin-fw-onoff"
28
  data-text-on="<?php echo esc_attr_x( 'YES', 'YES/NO button: use MAX 4 characters!', 'yith-plugin-fw' ); ?>"
12
 
13
  ?>
14
  <div class="yith-plugin-fw-onoff-container <?php echo ! empty( $class ) ? esc_attr( $class ) : ''; ?>"
15
+ <?php yith_plugin_fw_html_data_to_string( $data, true ); ?>
16
  >
17
  <input type="checkbox" id="<?php echo esc_attr( $field_id ); ?>"
18
  class="on_off"
22
  data-std="<?php echo esc_attr( $std ); ?>"
23
  <?php endif; ?>
24
  <?php checked( true, yith_plugin_fw_is_true( $value ) ); ?>
25
+ <?php yith_plugin_fw_html_attributes_to_string( $custom_attributes, true ); ?>
26
  />
27
  <span class="yith-plugin-fw-onoff"
28
  data-text-on="<?php echo esc_attr_x( 'YES', 'YES/NO button: use MAX 4 characters!', 'yith-plugin-fw' ); ?>"
plugin-fw/templates/fields/password.php CHANGED
@@ -21,8 +21,8 @@ $class = $class . ' yith-password';
21
  <?php if ( isset( $std ) ) : ?>
22
  data-std="<?php echo esc_attr( $std ); ?>"
23
  <?php endif; ?>
24
- <?php echo $custom_attributes; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>
25
- <?php echo isset( $data ) ? yith_plugin_fw_html_data_to_string( $data ) : ''; ?>
26
  />
27
  <span class="yith-password-eye"></span>
28
  </div>
21
  <?php if ( isset( $std ) ) : ?>
22
  data-std="<?php echo esc_attr( $std ); ?>"
23
  <?php endif; ?>
24
+ <?php yith_plugin_fw_html_attributes_to_string( $custom_attributes, true ); ?>
25
+ <?php yith_plugin_fw_html_data_to_string( $data, true ); ?>
26
  />
27
  <span class="yith-password-eye"></span>
28
  </div>
plugin-fw/templates/fields/preview.php CHANGED
@@ -16,6 +16,6 @@ $class = ! empty( $class ) ? $class : 'yith-plugin-fw-preview-field';
16
  <img id="<?php echo esc_attr( $field_id ); ?>"
17
  class="<?php echo esc_attr( $class ); ?>"
18
  src="<?php echo esc_url( $value ); ?>"
19
- <?php echo $custom_attributes; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>
20
- <?php echo isset( $data ) ? yith_plugin_fw_html_data_to_string( $data ) : ''; ?>
21
  >
16
  <img id="<?php echo esc_attr( $field_id ); ?>"
17
  class="<?php echo esc_attr( $class ); ?>"
18
  src="<?php echo esc_url( $value ); ?>"
19
+ <?php yith_plugin_fw_html_attributes_to_string( $custom_attributes, true ); ?>
20
+ <?php yith_plugin_fw_html_data_to_string( $data, true ); ?>
21
  >
plugin-fw/templates/fields/radio.php CHANGED
@@ -14,13 +14,40 @@ list ( $field_id, $class, $name, $value, $options, $custom_attributes, $data ) =
14
  $class = isset( $class ) ? $class : '';
15
  $class = 'yith-plugin-fw-radio ' . $class;
16
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
17
  ?>
18
  <div id="<?php echo esc_attr( $field_id ); ?>"
19
  class="<?php echo esc_attr( $class ); ?>"
20
  data-value="<?php echo esc_attr( $value ); ?>"
21
  data-type="radio"
22
- <?php echo $custom_attributes; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>
23
- <?php echo isset( $data ) ? yith_plugin_fw_html_data_to_string( $data ) : ''; ?>
24
  >
25
  <?php foreach ( $options as $key => $label ) : ?>
26
  <?php
@@ -33,10 +60,7 @@ $class = 'yith-plugin-fw-radio ' . $class;
33
  <?php checked( $key, $value ); ?>
34
  />
35
  <label for="<?php echo esc_attr( $radio_id ); ?>">
36
- <?php
37
- // HTML allowed!
38
- echo $label; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
39
- ?>
40
  </label>
41
  </div>
42
  <?php endforeach; ?>
14
  $class = isset( $class ) ? $class : '';
15
  $class = 'yith-plugin-fw-radio ' . $class;
16
 
17
+ $label_extra_allowed_tags = array(
18
+ 'input' => array(
19
+ 'checked' => true,
20
+ 'disabled' => true,
21
+ 'max' => true,
22
+ 'min' => true,
23
+ 'name' => true,
24
+ 'placeholder' => true,
25
+ 'type' => true,
26
+ 'value' => true,
27
+ ),
28
+ 'option' => array(
29
+ 'disabled' => true,
30
+ 'selected' => true,
31
+ 'value' => true,
32
+ ),
33
+ 'select' => array(
34
+ 'disabled' => true,
35
+ 'name' => true,
36
+ 'value' => true,
37
+ ),
38
+ );
39
+
40
+ $label_extra_allowed_tags = array_map( 'yith_plugin_fw_add_kses_global_attributes', $label_extra_allowed_tags );
41
+
42
+ $label_allowed_tags = array_merge( wp_kses_allowed_html( 'post' ), $label_extra_allowed_tags );
43
+ $label_allowed_tags = apply_filters( 'yith_plugin_fw_radio_field_label_allowed_tags', $label_allowed_tags, $field );
44
  ?>
45
  <div id="<?php echo esc_attr( $field_id ); ?>"
46
  class="<?php echo esc_attr( $class ); ?>"
47
  data-value="<?php echo esc_attr( $value ); ?>"
48
  data-type="radio"
49
+ <?php yith_plugin_fw_html_attributes_to_string( $custom_attributes, true ); ?>
50
+ <?php yith_plugin_fw_html_data_to_string( $data, true ); ?>
51
  >
52
  <?php foreach ( $options as $key => $label ) : ?>
53
  <?php
60
  <?php checked( $key, $value ); ?>
61
  />
62
  <label for="<?php echo esc_attr( $radio_id ); ?>">
63
+ <?php echo wp_kses( $label, $label_allowed_tags ); ?>
 
 
 
64
  </label>
65
  </div>
66
  <?php endforeach; ?>
plugin-fw/templates/fields/resources/select2-wc-2.6.php CHANGED
@@ -22,5 +22,5 @@ defined( 'ABSPATH' ) || exit; // Exit if accessed directly.
22
  <?php echo( ! empty( $args['data-action'] ) ? 'data-action="' . esc_attr( $args['data-action'] ) . '"' : '' ); ?>
23
  value="<?php echo esc_attr( $args['value'] ); ?>"
24
  style="<?php echo esc_attr( $args['style'] ); ?>"
25
- <?php echo $custom_attributes; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>
26
  />
22
  <?php echo( ! empty( $args['data-action'] ) ? 'data-action="' . esc_attr( $args['data-action'] ) . '"' : '' ); ?>
23
  value="<?php echo esc_attr( $args['value'] ); ?>"
24
  style="<?php echo esc_attr( $args['style'] ); ?>"
25
+ <?php yith_plugin_fw_html_attributes_to_string( $custom_attributes, true ); ?>
26
  />
plugin-fw/templates/fields/resources/select2.php CHANGED
@@ -19,7 +19,7 @@ defined( 'ABSPATH' ) || exit; // Exit if accessed directly.
19
  <?php echo ! empty( $args['data-action'] ) ? 'data-action="' . esc_attr( $args['data-action'] ) . '"' : ''; ?>
20
  <?php echo ! empty( $args['data-multiple'] ) ? 'multiple="multiple"' : ''; ?>
21
  style="<?php echo esc_attr( $args['style'] ); ?>"
22
- <?php echo $custom_attributes; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>
23
  >
24
  <?php if ( ! empty( $args['value'] ) ) : ?>
25
  <?php
19
  <?php echo ! empty( $args['data-action'] ) ? 'data-action="' . esc_attr( $args['data-action'] ) . '"' : ''; ?>
20
  <?php echo ! empty( $args['data-multiple'] ) ? 'multiple="multiple"' : ''; ?>
21
  style="<?php echo esc_attr( $args['style'] ); ?>"
22
+ <?php yith_plugin_fw_html_attributes_to_string( $custom_attributes, true ); ?>
23
  >
24
  <?php if ( ! empty( $args['value'] ) ) : ?>
25
  <?php
plugin-fw/templates/fields/select-images.php CHANGED
@@ -17,8 +17,8 @@ $class = isset( $class ) ? $class : 'yith-plugin-fw-select-images';
17
  name="<?php echo esc_attr( $name ); ?>"
18
  class="<?php echo esc_attr( $class ); ?>"
19
  style="display: none"
20
- <?php echo $custom_attributes; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>
21
- <?php echo isset( $data ) ? yith_plugin_fw_html_data_to_string( $data ) : ''; ?>
22
  >
23
  <?php foreach ( $options as $key => $item ) : ?>
24
  <?php
17
  name="<?php echo esc_attr( $name ); ?>"
18
  class="<?php echo esc_attr( $class ); ?>"
19
  style="display: none"
20
+ <?php yith_plugin_fw_html_attributes_to_string( $custom_attributes, true ); ?>
21
+ <?php yith_plugin_fw_html_data_to_string( $data, true ); ?>
22
  >
23
  <?php foreach ( $options as $key => $item ) : ?>
24
  <?php
plugin-fw/templates/fields/select-mailchimp.php CHANGED
@@ -25,8 +25,8 @@ $multiple = ! empty( $multiple );
25
  data-std="<?php echo $multiple && is_array( $std ) ? esc_attr( implode( ',', $std ) ) : esc_attr( $std ); ?>"
26
  <?php endif; ?>
27
 
28
- <?php echo $custom_attributes; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>
29
- <?php echo isset( $data ) ? yith_plugin_fw_html_data_to_string( $data ) : ''; ?>
30
  >
31
  <?php foreach ( $options as $key => $item ) : ?>
32
  <option value="<?php echo esc_attr( $key ); ?>"<?php selected( $key, $value ); ?>><?php echo esc_html( $item ); ?></option>
25
  data-std="<?php echo $multiple && is_array( $std ) ? esc_attr( implode( ',', $std ) ) : esc_attr( $std ); ?>"
26
  <?php endif; ?>
27
 
28
+ <?php yith_plugin_fw_html_attributes_to_string( $custom_attributes, true ); ?>
29
+ <?php yith_plugin_fw_html_data_to_string( $data, true ); ?>
30
  >
31
  <?php foreach ( $options as $key => $item ) : ?>
32
  <option value="<?php echo esc_attr( $key ); ?>"<?php selected( $key, $value ); ?>><?php echo esc_html( $item ); ?></option>
plugin-fw/templates/fields/select.php CHANGED
@@ -37,8 +37,8 @@ if ( $multiple && ! is_array( $value ) ) {
37
  data-placeholder="<?php echo esc_attr( $placeholder ); ?>"
38
  <?php endif; ?>
39
 
40
- <?php echo $custom_attributes; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>
41
- <?php echo isset( $data ) ? yith_plugin_fw_html_data_to_string( $data ) : ''; ?>
42
  >
43
  <?php foreach ( $options as $key => $item ) : ?>
44
  <?php if ( is_array( $item ) ) : ?>
37
  data-placeholder="<?php echo esc_attr( $placeholder ); ?>"
38
  <?php endif; ?>
39
 
40
+ <?php yith_plugin_fw_html_attributes_to_string( $custom_attributes, true ); ?>
41
+ <?php yith_plugin_fw_html_data_to_string( $data, true ); ?>
42
  >
43
  <?php foreach ( $options as $key => $item ) : ?>
44
  <?php if ( is_array( $item ) ) : ?>
plugin-fw/templates/fields/sidebarlist.php CHANGED
@@ -17,8 +17,8 @@ $options = yit_registered_sidebars();
17
  name="<?php echo esc_attr( $name ); ?>"
18
  class="<?php echo esc_attr( $class ); ?>"
19
 
20
- <?php echo $custom_attributes; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>
21
- <?php echo isset( $data ) ? yith_plugin_fw_html_data_to_string( $data ) : ''; ?>
22
  >
23
  <?php foreach ( $options as $key => $item ) : ?>
24
  <option value="<?php echo esc_attr( $key ); ?>"<?php selected( $key, $value ); ?>><?php echo esc_html( $item ); ?></option>
17
  name="<?php echo esc_attr( $name ); ?>"
18
  class="<?php echo esc_attr( $class ); ?>"
19
 
20
+ <?php yith_plugin_fw_html_attributes_to_string( $custom_attributes, true ); ?>
21
+ <?php yith_plugin_fw_html_data_to_string( $data, true ); ?>
22
  >
23
  <?php foreach ( $options as $key => $item ) : ?>
24
  <option value="<?php echo esc_attr( $key ); ?>"<?php selected( $key, $value ); ?>><?php echo esc_html( $item ); ?></option>
plugin-fw/templates/fields/simple-text.php CHANGED
@@ -16,8 +16,8 @@ $class = ! empty( $class ) ? $class : '';
16
  <p id="<?php echo esc_attr( $field_id ); ?>"
17
  class="<?php echo esc_attr( $class ); ?>"
18
 
19
- <?php echo $custom_attributes; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>
20
- <?php echo isset( $data ) ? yith_plugin_fw_html_data_to_string( $data ) : ''; ?>
21
  >
22
  <?php echo wp_kses_post( $desc ); ?>
23
  </p>
16
  <p id="<?php echo esc_attr( $field_id ); ?>"
17
  class="<?php echo esc_attr( $class ); ?>"
18
 
19
+ <?php yith_plugin_fw_html_attributes_to_string( $custom_attributes, true ); ?>
20
+ <?php yith_plugin_fw_html_data_to_string( $data, true ); ?>
21
  >
22
  <?php echo wp_kses_post( $desc ); ?>
23
  </p>
plugin-fw/templates/fields/slider.php CHANGED
@@ -39,8 +39,8 @@ $step = isset( $step ) ? $step : 1;
39
  data-max="<?php echo esc_attr( $max ); ?>"
40
  data-val="<?php echo esc_attr( $value ); ?>"
41
 
42
- <?php echo $custom_attributes; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>
43
- <?php echo isset( $data ) ? yith_plugin_fw_html_data_to_string( $data ) : ''; ?>
44
  >
45
  <input id="<?php echo esc_attr( $field_id ); ?>"
46
  type="hidden"
39
  data-max="<?php echo esc_attr( $max ); ?>"
40
  data-val="<?php echo esc_attr( $value ); ?>"
41
 
42
+ <?php yith_plugin_fw_html_attributes_to_string( $custom_attributes, true ); ?>
43
+ <?php yith_plugin_fw_html_data_to_string( $data, true ); ?>
44
  >
45
  <input id="<?php echo esc_attr( $field_id ); ?>"
46
  type="hidden"
plugin-fw/templates/fields/text-button.php CHANGED
@@ -39,8 +39,12 @@ $class = isset( $class ) ? $class : 'yith-plugin-fw-text-input';
39
  data-std="<?php echo esc_attr( $std ); ?>"
40
  <?php endif; ?>
41
 
42
- <?php echo $custom_attributes; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>
43
- <?php echo ! $backward_compatibility && isset( $data ) ? yith_plugin_fw_html_data_to_string( $data ) : ''; ?>
 
 
 
 
44
  />
45
  <?php
46
  if ( isset( $buttons ) ) {
39
  data-std="<?php echo esc_attr( $std ); ?>"
40
  <?php endif; ?>
41
 
42
+ <?php yith_plugin_fw_html_attributes_to_string( $custom_attributes, true ); ?>
43
+ <?php
44
+ if ( ! $backward_compatibility ) {
45
+ yith_plugin_fw_html_data_to_string( $data, true );
46
+ }
47
+ ?>
48
  />
49
  <?php
50
  if ( isset( $buttons ) ) {
plugin-fw/templates/fields/text.php CHANGED
@@ -22,8 +22,8 @@ $class = isset( $class ) ? $class : 'yith-plugin-fw-text-input';
22
  data-std="<?php echo esc_attr( $std ); ?>"
23
  <?php endif; ?>
24
 
25
- <?php echo $custom_attributes; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>
26
- <?php echo isset( $data ) ? yith_plugin_fw_html_data_to_string( $data ) : ''; ?>
27
  />
28
 
29
 
22
  data-std="<?php echo esc_attr( $std ); ?>"
23
  <?php endif; ?>
24
 
25
+ <?php yith_plugin_fw_html_attributes_to_string( $custom_attributes, true ); ?>
26
+ <?php yith_plugin_fw_html_data_to_string( $data, true ); ?>
27
  />
28
 
29
 
plugin-fw/templates/fields/textarea-codemirror.php CHANGED
@@ -24,6 +24,6 @@ $class = isset( $class ) ? $class : 'codemirror';
24
  class="<?php echo esc_attr( $class ); ?>"
25
  rows="8" cols="50"
26
  data-settings="<?php echo esc_attr( wp_json_encode( $settings ) ); ?>"
27
- <?php echo $custom_attributes; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>
28
- <?php echo isset( $data ) ? yith_plugin_fw_html_data_to_string( $data ) : ''; ?>
29
  ><?php echo esc_textarea( $value ); ?></textarea>
24
  class="<?php echo esc_attr( $class ); ?>"
25
  rows="8" cols="50"
26
  data-settings="<?php echo esc_attr( wp_json_encode( $settings ) ); ?>"
27
+ <?php yith_plugin_fw_html_attributes_to_string( $custom_attributes, true ); ?>
28
+ <?php yith_plugin_fw_html_data_to_string( $data, true ); ?>
29
  ><?php echo esc_textarea( $value ); ?></textarea>
plugin-fw/templates/fields/textarea-editor.php CHANGED
@@ -42,6 +42,6 @@ $editor_args = wp_parse_args(
42
  );
43
  ?>
44
  <div class="editor <?php echo esc_attr( $class ); ?>"
45
- <?php echo $custom_attributes; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>
46
- <?php echo isset( $data ) ? yith_plugin_fw_html_data_to_string( $data ) : ''; ?>
47
  ><?php wp_editor( $value, $field_id, $editor_args ); ?></div>
42
  );
43
  ?>
44
  <div class="editor <?php echo esc_attr( $class ); ?>"
45
+ <?php yith_plugin_fw_html_attributes_to_string( $custom_attributes, true ); ?>
46
+ <?php yith_plugin_fw_html_data_to_string( $data, true ); ?>
47
  ><?php wp_editor( $value, $field_id, $editor_args ); ?></div>
plugin-fw/templates/fields/textarea.php CHANGED
@@ -24,6 +24,6 @@ $cols = isset( $cols ) ? $cols : 50;
24
  data-std="<?php echo esc_attr( $std ); ?>"
25
  <?php endif; ?>
26
 
27
- <?php echo $custom_attributes; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>
28
- <?php echo isset( $data ) ? yith_plugin_fw_html_data_to_string( $data ) : ''; ?>
29
  ><?php echo esc_textarea( $value ); ?></textarea>
24
  data-std="<?php echo esc_attr( $std ); ?>"
25
  <?php endif; ?>
26
 
27
+ <?php yith_plugin_fw_html_attributes_to_string( $custom_attributes, true ); ?>
28
+ <?php yith_plugin_fw_html_data_to_string( $data, true ); ?>
29
  ><?php echo esc_textarea( $value ); ?></textarea>
plugin-fw/templates/fields/title.php CHANGED
@@ -15,8 +15,8 @@ $class = isset( $class ) ? $class : 'title';
15
  <h3 id="<?php echo esc_attr( $field_id ); ?>"
16
  class="<?php echo esc_attr( $class ); ?>"
17
 
18
- <?php echo $custom_attributes; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>
19
- <?php echo isset( $data ) ? yith_plugin_fw_html_data_to_string( $data ) : ''; ?>
20
  >
21
  <?php echo wp_kses_post( $desc ); ?>
22
  </h3>
15
  <h3 id="<?php echo esc_attr( $field_id ); ?>"
16
  class="<?php echo esc_attr( $class ); ?>"
17
 
18
+ <?php yith_plugin_fw_html_attributes_to_string( $custom_attributes, true ); ?>
19
+ <?php yith_plugin_fw_html_data_to_string( $data, true ); ?>
20
  >
21
  <?php echo wp_kses_post( $desc ); ?>
22
  </h3>
plugin-fw/templates/fields/toggle-element-fixed.php CHANGED
@@ -30,7 +30,7 @@ $value = get_option( $name, array() );
30
  <div class="yith-toggle-elements">
31
  <div id="<?php echo esc_attr( $field_id ); ?>"
32
  class="yith-toggle-row fixed <?php echo ! empty( $subtitle ) ? 'with-subtitle' : ''; ?> <?php echo esc_attr( $class ); ?>"
33
- <?php echo $custom_attributes; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>
34
  >
35
  <div class="yith-toggle-title">
36
  <h3>
30
  <div class="yith-toggle-elements">
31
  <div id="<?php echo esc_attr( $field_id ); ?>"
32
  class="yith-toggle-row fixed <?php echo ! empty( $subtitle ) ? 'with-subtitle' : ''; ?> <?php echo esc_attr( $class ); ?>"
33
+ <?php yith_plugin_fw_html_attributes_to_string( $custom_attributes, true ); ?>
34
  >
35
  <div class="yith-toggle-title">
36
  <h3>
plugin-fw/templates/fields/toggle-element.php CHANGED
@@ -109,7 +109,7 @@ if ( empty( $values ) && ! $show_add_button && $elements ) {
109
  <div id="<?php echo esc_attr( $field_id ); ?>_<?php echo esc_attr( $i ); ?>"
110
  class="yith-toggle-row <?php echo ! empty( $subtitle ) ? 'with-subtitle' : ''; ?> <?php echo esc_attr( $class ); ?>"
111
  data-item_key="<?php echo esc_attr( $i ); ?>"
112
- <?php echo $custom_attributes; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>
113
  >
114
  <div class="yith-toggle-title">
115
  <h3>
@@ -204,7 +204,7 @@ if ( empty( $values ) && ! $show_add_button && $elements ) {
204
  <div id="<?php echo esc_attr( $field_id ); ?>_{{{data.index}}}"
205
  class="yith-toggle-row highlight <?php echo ! empty( $subtitle ) ? 'with-subtitle' : ''; ?> <?php echo esc_attr( $class ); ?>"
206
  data-item_key="{{{data.index}}}"
207
- <?php echo $custom_attributes; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>
208
  >
209
  <div class="yith-toggle-title">
210
  <h3>
109
  <div id="<?php echo esc_attr( $field_id ); ?>_<?php echo esc_attr( $i ); ?>"
110
  class="yith-toggle-row <?php echo ! empty( $subtitle ) ? 'with-subtitle' : ''; ?> <?php echo esc_attr( $class ); ?>"
111
  data-item_key="<?php echo esc_attr( $i ); ?>"
112
+ <?php yith_plugin_fw_html_attributes_to_string( $custom_attributes, true ); ?>
113
  >
114
  <div class="yith-toggle-title">
115
  <h3>
204
  <div id="<?php echo esc_attr( $field_id ); ?>_{{{data.index}}}"
205
  class="yith-toggle-row highlight <?php echo ! empty( $subtitle ) ? 'with-subtitle' : ''; ?> <?php echo esc_attr( $class ); ?>"
206
  data-item_key="{{{data.index}}}"
207
+ <?php yith_plugin_fw_html_attributes_to_string( $custom_attributes, true ); ?>
208
  >
209
  <div class="yith-toggle-title">
210
  <h3>
plugin-fw/templates/fields/upload.php CHANGED
@@ -28,8 +28,8 @@ $file = $value;
28
  data-std="<?php echo esc_attr( $default ); ?>"
29
  <?php endif; ?>
30
 
31
- <?php echo $custom_attributes; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>
32
- <?php echo isset( $data ) ? yith_plugin_fw_html_data_to_string( $data ) : ''; ?>
33
  />
34
  <button class="yith-plugin-fw-upload-button" id="<?php echo esc_attr( $field_id ); ?>-button"><?php esc_html_e( 'Upload', 'yith-plugin-fw' ); ?></button>
35
  <button type="button"
28
  data-std="<?php echo esc_attr( $default ); ?>"
29
  <?php endif; ?>
30
 
31
+ <?php yith_plugin_fw_html_attributes_to_string( $custom_attributes, true ); ?>
32
+ <?php yith_plugin_fw_html_data_to_string( $data, true ); ?>
33
  />
34
  <button class="yith-plugin-fw-upload-button" id="<?php echo esc_attr( $field_id ); ?>-button"><?php esc_html_e( 'Upload', 'yith-plugin-fw' ); ?></button>
35
  <button type="button"
plugin-fw/templates/metaboxes/tab.php CHANGED
@@ -18,6 +18,66 @@ $ul_style = count( $tabs ) <= 1 ? 'display:none;' : '';
18
  $i = 0;
19
  do_action( 'yit_before_metaboxes_tab' );
20
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
21
  ?>
22
  <div class="yith-plugin-fw metaboxes-tab <?php echo esc_attr( $classes ); ?>">
23
  <?php do_action( 'yit_before_metaboxes_labels' ); ?>
@@ -48,11 +108,7 @@ do_action( 'yit_before_metaboxes_tab' );
48
  ?>
49
  <li id="<?php echo esc_attr( $anchor_id ); ?>" class="<?php echo esc_attr( $class ); ?>" <?php echo yith_field_deps_data( $_tab ); ?>>
50
  <a href="#<?php echo esc_attr( urldecode( $key ) ); ?>">
51
- <?php
52
- // This is not escaped to allow, for example, svg icons and custom html in the tab title.
53
- // TODO: escape it and provide a specific way to add icons.
54
- echo $_tab['label']; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
55
- ?>
56
  </a>
57
  </li>
58
  <?php endforeach; ?>
18
  $i = 0;
19
  do_action( 'yit_before_metaboxes_tab' );
20
 
21
+ // Allow SVGs.
22
+ $label_extra_allowed_tags = array(
23
+ 'svg' => array(
24
+ 'class' => true,
25
+ 'aria-hidden' => true,
26
+ 'aria-labelledby' => true,
27
+ 'role' => true,
28
+ 'xmlns' => true,
29
+ 'width' => true,
30
+ 'height' => true,
31
+ 'viewbox' => true,
32
+ 'version' => true,
33
+ 'x' => true,
34
+ 'y' => true,
35
+ 'style' => true,
36
+ ),
37
+ 'circle' => array(
38
+ 'class' => true,
39
+ 'cx' => true,
40
+ 'cy' => true,
41
+ 'r' => true,
42
+ ),
43
+ 'g' => array( 'fill' => true ),
44
+ 'polyline' => array(
45
+ 'class' => true,
46
+ 'points' => true,
47
+ ),
48
+ 'polygon' => array(
49
+ 'class' => true,
50
+ 'points' => true,
51
+ ),
52
+ 'line' => array(
53
+ 'class' => true,
54
+ 'x1' => true,
55
+ 'x2' => true,
56
+ 'y1' => true,
57
+ 'y2' => true,
58
+ ),
59
+ 'title' => array( 'title' => true ),
60
+ 'path' => array(
61
+ 'class' => true,
62
+ 'd' => true,
63
+ 'fill' => true,
64
+ ),
65
+ 'rect' => array(
66
+ 'class' => true,
67
+ 'x' => true,
68
+ 'y' => true,
69
+ 'fill' => true,
70
+ 'width' => true,
71
+ 'height' => true,
72
+ ),
73
+ 'style' => array(
74
+ 'type' => true,
75
+ ),
76
+ );
77
+
78
+ $label_allowed_tags = array_merge( wp_kses_allowed_html( 'post' ), $label_extra_allowed_tags );
79
+ $label_allowed_tags = apply_filters( 'yith_plugin_fw_metabox_label_allowed_tags', $label_allowed_tags, $meta_box_id );
80
+
81
  ?>
82
  <div class="yith-plugin-fw metaboxes-tab <?php echo esc_attr( $classes ); ?>">
83
  <?php do_action( 'yit_before_metaboxes_labels' ); ?>
108
  ?>
109
  <li id="<?php echo esc_attr( $anchor_id ); ?>" class="<?php echo esc_attr( $class ); ?>" <?php echo yith_field_deps_data( $_tab ); ?>>
110
  <a href="#<?php echo esc_attr( urldecode( $key ) ); ?>">
111
+ <?php echo wp_kses( $_tab['label'], $label_allowed_tags ); ?>
 
 
 
 
112
  </a>
113
  </li>
114
  <?php endforeach; ?>
plugin-fw/templates/sysinfo/tabs/main.php CHANGED
@@ -11,6 +11,7 @@ $system_info = get_option( 'yith_system_info' );
11
  $output_ip = YITH_System_Status()->get_output_ip();
12
  $labels = YITH_System_Status()->requirement_labels;
13
  $plugin_fw_info = YITH_System_Status()->get_plugin_fw_info();
 
14
  ?>
15
  <h2>
16
  <?php esc_html_e( 'Site Info', 'yith-plugin-fw' ); ?>
@@ -100,3 +101,73 @@ $plugin_fw_info = YITH_System_Status()->get_plugin_fw_info();
100
  </tr>
101
  <?php endforeach; ?>
102
  </table>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
11
  $output_ip = YITH_System_Status()->get_output_ip();
12
  $labels = YITH_System_Status()->requirement_labels;
13
  $plugin_fw_info = YITH_System_Status()->get_plugin_fw_info();
14
+ $database_info = YITH_System_Status()->get_database_info();
15
  ?>
16
  <h2>
17
  <?php esc_html_e( 'Site Info', 'yith-plugin-fw' ); ?>
101
  </tr>
102
  <?php endforeach; ?>
103
  </table>
104
+ <?php
105
+ $db_error = version_compare( $database_info['mysql_version'], '5.6', '<' ) && ! strstr( $database_info['mysql_version_string'], 'MariaDB' );
106
+ ?>
107
+ <h2>
108
+ <?php esc_html_e( 'Database Info', 'yith-plugin-fw' ); ?>
109
+ </h2>
110
+ <table class="form-table" role="presentation">
111
+ <tr>
112
+ <th scope="row">
113
+ <?php esc_html_e( 'MySQL version', 'yith-plugin-fw' ); ?>
114
+ </th>
115
+ <td class="requirement-value <?php echo( $db_error ? 'has-errors' : '' ); ?>" style="width:auto!important">
116
+ <span class="dashicons dashicons-<?php echo( $db_error ? 'warning' : 'yes' ); ?>"></span>
117
+ <?php echo esc_attr( $database_info['mysql_version'] . ' - ' . $database_info['mysql_version_string'] ); ?>
118
+ </td>
119
+ <td class="requirement-messages">
120
+ <?php
121
+ if ( $db_error ) {
122
+ /* Translators: %s: Codex link. */
123
+ echo sprintf( esc_html__( 'WordPress recommends a minimum MySQL version of 5.6. See: %s', 'yith-plugin-fw' ), '<a href="https://wordpress.org/about/requirements/" target="_blank">' . esc_html__( 'WordPress requirements', 'yith-plugin-fw' ) . '</a>' );
124
+ }
125
+ ?>
126
+ </td>
127
+ </tr>
128
+ <tr>
129
+ <th scope="row">
130
+ <?php esc_html_e( 'Total Database Size', 'yith-plugin-fw' ); ?>
131
+ </th>
132
+ <td colspan="2">
133
+ <?php printf( '%.2fMB', esc_html( $database_info['database_size']['data'] + $database_info['database_size']['index'] + $database_info['database_size']['free'] ) ); ?>
134
+ </td>
135
+ </tr>
136
+ <tr>
137
+ <th scope="row">
138
+ <?php esc_html_e( 'Database Data Size', 'yith-plugin-fw' ); ?>
139
+ </th>
140
+ <td colspan="2">
141
+ <?php printf( '%.2fMB', esc_html( $database_info['database_size']['data'] ) ); ?>
142
+ </td>
143
+ </tr>
144
+ <tr>
145
+ <th scope="row">
146
+ <?php esc_html_e( 'Database Index Size', 'yith-plugin-fw' ); ?>
147
+ </th>
148
+ <td colspan="2">
149
+ <?php printf( '%.2fMB', esc_html( $database_info['database_size']['index'] ) ); ?>
150
+ </td>
151
+ </tr>
152
+ <tr>
153
+ <th scope="row">
154
+ <?php esc_html_e( 'Database Free Size', 'yith-plugin-fw' ); ?>
155
+ </th>
156
+ <td colspan="2">
157
+ <?php printf( '%.2fMB', esc_html( $database_info['database_size']['free'] ) ); ?>
158
+ </td>
159
+ </tr>
160
+ <?php foreach ( $database_info['database_tables'] as $table => $table_data ) : ?>
161
+ <tr>
162
+ <th scope="row">
163
+ <?php echo esc_html( $table ); ?>
164
+ </th>
165
+ <td colspan="2">
166
+ <?php
167
+ /* Translators: %1$f: Table size, %2$f: Index size, %3$f: Free size, %4$s Engine. */
168
+ printf( esc_html__( 'Data: %1$.2fMB | Index: %2$.2fMB | Free: %3$.2fMB | Engine: %4$s', 'yith-plugin-fw' ), esc_html( number_format( $table_data['data'], 2 ) ), esc_html( number_format( $table_data['index'], 2 ) ), esc_html( number_format( $table_data['free'], 2 ) ), esc_html( $table_data['engine'] ) );
169
+ ?>
170
+ </td>
171
+ </tr>
172
+ <?php endforeach; ?>
173
+ </table>
plugin-fw/yit-functions.php CHANGED
@@ -1107,15 +1107,15 @@ if ( ! function_exists( 'yith_plugin_fw_get_field' ) ) {
1107
  }
1108
 
1109
  if ( ! isset( $field['custom_attributes'] ) ) {
1110
- $field['custom_attributes'] = '';
1111
- } elseif ( is_array( $field['custom_attributes'] ) ) {
1112
- // Let's build custom attributes as string.
1113
- $custom_attributes = array();
1114
- foreach ( $field['custom_attributes'] as $attribute => $attribute_value ) {
1115
- $custom_attributes[] = esc_attr( $attribute ) . '="' . esc_attr( $attribute_value ) . '"';
1116
- }
1117
 
1118
- $field['custom_attributes'] = implode( ' ', $custom_attributes );
 
 
 
 
 
1119
  }
1120
 
1121
  if ( ! isset( $field['default'] ) && isset( $field['std'] ) ) {
@@ -1194,21 +1194,23 @@ if ( ! function_exists( 'yith_plugin_fw_html_data_to_string' ) ) {
1194
  function yith_plugin_fw_html_data_to_string( $data = array(), $echo = false ) {
1195
  $html_data = '';
1196
 
1197
- if ( is_array( $data ) ) {
1198
- foreach ( $data as $key => $value ) {
1199
- $data_attribute = "data-{$key}";
1200
- $data_value = ! is_array( $value ) ? $value : implode( ',', $value );
 
1201
 
1202
- $html_data .= ' ' . esc_attr( $data_attribute ) . '="' . esc_attr( $data_value ) . '"';
 
 
1203
  }
1204
- $html_data .= ' ';
1205
  }
1206
 
1207
  if ( $echo ) {
1208
  echo $html_data; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
1209
- } else {
1210
- return $html_data;
1211
  }
 
 
1212
  }
1213
  }
1214
 
@@ -1792,25 +1794,43 @@ if ( ! function_exists( 'yith_plugin_fw_include_fw_template' ) ) {
1792
  if ( ! function_exists( 'yith_plugin_fw_html_attributes_to_string' ) ) {
1793
  /**
1794
  * Transform attributes array to HTML attributes string.
 
 
1795
  *
1796
- * @param array $attributes The array of attributes.
1797
- * @param bool $echo Set to true to print it directly; false otherwise.
1798
  *
1799
  * @return string
1800
  * @since 3.7.0
 
1801
  */
1802
  function yith_plugin_fw_html_attributes_to_string( $attributes = array(), $echo = false ) {
1803
  $html_attributes = '';
1804
 
1805
- if ( is_array( $attributes ) ) {
1806
- $html_attributes = array();
1807
- foreach ( $attributes as $key => $value ) {
1808
- $html_attributes[] = esc_attr( $key ) . '="' . esc_attr( $value ) . '"';
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1809
  }
1810
- $html_attributes = implode( ' ', $html_attributes );
1811
  }
1812
 
1813
  if ( $echo ) {
 
1814
  echo $html_attributes; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
1815
  }
1816
 
@@ -1840,9 +1860,6 @@ if ( ! function_exists( 'yith_plugin_fw_get_component' ) ) {
1840
 
1841
  $component = wp_parse_args( $component, $defaults );
1842
 
1843
- $component['html_attributes'] = yith_plugin_fw_html_attributes_to_string( $component['attributes'] );
1844
- $component['html_data'] = yith_plugin_fw_html_data_to_string( $component['data'] );
1845
-
1846
  $component_template = '/components/' . $type . '.php';
1847
 
1848
  if ( ! $echo ) {
@@ -2218,3 +2235,41 @@ if ( ! function_exists( 'yith_plugin_fw_get_post_formatted_name' ) ) {
2218
  return $name;
2219
  }
2220
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1107
  }
1108
 
1109
  if ( ! isset( $field['custom_attributes'] ) ) {
1110
+ $field['custom_attributes'] = array();
1111
+ }
 
 
 
 
 
1112
 
1113
+ if ( is_array( $field['custom_attributes'] ) ) {
1114
+ /**
1115
+ * Convert custom_attributes to string to prevent issues in plugins using them as string in their templates.
1116
+ * todo: remove after checking plugins using custom_attributes as "string" in custom fields templates and as "array" in custom fields options.
1117
+ */
1118
+ $field['custom_attributes'] = yith_plugin_fw_html_attributes_to_string( $field['custom_attributes'] );
1119
  }
1120
 
1121
  if ( ! isset( $field['default'] ) && isset( $field['std'] ) ) {
1194
  function yith_plugin_fw_html_data_to_string( $data = array(), $echo = false ) {
1195
  $html_data = '';
1196
 
1197
+ if ( ! ! $data ) {
1198
+ if ( is_array( $data ) ) {
1199
+ foreach ( $data as $key => $value ) {
1200
+ $data_attribute = "data-{$key}";
1201
+ $data_value = ! is_array( $value ) ? $value : implode( ',', $value );
1202
 
1203
+ $html_data .= ' ' . esc_attr( $data_attribute ) . '="' . esc_attr( $data_value ) . '"';
1204
+ }
1205
+ $html_data .= ' ';
1206
  }
 
1207
  }
1208
 
1209
  if ( $echo ) {
1210
  echo $html_data; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
 
 
1211
  }
1212
+
1213
+ return $html_data;
1214
  }
1215
  }
1216
 
1794
  if ( ! function_exists( 'yith_plugin_fw_html_attributes_to_string' ) ) {
1795
  /**
1796
  * Transform attributes array to HTML attributes string.
1797
+ * If using a string, the attributes will be escaped.
1798
+ * Prefer using arrays.
1799
  *
1800
+ * @param array|string $attributes The attributes.
1801
+ * @param bool $echo Set to true to print it directly; false otherwise.
1802
  *
1803
  * @return string
1804
  * @since 3.7.0
1805
+ * @since 3.8.0 Escaping attributes when using strings; allow value-less attributes by setting value to null.
1806
  */
1807
  function yith_plugin_fw_html_attributes_to_string( $attributes = array(), $echo = false ) {
1808
  $html_attributes = '';
1809
 
1810
+ if ( ! ! $attributes ) {
1811
+ if ( is_string( $attributes ) ) {
1812
+ $parsed_attrs = wp_kses_hair( $attributes, wp_allowed_protocols() );
1813
+ $attributes = array();
1814
+ foreach ( $parsed_attrs as $attr ) {
1815
+ $attributes[ $attr['name'] ] = 'n' === $attr['vless'] ? $attr['value'] : null;
1816
+ }
1817
+ }
1818
+
1819
+ if ( is_array( $attributes ) ) {
1820
+ $html_attributes = array();
1821
+ foreach ( $attributes as $key => $value ) {
1822
+ if ( ! is_null( $value ) ) {
1823
+ $html_attributes[] = esc_attr( $key ) . '="' . esc_attr( $value ) . '"';
1824
+ } else {
1825
+ $html_attributes[] = esc_attr( $key );
1826
+ }
1827
+ }
1828
+ $html_attributes = implode( ' ', $html_attributes );
1829
  }
 
1830
  }
1831
 
1832
  if ( $echo ) {
1833
+ // Already escaped above.
1834
  echo $html_attributes; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
1835
  }
1836
 
1860
 
1861
  $component = wp_parse_args( $component, $defaults );
1862
 
 
 
 
1863
  $component_template = '/components/' . $type . '.php';
1864
 
1865
  if ( ! $echo ) {
2235
  return $name;
2236
  }
2237
  }
2238
+
2239
+ if ( ! function_exists( 'yith_plugin_fw_add_kses_global_attributes' ) ) {
2240
+
2241
+ /**
2242
+ * Add global attributes to a tag in the allowed HTML list.
2243
+ *
2244
+ * @param array $attributes An array of attributes.
2245
+ *
2246
+ * @return array The array of attributes with global attributes added.
2247
+ *
2248
+ * @since 3.8.0
2249
+ */
2250
+ function yith_plugin_fw_add_kses_global_attributes( $attributes ) {
2251
+ $global_attributes = array(
2252
+ 'aria-describedby' => true,
2253
+ 'aria-details' => true,
2254
+ 'aria-label' => true,
2255
+ 'aria-labelledby' => true,
2256
+ 'aria-hidden' => true,
2257
+ 'class' => true,
2258
+ 'id' => true,
2259
+ 'style' => true,
2260
+ 'title' => true,
2261
+ 'role' => true,
2262
+ 'data-*' => true,
2263
+ );
2264
+
2265
+ if ( true === $attributes ) {
2266
+ $attributes = array();
2267
+ }
2268
+
2269
+ if ( is_array( $attributes ) ) {
2270
+ return array_merge( $attributes, $global_attributes );
2271
+ }
2272
+
2273
+ return $attributes;
2274
+ }
2275
+ }
plugin-fw/yit-plugin.php CHANGED
@@ -35,7 +35,6 @@ require_once 'includes/class-yith-debug.php';
35
  require_once 'includes/class-yith-dashboard.php';
36
  require_once 'includes/privacy/class-yith-privacy.php';
37
  require_once 'includes/privacy/class-yith-privacy-plugin-abstract.php';
38
- require_once 'includes/promo/yith-promo.php';
39
  require_once 'includes/class-yith-system-status.php';
40
  require_once 'includes/class-yith-post-type-admin.php';
41
 
35
  require_once 'includes/class-yith-dashboard.php';
36
  require_once 'includes/privacy/class-yith-privacy.php';
37
  require_once 'includes/privacy/class-yith-privacy-plugin-abstract.php';
 
38
  require_once 'includes/class-yith-system-status.php';
39
  require_once 'includes/class-yith-post-type-admin.php';
40