YITH WooCommerce Catalog Mode - Version 2.3.0

Version Description

Last Stable Tag 2.3.0

Download this release

Release Info

Developer yithemes
Plugin Icon 128x128 YITH WooCommerce Catalog Mode
Version 2.3.0
Comparing to
See all releases

Code changes from version 2.2.0 to 2.3.0

Files changed (73) hide show
  1. class-yith-woocommerce-catalog-mode.php +27 -18
  2. init.php +3 -3
  3. languages/yith-woocommerce-catalog-mode.pot +9 -9
  4. plugin-fw/assets/css/yith-icon.css +52 -4
  5. plugin-fw/assets/css/yith-plugin-ui.css +31 -26
  6. plugin-fw/assets/fonts/yith-icon.eot +0 -0
  7. plugin-fw/assets/fonts/yith-icon.ttf +0 -0
  8. plugin-fw/assets/fonts/yith-icon.woff2 +0 -0
  9. plugin-fw/assets/js/yit-plugin-panel.js +18 -0
  10. plugin-fw/assets/js/yit-plugin-panel.min.js +1 -1
  11. plugin-fw/assets/js/yith-fields.js +17 -0
  12. plugin-fw/dist/gutenberg/index.asset.php +1 -1
  13. plugin-fw/dist/gutenberg/index.js +1 -1
  14. plugin-fw/includes/class-yit-icons.php +19 -3
  15. plugin-fw/includes/class-yit-plugin-panel.php +20 -0
  16. plugin-fw/includes/promo/black.jpg +0 -0
  17. plugin-fw/includes/promo/cyber.jpg +0 -0
  18. plugin-fw/includes/promo/halloween.jpg +0 -0
  19. plugin-fw/includes/promo/yith-promo.php +0 -245
  20. plugin-fw/includes/promo/yith-promo.xml +0 -25
  21. plugin-fw/init.php +2 -2
  22. plugin-fw/languages/yith-plugin-fw-el.mo +0 -0
  23. plugin-fw/languages/yith-plugin-fw-el.po +46 -46
  24. plugin-fw/languages/yith-plugin-fw-es_ES.mo +0 -0
  25. plugin-fw/languages/yith-plugin-fw-es_ES.po +46 -46
  26. plugin-fw/languages/yith-plugin-fw-it_IT.mo +0 -0
  27. plugin-fw/languages/yith-plugin-fw-it_IT.po +46 -46
  28. plugin-fw/languages/yith-plugin-fw-nl_NL.mo +0 -0
  29. plugin-fw/languages/yith-plugin-fw-nl_NL.po +58 -58
  30. plugin-fw/languages/yith-plugin-fw.pot +46 -46
  31. plugin-fw/lib/promo/yith-promo.php +0 -11
  32. plugin-fw/{LICENSE.txt → license.txt} +1 -1
  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 +3 -3
  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-buttons.php +6 -5
  55. plugin-fw/templates/fields/select-images.php +2 -2
  56. plugin-fw/templates/fields/select-mailchimp.php +2 -2
  57. plugin-fw/templates/fields/select.php +2 -2
  58. plugin-fw/templates/fields/sidebarlist.php +2 -2
  59. plugin-fw/templates/fields/simple-text.php +2 -2
  60. plugin-fw/templates/fields/slider.php +2 -2
  61. plugin-fw/templates/fields/text-button.php +6 -2
  62. plugin-fw/templates/fields/text.php +2 -2
  63. plugin-fw/templates/fields/textarea-codemirror.php +2 -2
  64. plugin-fw/templates/fields/textarea-editor.php +2 -2
  65. plugin-fw/templates/fields/textarea.php +2 -2
  66. plugin-fw/templates/fields/title.php +2 -2
  67. plugin-fw/templates/fields/toggle-element-fixed.php +1 -1
  68. plugin-fw/templates/fields/toggle-element.php +2 -2
  69. plugin-fw/templates/fields/upload.php +2 -2
  70. plugin-fw/templates/metaboxes/tab.php +61 -5
  71. plugin-fw/yit-functions.php +81 -26
  72. plugin-fw/yit-plugin.php +0 -1
  73. readme.txt +7 -2
class-yith-woocommerce-catalog-mode.php CHANGED
@@ -173,21 +173,35 @@ if ( ! class_exists( 'YITH_WooCommerce_Catalog_Mode' ) ) {
173
  }
174
 
175
  if ( defined( 'YWCTM_PREMIUM' ) && YWCTM_PREMIUM ) {
176
-
177
  $admin_tabs = array(
178
  'premium-settings' => esc_html_x( 'Settings', 'general settings tab name', 'yith-woocommerce-catalog-mode' ),
179
  'exclusions' => esc_html_x( 'Exclusion List', 'exclusion settings tab name', 'yith-woocommerce-catalog-mode' ),
180
  'inquiry-form' => esc_html_x( 'Inquiry Form', 'inquiry form settings tab name', 'yith-woocommerce-catalog-mode' ),
181
  'buttons-labels' => esc_html_x( 'Buttons & Labels', 'buttons & labels settings tab name', 'yith-woocommerce-catalog-mode' ),
182
  );
183
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
184
  } else {
185
-
186
  $admin_tabs = array(
187
  'settings' => esc_html__( 'Settings', 'yith-woocommerce-catalog-mode' ),
188
  'premium' => esc_html__( 'Premium Version', 'yith-woocommerce-catalog-mode' ),
189
  );
190
-
191
  }
192
 
193
  $args = array(
@@ -203,19 +217,7 @@ if ( ! class_exists( 'YITH_WooCommerce_Catalog_Mode' ) ) {
203
  'admin-tabs' => $admin_tabs,
204
  'options-path' => YWCTM_DIR . '/plugin-options',
205
  'class' => yith_set_wrapper_class(),
206
- 'help_tab' => array(
207
- 'main_video' => array(
208
- /* translators: %1$s opening B tag - %2$s closing B tag */
209
- 'desc' => sprintf( _x( 'Check this video to learn how to %1$sconvert your shop into a product catalog%2$s', '[HELP TAB] Video title', 'yith-woocommerce-catalog-mode' ), '<b>', ':</b>' ),
210
- 'url' => array(
211
- 'it' => 'https://www.youtube.com/embed/5i8fTXTw97I',
212
- ),
213
- ),
214
- 'playlists' => array(
215
- 'it' => 'https://www.youtube.com/watch?v=5i8fTXTw97I&list=PL9c19edGMs09CTincDLWuCumR9A7JwZ4C',
216
- ),
217
- 'hc_url' => 'https://support.yithemes.com/hc/en-us/categories/4402976774161-YITH-WOOCOMMERCE-CATALOG-MODE',
218
- ),
219
  );
220
 
221
  $this->panel = new YIT_Plugin_Panel_WooCommerce( $args );
@@ -276,7 +278,14 @@ if ( ! class_exists( 'YITH_WooCommerce_Catalog_Mode' ) ) {
276
 
277
  foreach ( $pages as $key => $page ) {
278
 
279
- $page_id = ( in_array( current_filter(), array( 'wp_get_nav_menu_items', 'wp_nav_menu_objects' ), true ) ? $page->object_id : $page->ID );
 
 
 
 
 
 
 
280
 
281
  if ( in_array( (int) $page_id, $excluded_pages, true ) ) {
282
  unset( $pages[ $key ] );
173
  }
174
 
175
  if ( defined( 'YWCTM_PREMIUM' ) && YWCTM_PREMIUM ) {
 
176
  $admin_tabs = array(
177
  'premium-settings' => esc_html_x( 'Settings', 'general settings tab name', 'yith-woocommerce-catalog-mode' ),
178
  'exclusions' => esc_html_x( 'Exclusion List', 'exclusion settings tab name', 'yith-woocommerce-catalog-mode' ),
179
  'inquiry-form' => esc_html_x( 'Inquiry Form', 'inquiry form settings tab name', 'yith-woocommerce-catalog-mode' ),
180
  'buttons-labels' => esc_html_x( 'Buttons & Labels', 'buttons & labels settings tab name', 'yith-woocommerce-catalog-mode' ),
181
  );
182
+ $help_tab = array(
183
+ 'main_video' => array(
184
+ /* translators: %1$s opening B tag - %2$s closing B tag */
185
+ 'desc' => sprintf( _x( 'Check this video to learn how to %1$sconvert your shop into a product catalog%2$s', '[HELP TAB] Video title', 'yith-woocommerce-catalog-mode' ), '<b>', ':</b>' ),
186
+ 'url' => array(
187
+ 'it' => 'https://www.youtube.com/embed/5i8fTXTw97I',
188
+ 'en' => 'https://www.youtube.com/embed/Ku_8Yk3cDTg',
189
+ 'es' => 'https://www.youtube.com/embed/WX80if_6gEE',
190
+ ),
191
+ ),
192
+ 'playlists' => array(
193
+ 'it' => 'https://www.youtube.com/watch?v=5i8fTXTw97I&list=PL9c19edGMs09CTincDLWuCumR9A7JwZ4C',
194
+ 'en' => 'https://www.youtube.com/watch?v=Ku_8Yk3cDTg&list=PLDriKG-6905mo3NWj8er7QVNirWeENSdy',
195
+ 'es' => 'https://www.youtube.com/watch?v=WX80if_6gEE&list=PL9Ka3j92PYJO9UgIkP3Yv53Nqf1uk5Tv0',
196
+ ),
197
+ 'hc_url' => 'https://support.yithemes.com/hc/en-us/categories/4402976774161-YITH-WOOCOMMERCE-CATALOG-MODE',
198
+ );
199
  } else {
 
200
  $admin_tabs = array(
201
  'settings' => esc_html__( 'Settings', 'yith-woocommerce-catalog-mode' ),
202
  'premium' => esc_html__( 'Premium Version', 'yith-woocommerce-catalog-mode' ),
203
  );
204
+ $help_tab = array();
205
  }
206
 
207
  $args = array(
217
  'admin-tabs' => $admin_tabs,
218
  'options-path' => YWCTM_DIR . '/plugin-options',
219
  'class' => yith_set_wrapper_class(),
220
+ 'help_tab' => $help_tab,
 
 
 
 
 
 
 
 
 
 
 
 
221
  );
222
 
223
  $this->panel = new YIT_Plugin_Panel_WooCommerce( $args );
278
 
279
  foreach ( $pages as $key => $page ) {
280
 
281
+ if ( in_array( current_filter(), array( 'wp_get_nav_menu_items', 'wp_nav_menu_objects' ), true ) ) {
282
+ $page_id = $page->object_id;
283
+ if ( 'page' !== $page->obect_id ) {
284
+ continue;
285
+ }
286
+ } else {
287
+ $page_id = $page->ID;
288
+ }
289
 
290
  if ( in_array( (int) $page_id, $excluded_pages, true ) ) {
291
  unset( $pages[ $key ] );
init.php CHANGED
@@ -5,10 +5,10 @@
5
  * Description: <code><strong>YITH WooCommerce Catalog Mode</strong></code> allows hiding product prices, cart and checkout from your store and turning it into a performing product catalogue. You will be able to adjust your catalogue settings as you prefer based on your requirements. <a href="https://yithemes.com/" target="_blank">Get more plugins for your e-commerce shop on <strong>YITH</strong></a>
6
  * Author: YITH
7
  * Text Domain: yith-woocommerce-catalog-mode
8
- * Version: 2.2.0
9
  * Author URI: https://yithemes.com/
10
  * WC requires at least: 5.3.0
11
- * WC tested up to: 5.8.x
12
  *
13
  * @package YITH WooCommerce Catalog Mode
14
  */
@@ -61,7 +61,7 @@ function ywctm_install_free_admin_notice() {
61
  <?php
62
  }
63
 
64
- ! defined( 'YWCTM_VERSION' ) && define( 'YWCTM_VERSION', '2.2.0' );
65
  ! defined( 'YWCTM_FREE_INIT' ) && define( 'YWCTM_FREE_INIT', plugin_basename( __FILE__ ) );
66
  ! defined( 'YWCTM_SLUG' ) && define( 'YWCTM_SLUG', 'yith-woocommerce-catalog-mode' );
67
  ! defined( 'YWCTM_FILE' ) && define( 'YWCTM_FILE', __FILE__ );
5
  * Description: <code><strong>YITH WooCommerce Catalog Mode</strong></code> allows hiding product prices, cart and checkout from your store and turning it into a performing product catalogue. You will be able to adjust your catalogue settings as you prefer based on your requirements. <a href="https://yithemes.com/" target="_blank">Get more plugins for your e-commerce shop on <strong>YITH</strong></a>
6
  * Author: YITH
7
  * Text Domain: yith-woocommerce-catalog-mode
8
+ * Version: 2.3.0
9
  * Author URI: https://yithemes.com/
10
  * WC requires at least: 5.3.0
11
+ * WC tested up to: 5.9.x
12
  *
13
  * @package YITH WooCommerce Catalog Mode
14
  */
61
  <?php
62
  }
63
 
64
+ ! defined( 'YWCTM_VERSION' ) && define( 'YWCTM_VERSION', '2.3.0' );
65
  ! defined( 'YWCTM_FREE_INIT' ) && define( 'YWCTM_FREE_INIT', plugin_basename( __FILE__ ) );
66
  ! defined( 'YWCTM_SLUG' ) && define( 'YWCTM_SLUG', 'yith-woocommerce-catalog-mode' );
67
  ! defined( 'YWCTM_FILE' ) && define( 'YWCTM_FILE', __FILE__ );
languages/yith-woocommerce-catalog-mode.pot CHANGED
@@ -2,10 +2,10 @@
2
  # This file is distributed under the same license as the YITH WooCommerce Catalog Mode package.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: YITH WooCommerce Catalog Mode 2.2.0\n"
6
  "Report-Msgid-Bugs-To: "
7
  "https://wordpress.org/support/plugin/yith-woocommerce-catalog-mode\n"
8
- "POT-Creation-Date: 2021-10-05 13:38:39+00:00\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=utf-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
@@ -14,12 +14,12 @@ msgstr ""
14
  "Language-Team: LANGUAGE <LL@li.org>\n"
15
  "X-Generator: grunt-wp-i18n 1.0.3\n"
16
 
17
- #: class-yith-woocommerce-catalog-mode.php:187
18
  #: plugin-options/settings-options.php:15
19
  msgid "Settings"
20
  msgstr ""
21
 
22
- #: class-yith-woocommerce-catalog-mode.php:188
23
  msgid "Premium Version"
24
  msgstr ""
25
 
@@ -221,27 +221,27 @@ msgid ""
221
  "e-commerce shop on <strong>YITH</strong></a>"
222
  msgstr ""
223
 
224
- #: class-yith-woocommerce-catalog-mode.php:178
225
  msgctxt "general settings tab name"
226
  msgid "Settings"
227
  msgstr ""
228
 
229
- #: class-yith-woocommerce-catalog-mode.php:179
230
  msgctxt "exclusion settings tab name"
231
  msgid "Exclusion List"
232
  msgstr ""
233
 
234
- #: class-yith-woocommerce-catalog-mode.php:180
235
  msgctxt "inquiry form settings tab name"
236
  msgid "Inquiry Form"
237
  msgstr ""
238
 
239
- #: class-yith-woocommerce-catalog-mode.php:181
240
  msgctxt "buttons & labels settings tab name"
241
  msgid "Buttons & Labels"
242
  msgstr ""
243
 
244
- #: class-yith-woocommerce-catalog-mode.php:209
245
  #. translators: %1$s opening B tag - %2$s closing B tag
246
  msgctxt "[HELP TAB] Video title"
247
  msgid ""
2
  # This file is distributed under the same license as the YITH WooCommerce Catalog Mode package.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: YITH WooCommerce Catalog Mode 2.3.0\n"
6
  "Report-Msgid-Bugs-To: "
7
  "https://wordpress.org/support/plugin/yith-woocommerce-catalog-mode\n"
8
+ "POT-Creation-Date: 2021-11-05 16:07:53+00:00\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=utf-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
14
  "Language-Team: LANGUAGE <LL@li.org>\n"
15
  "X-Generator: grunt-wp-i18n 1.0.3\n"
16
 
17
+ #: class-yith-woocommerce-catalog-mode.php:201
18
  #: plugin-options/settings-options.php:15
19
  msgid "Settings"
20
  msgstr ""
21
 
22
+ #: class-yith-woocommerce-catalog-mode.php:202
23
  msgid "Premium Version"
24
  msgstr ""
25
 
221
  "e-commerce shop on <strong>YITH</strong></a>"
222
  msgstr ""
223
 
224
+ #: class-yith-woocommerce-catalog-mode.php:177
225
  msgctxt "general settings tab name"
226
  msgid "Settings"
227
  msgstr ""
228
 
229
+ #: class-yith-woocommerce-catalog-mode.php:178
230
  msgctxt "exclusion settings tab name"
231
  msgid "Exclusion List"
232
  msgstr ""
233
 
234
+ #: class-yith-woocommerce-catalog-mode.php:179
235
  msgctxt "inquiry form settings tab name"
236
  msgid "Inquiry Form"
237
  msgstr ""
238
 
239
+ #: class-yith-woocommerce-catalog-mode.php:180
240
  msgctxt "buttons & labels settings tab name"
241
  msgid "Buttons & Labels"
242
  msgstr ""
243
 
244
+ #: class-yith-woocommerce-catalog-mode.php:185
245
  #. translators: %1$s opening B tag - %2$s closing B tag
246
  msgctxt "[HELP TAB] Video title"
247
  msgid ""
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,d09GRgABAAAAA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LLTFCVpvb+BwTueqv8oFKW+OQ5JZaKyXB6hVHb2LT2xUD5MOxVZmywVRS10pE4sWPPE8mjSm1k2Pdswp5Y9OV2agTpujGu9TH9GmufFAjtrUpaJKar+dLY40xqO1UDGSj9mMfjI20BTILsJut0G9sGyCHZMZeRgp7knziLRNTepN2z1epRIPuY6m4HXL5Q5zsdtx2A96WpMHKVv2/LaaPZnB4puSZqjIddZ3h98nBfNi5e3JzGZ3BfFX3LHkkUAAAA=") format("woff"),
12
- url("../fonts/yith-icon.ttf?91e38b491fff50f72e9b5b51960fdee6") format("truetype");
13
  font-weight: 400;
14
  font-style: normal;
15
  }
@@ -39,18 +39,34 @@
39
  content: "\e91d";
40
  }
41
 
 
 
 
 
42
  .yith-icon-arrow-down:before {
43
  content: "\e900";
44
  }
45
 
 
 
 
 
46
  .yith-icon-arrow-left:before {
47
  content: "\e901";
48
  }
49
 
 
 
 
 
50
  .yith-icon-arrow-right:before {
51
  content: "\e902";
52
  }
53
 
 
 
 
 
54
  .yith-icon-arrow-up:before {
55
  content: "\e903";
56
  }
@@ -83,6 +99,10 @@
83
  content: "\e91f";
84
  }
85
 
 
 
 
 
86
  .yith-icon-check-circle:before {
87
  content: "\e921";
88
  }
@@ -95,6 +115,10 @@
95
  content: "\f105";
96
  }
97
 
 
 
 
 
98
  .yith-icon-close:before {
99
  content: "\e906";
100
  }
@@ -143,6 +167,10 @@
143
  content: "\f10d";
144
  }
145
 
 
 
 
 
146
  .yith-icon-magnifier:before {
147
  content: "\e908";
148
  }
@@ -151,6 +179,18 @@
151
  content: "\f109";
152
  }
153
 
 
 
 
 
 
 
 
 
 
 
 
 
154
  .yith-icon-more:before {
155
  content: "\f102";
156
  }
@@ -171,6 +211,10 @@
171
  content: "\e916";
172
  }
173
 
 
 
 
 
174
  .yith-icon-plus:before {
175
  content: "\e90a";
176
  }
@@ -191,6 +235,10 @@
191
  content: "\e917";
192
  }
193
 
 
 
 
 
194
  .yith-icon-sort:before {
195
  content: "\f106";
196
  }
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?47f77c3e4343c8aa92110ae8ec8e9276");
10
+ src: url("../fonts/yith-icon.eot?47f77c3e4343c8aa92110ae8ec8e9276#iefix") format("embedded-opentype"),
11
+ url("data:application/x-font-woff;charset=utf-8;base64,d09GRgABAAAAACAQAAsAAAAANcgAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABHU1VCAAABCAAAADMAAABCsP6z7U9TLzIAAAE8AAAAQAAAAFY4xksKY21hcAAAAXwAAAGpAAAEyNC9cJFnbHlmAAADKAAAGPkAACj8NzNL12hlYWQAABwkAAAAMAAAADYcZKiiaGhlYQAAHFQAAAAeAAAAJAQ1AjFobXR4AAAcdAAAAC0AAADsc+X/6GxvY2EAABykAAAAeAAAAHgUux7ebWF4cAAAHRwAAAAfAAAAIAFZAVZuYW1lAAAdPAAAATAAAAIiyMcJZnBvc3QAAB5sAAABpAAAAqVbl2cyeJxjYGRgYOBikGPQYWB0cfMJYeBgYGGAAJAMY05meiJQDMoDyrGAaQ4gZoOIAgCKIwNPAHicY2Bk/M44gYGVgYNBjDGNgYHBHUp/ZZBkaGFgYGJgZWbACgLSXFMYHF4yfJRiAnH1mNgYeIE0I4gDAI+GCE54nO3UV47bQBCE4Z+SqJyztDl4ndY5G/AdDB/TB/KTL9CAX/oE6xqWj2EKn0AO0wy6i0ANtOVeOlD9pqJsvzRaNeNths14h5867uvXgrjNVh4fHrRHVlmXvWardP47P5qn1vQYMGXJhgPXcs9LPvCeC/baO+HImImueMZr3vGFFzxhpGcMmbFjwTmf+cqWx6x4y1M+csMZrzjlkk880kw6dPXGOc95w5pbrrjTJLr838blr/Xn39G3Uikr9Y7KSv2jZaoW0TbVjeiY6kPUploSXVNViZ6ptkTfVGliYM340EqPxchUfWJs6ghiYuoNYmrqEmJm6hdibs29C1MPEUtTNxErK6uPtVGevbFmLVtT1xE7U/8Re1MnE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j0FU9hdZnvJi582MgO5X8l7BbLmuSWzZiIYUhq0TgQqnNX2mcpT47VSZFrFdT0dismEnqIA2lk6TSDBWr4Y40pqQTMel8v5aBlG65FEExFUTFRs2pJz4lqcWARU3GD0vgtbAq1Y2oqNC2dDz+7sRQz0ZZGx1bHkkEWTPj5HY15FldagpZI7ThrmtXjbZdnD5hovU0yX7gxgVaetF7YRZelUtPzhvKvJkr2AhpIG/64Y7UsihOqIi1JqP2K4kuTJtmI+StbmjunbZh2NGy88YJlXWRAndlmZ5oRe5oJ4Idh2uDFrYytNm5MHQcXhh/fGS9busk+QOYc8P5") format("woff"),
12
+ url("../fonts/yith-icon.ttf?47f77c3e4343c8aa92110ae8ec8e9276") format("truetype");
13
  font-weight: 400;
14
  font-style: normal;
15
  }
39
  content: "\e91d";
40
  }
41
 
42
+ .yith-icon-arrow-down-alt:before {
43
+ content: "\f110";
44
+ }
45
+
46
  .yith-icon-arrow-down:before {
47
  content: "\e900";
48
  }
49
 
50
+ .yith-icon-arrow-left-alt:before {
51
+ content: "\f111";
52
+ }
53
+
54
  .yith-icon-arrow-left:before {
55
  content: "\e901";
56
  }
57
 
58
+ .yith-icon-arrow-right-alt:before {
59
+ content: "\f112";
60
+ }
61
+
62
  .yith-icon-arrow-right:before {
63
  content: "\e902";
64
  }
65
 
66
+ .yith-icon-arrow-up-alt:before {
67
+ content: "\f113";
68
+ }
69
+
70
  .yith-icon-arrow-up:before {
71
  content: "\e903";
72
  }
99
  content: "\e91f";
100
  }
101
 
102
+ .yith-icon-check-alt:before {
103
+ content: "\f114";
104
+ }
105
+
106
  .yith-icon-check-circle:before {
107
  content: "\e921";
108
  }
115
  content: "\f105";
116
  }
117
 
118
+ .yith-icon-close-alt:before {
119
+ content: "\f117";
120
+ }
121
+
122
  .yith-icon-close:before {
123
  content: "\e906";
124
  }
167
  content: "\f10d";
168
  }
169
 
170
+ .yith-icon-lock:before {
171
+ content: "\f119";
172
+ }
173
+
174
  .yith-icon-magnifier:before {
175
  content: "\e908";
176
  }
179
  content: "\f109";
180
  }
181
 
182
+ .yith-icon-minus-alt:before {
183
+ content: "\f118";
184
+ }
185
+
186
+ .yith-icon-minus:before {
187
+ content: "\f10f";
188
+ }
189
+
190
+ .yith-icon-money-check:before {
191
+ content: "\f11a";
192
+ }
193
+
194
  .yith-icon-more:before {
195
  content: "\f102";
196
  }
211
  content: "\e916";
212
  }
213
 
214
+ .yith-icon-plus-alt:before {
215
+ content: "\f115";
216
+ }
217
+
218
  .yith-icon-plus:before {
219
  content: "\e90a";
220
  }
235
  content: "\e917";
236
  }
237
 
238
+ .yith-icon-sort-alt:before {
239
+ content: "\f116";
240
+ }
241
+
242
  .yith-icon-sort:before {
243
  content: "\f106";
244
  }
plugin-fw/assets/css/yith-plugin-ui.css CHANGED
@@ -578,13 +578,21 @@
578
 
579
  .yith-plugin-ui .yith-plugin-fw__button--add:before, .yith-plugin-ui .yith-add-button:before, .wp-core-ui .yith-plugin-ui .yith-plugin-fw__button--add:before, .wp-core-ui .yith-plugin-ui .yith-add-button:before {
580
  font-family: yith-icon;
581
- content: "";
582
  margin: 0 8px 0 -5px;
583
- font-size: 15px;
584
  font-weight: 400;
585
  vertical-align: top;
586
  }
587
 
 
 
 
 
 
 
 
 
588
  .yith-plugin-ui .yith-plugin-fw__button--add.closed, .yith-plugin-ui .yith-add-button.closed, .wp-core-ui .yith-plugin-ui .yith-plugin-fw__button--add.closed, .wp-core-ui .yith-plugin-ui .yith-add-button.closed {
589
  background: var(--yith-outline-bg);
590
  border: 1px solid var(--yith-outline-border);
@@ -605,12 +613,9 @@
605
  }
606
 
607
  .yith-plugin-ui .yith-plugin-fw__button--add.closed:before, .yith-plugin-ui .yith-add-button.closed:before, .wp-core-ui .yith-plugin-ui .yith-plugin-fw__button--add.closed:before, .wp-core-ui .yith-plugin-ui .yith-add-button.closed:before {
608
- font-family: yith-icon;
609
- content: "";
610
  margin: 0 8px 0 -5px;
611
- font-size: 15px;
612
- font-weight: 400;
613
- vertical-align: top;
614
  }
615
 
616
  .yith-plugin-ui .yith-plugin-fw__button--close, .wp-core-ui .yith-plugin-ui .yith-plugin-fw__button--close {
@@ -634,9 +639,9 @@
634
 
635
  .yith-plugin-ui .yith-plugin-fw__button--close:before, .wp-core-ui .yith-plugin-ui .yith-plugin-fw__button--close:before {
636
  font-family: yith-icon;
637
- content: "";
638
  margin: 0 8px 0 -5px;
639
- font-size: 15px;
640
  font-weight: 400;
641
  vertical-align: top;
642
  }
@@ -664,7 +669,7 @@
664
  font-family: yith-icon;
665
  content: "";
666
  margin: 0 8px 0 -5px;
667
- font-size: 15px;
668
  font-weight: 400;
669
  vertical-align: top;
670
  }
@@ -692,7 +697,7 @@
692
  font-family: yith-icon;
693
  content: "";
694
  margin: 0 8px 0 -5px;
695
- font-size: 15px;
696
  font-weight: 400;
697
  vertical-align: top;
698
  }
@@ -720,7 +725,7 @@
720
  font-family: yith-icon;
721
  content: "";
722
  margin: 0 8px 0 -5px;
723
- font-size: 15px;
724
  font-weight: 400;
725
  vertical-align: top;
726
  }
@@ -748,7 +753,7 @@
748
  font-family: yith-icon;
749
  content: "";
750
  margin: 0 8px 0 -5px;
751
- font-size: 15px;
752
  font-weight: 400;
753
  vertical-align: top;
754
  }
@@ -829,7 +834,7 @@
829
  top: 50%;
830
  left: 10px;
831
  transform: translateY(-50%);
832
- font-size: 1.15em;
833
  font-weight: 400;
834
  }
835
 
@@ -1234,7 +1239,7 @@ table.yith-plugin-fw__classic-table.wp-list-table .sorting-indicator {
1234
 
1235
  table.yith-plugin-fw__classic-table.wp-list-table .sorting-indicator:before {
1236
  font-family: yith-icon;
1237
- content: "\f106";
1238
  color: inherit;
1239
  font-size: 10px;
1240
  top: 0;
@@ -1244,14 +1249,14 @@ table.yith-plugin-fw__classic-table.wp-list-table .sorting-indicator:before {
1244
  table.yith-plugin-fw__classic-table.wp-list-table th.sorted.asc .sorting-indicator:before,
1245
  table.yith-plugin-fw__classic-table.wp-list-table th.desc:hover span.sorting-indicator:before,
1246
  table.yith-plugin-fw__classic-table.wp-list-table th.desc a:focus span.sorting-indicator:before {
1247
- content: "\e903";
1248
  font-weight: 600;
1249
  }
1250
 
1251
  table.yith-plugin-fw__classic-table.wp-list-table th.sorted.desc .sorting-indicator:before,
1252
  table.yith-plugin-fw__classic-table.wp-list-table th.asc:hover span.sorting-indicator:before,
1253
  table.yith-plugin-fw__classic-table.wp-list-table th.asc a:focus span.sorting-indicator:before {
1254
- content: "\e900";
1255
  font-weight: 600;
1256
  }
1257
 
@@ -1346,7 +1351,7 @@ table.yith-plugin-fw__boxed-table.wp-list-table .sorting-indicator {
1346
 
1347
  table.yith-plugin-fw__boxed-table.wp-list-table .sorting-indicator:before {
1348
  font-family: yith-icon;
1349
- content: "\f106";
1350
  color: inherit;
1351
  font-size: 10px;
1352
  top: 0;
@@ -1356,14 +1361,14 @@ table.yith-plugin-fw__boxed-table.wp-list-table .sorting-indicator:before {
1356
  table.yith-plugin-fw__boxed-table.wp-list-table th.sorted.asc .sorting-indicator:before,
1357
  table.yith-plugin-fw__boxed-table.wp-list-table th.desc:hover span.sorting-indicator:before,
1358
  table.yith-plugin-fw__boxed-table.wp-list-table th.desc a:focus span.sorting-indicator:before {
1359
- content: "\e903";
1360
  font-weight: 600;
1361
  }
1362
 
1363
  table.yith-plugin-fw__boxed-table.wp-list-table th.sorted.desc .sorting-indicator:before,
1364
  table.yith-plugin-fw__boxed-table.wp-list-table th.asc:hover span.sorting-indicator:before,
1365
  table.yith-plugin-fw__boxed-table.wp-list-table th.asc a:focus span.sorting-indicator:before {
1366
- content: "\e900";
1367
  font-weight: 600;
1368
  }
1369
 
@@ -1446,7 +1451,7 @@ table.yith-plugin-fw__boxed-table.wp-list-table tbody tr:hover .yith-plugin-fw__
1446
 
1447
  .yith-plugin-ui--classic-wp-list-style table.wp-list-table .sorting-indicator:before, .yith-plugin-ui #plugin-fw-wc .yith-plugin-ui--classic-wp-list-style table.wp-list-table .sorting-indicator:before {
1448
  font-family: yith-icon;
1449
- content: "\f106";
1450
  color: inherit;
1451
  font-size: 10px;
1452
  top: 0;
@@ -1458,7 +1463,7 @@ table.yith-plugin-fw__boxed-table.wp-list-table tbody tr:hover .yith-plugin-fw__
1458
  .yith-plugin-ui--classic-wp-list-style table.wp-list-table th.desc a:focus span.sorting-indicator:before, .yith-plugin-ui #plugin-fw-wc .yith-plugin-ui--classic-wp-list-style table.wp-list-table th.sorted.asc .sorting-indicator:before,
1459
  .yith-plugin-ui #plugin-fw-wc .yith-plugin-ui--classic-wp-list-style table.wp-list-table th.desc:hover span.sorting-indicator:before,
1460
  .yith-plugin-ui #plugin-fw-wc .yith-plugin-ui--classic-wp-list-style table.wp-list-table th.desc a:focus span.sorting-indicator:before {
1461
- content: "\e903";
1462
  font-weight: 600;
1463
  }
1464
 
@@ -1467,7 +1472,7 @@ table.yith-plugin-fw__boxed-table.wp-list-table tbody tr:hover .yith-plugin-fw__
1467
  .yith-plugin-ui--classic-wp-list-style table.wp-list-table th.asc a:focus span.sorting-indicator:before, .yith-plugin-ui #plugin-fw-wc .yith-plugin-ui--classic-wp-list-style table.wp-list-table th.sorted.desc .sorting-indicator:before,
1468
  .yith-plugin-ui #plugin-fw-wc .yith-plugin-ui--classic-wp-list-style table.wp-list-table th.asc:hover span.sorting-indicator:before,
1469
  .yith-plugin-ui #plugin-fw-wc .yith-plugin-ui--classic-wp-list-style table.wp-list-table th.asc a:focus span.sorting-indicator:before {
1470
- content: "\e900";
1471
  font-weight: 600;
1472
  }
1473
 
@@ -1572,7 +1577,7 @@ table.yith-plugin-fw__boxed-table.wp-list-table tbody tr:hover .yith-plugin-fw__
1572
 
1573
  .yith-plugin-ui--boxed-wp-list-style table.wp-list-table .sorting-indicator:before, .yith-plugin-ui #plugin-fw-wc .yith-plugin-ui--boxed-wp-list-style table.wp-list-table .sorting-indicator:before {
1574
  font-family: yith-icon;
1575
- content: "\f106";
1576
  color: inherit;
1577
  font-size: 10px;
1578
  top: 0;
@@ -1584,7 +1589,7 @@ table.yith-plugin-fw__boxed-table.wp-list-table tbody tr:hover .yith-plugin-fw__
1584
  .yith-plugin-ui--boxed-wp-list-style table.wp-list-table th.desc a:focus span.sorting-indicator:before, .yith-plugin-ui #plugin-fw-wc .yith-plugin-ui--boxed-wp-list-style table.wp-list-table th.sorted.asc .sorting-indicator:before,
1585
  .yith-plugin-ui #plugin-fw-wc .yith-plugin-ui--boxed-wp-list-style table.wp-list-table th.desc:hover span.sorting-indicator:before,
1586
  .yith-plugin-ui #plugin-fw-wc .yith-plugin-ui--boxed-wp-list-style table.wp-list-table th.desc a:focus span.sorting-indicator:before {
1587
- content: "\e903";
1588
  font-weight: 600;
1589
  }
1590
 
@@ -1593,7 +1598,7 @@ table.yith-plugin-fw__boxed-table.wp-list-table tbody tr:hover .yith-plugin-fw__
1593
  .yith-plugin-ui--boxed-wp-list-style table.wp-list-table th.asc a:focus span.sorting-indicator:before, .yith-plugin-ui #plugin-fw-wc .yith-plugin-ui--boxed-wp-list-style table.wp-list-table th.sorted.desc .sorting-indicator:before,
1594
  .yith-plugin-ui #plugin-fw-wc .yith-plugin-ui--boxed-wp-list-style table.wp-list-table th.asc:hover span.sorting-indicator:before,
1595
  .yith-plugin-ui #plugin-fw-wc .yith-plugin-ui--boxed-wp-list-style table.wp-list-table th.asc a:focus span.sorting-indicator:before {
1596
- content: "\e900";
1597
  font-weight: 600;
1598
  }
1599
 
578
 
579
  .yith-plugin-ui .yith-plugin-fw__button--add:before, .yith-plugin-ui .yith-add-button:before, .wp-core-ui .yith-plugin-ui .yith-plugin-fw__button--add:before, .wp-core-ui .yith-plugin-ui .yith-add-button:before {
580
  font-family: yith-icon;
581
+ content: "";
582
  margin: 0 8px 0 -5px;
583
+ font-size: 1.15em;
584
  font-weight: 400;
585
  vertical-align: top;
586
  }
587
 
588
+ .yith-plugin-ui .yith-plugin-fw__button--add:before, .yith-plugin-ui .yith-add-button:before, .wp-core-ui .yith-plugin-ui .yith-plugin-fw__button--add:before, .wp-core-ui .yith-plugin-ui .yith-add-button:before {
589
+ display: inline-block;
590
+ margin: 0 10px 0 -5px;
591
+ font-size: .95em;
592
+ transition: transform .2s, margin .2s, font-size .2s;
593
+ transition-timing-function: ease-in-out;
594
+ }
595
+
596
  .yith-plugin-ui .yith-plugin-fw__button--add.closed, .yith-plugin-ui .yith-add-button.closed, .wp-core-ui .yith-plugin-ui .yith-plugin-fw__button--add.closed, .wp-core-ui .yith-plugin-ui .yith-add-button.closed {
597
  background: var(--yith-outline-bg);
598
  border: 1px solid var(--yith-outline-border);
613
  }
614
 
615
  .yith-plugin-ui .yith-plugin-fw__button--add.closed:before, .yith-plugin-ui .yith-add-button.closed:before, .wp-core-ui .yith-plugin-ui .yith-plugin-fw__button--add.closed:before, .wp-core-ui .yith-plugin-ui .yith-add-button.closed:before {
616
+ font-size: 1.15em;
 
617
  margin: 0 8px 0 -5px;
618
+ transform: rotate(-45deg);
 
 
619
  }
620
 
621
  .yith-plugin-ui .yith-plugin-fw__button--close, .wp-core-ui .yith-plugin-ui .yith-plugin-fw__button--close {
639
 
640
  .yith-plugin-ui .yith-plugin-fw__button--close:before, .wp-core-ui .yith-plugin-ui .yith-plugin-fw__button--close:before {
641
  font-family: yith-icon;
642
+ content: "";
643
  margin: 0 8px 0 -5px;
644
+ font-size: 1.15em;
645
  font-weight: 400;
646
  vertical-align: top;
647
  }
669
  font-family: yith-icon;
670
  content: "";
671
  margin: 0 8px 0 -5px;
672
+ font-size: 1.15em;
673
  font-weight: 400;
674
  vertical-align: top;
675
  }
697
  font-family: yith-icon;
698
  content: "";
699
  margin: 0 8px 0 -5px;
700
+ font-size: 1.15em;
701
  font-weight: 400;
702
  vertical-align: top;
703
  }
725
  font-family: yith-icon;
726
  content: "";
727
  margin: 0 8px 0 -5px;
728
+ font-size: 1.15em;
729
  font-weight: 400;
730
  vertical-align: top;
731
  }
753
  font-family: yith-icon;
754
  content: "";
755
  margin: 0 8px 0 -5px;
756
+ font-size: 1.15em;
757
  font-weight: 400;
758
  vertical-align: top;
759
  }
834
  top: 50%;
835
  left: 10px;
836
  transform: translateY(-50%);
837
+ font-size: 1em;
838
  font-weight: 400;
839
  }
840
 
1239
 
1240
  table.yith-plugin-fw__classic-table.wp-list-table .sorting-indicator:before {
1241
  font-family: yith-icon;
1242
+ content: "\f116";
1243
  color: inherit;
1244
  font-size: 10px;
1245
  top: 0;
1249
  table.yith-plugin-fw__classic-table.wp-list-table th.sorted.asc .sorting-indicator:before,
1250
  table.yith-plugin-fw__classic-table.wp-list-table th.desc:hover span.sorting-indicator:before,
1251
  table.yith-plugin-fw__classic-table.wp-list-table th.desc a:focus span.sorting-indicator:before {
1252
+ content: "\f113";
1253
  font-weight: 600;
1254
  }
1255
 
1256
  table.yith-plugin-fw__classic-table.wp-list-table th.sorted.desc .sorting-indicator:before,
1257
  table.yith-plugin-fw__classic-table.wp-list-table th.asc:hover span.sorting-indicator:before,
1258
  table.yith-plugin-fw__classic-table.wp-list-table th.asc a:focus span.sorting-indicator:before {
1259
+ content: "\f110";
1260
  font-weight: 600;
1261
  }
1262
 
1351
 
1352
  table.yith-plugin-fw__boxed-table.wp-list-table .sorting-indicator:before {
1353
  font-family: yith-icon;
1354
+ content: "\f116";
1355
  color: inherit;
1356
  font-size: 10px;
1357
  top: 0;
1361
  table.yith-plugin-fw__boxed-table.wp-list-table th.sorted.asc .sorting-indicator:before,
1362
  table.yith-plugin-fw__boxed-table.wp-list-table th.desc:hover span.sorting-indicator:before,
1363
  table.yith-plugin-fw__boxed-table.wp-list-table th.desc a:focus span.sorting-indicator:before {
1364
+ content: "\f113";
1365
  font-weight: 600;
1366
  }
1367
 
1368
  table.yith-plugin-fw__boxed-table.wp-list-table th.sorted.desc .sorting-indicator:before,
1369
  table.yith-plugin-fw__boxed-table.wp-list-table th.asc:hover span.sorting-indicator:before,
1370
  table.yith-plugin-fw__boxed-table.wp-list-table th.asc a:focus span.sorting-indicator:before {
1371
+ content: "\f110";
1372
  font-weight: 600;
1373
  }
1374
 
1451
 
1452
  .yith-plugin-ui--classic-wp-list-style table.wp-list-table .sorting-indicator:before, .yith-plugin-ui #plugin-fw-wc .yith-plugin-ui--classic-wp-list-style table.wp-list-table .sorting-indicator:before {
1453
  font-family: yith-icon;
1454
+ content: "\f116";
1455
  color: inherit;
1456
  font-size: 10px;
1457
  top: 0;
1463
  .yith-plugin-ui--classic-wp-list-style table.wp-list-table th.desc a:focus span.sorting-indicator:before, .yith-plugin-ui #plugin-fw-wc .yith-plugin-ui--classic-wp-list-style table.wp-list-table th.sorted.asc .sorting-indicator:before,
1464
  .yith-plugin-ui #plugin-fw-wc .yith-plugin-ui--classic-wp-list-style table.wp-list-table th.desc:hover span.sorting-indicator:before,
1465
  .yith-plugin-ui #plugin-fw-wc .yith-plugin-ui--classic-wp-list-style table.wp-list-table th.desc a:focus span.sorting-indicator:before {
1466
+ content: "\f113";
1467
  font-weight: 600;
1468
  }
1469
 
1472
  .yith-plugin-ui--classic-wp-list-style table.wp-list-table th.asc a:focus span.sorting-indicator:before, .yith-plugin-ui #plugin-fw-wc .yith-plugin-ui--classic-wp-list-style table.wp-list-table th.sorted.desc .sorting-indicator:before,
1473
  .yith-plugin-ui #plugin-fw-wc .yith-plugin-ui--classic-wp-list-style table.wp-list-table th.asc:hover span.sorting-indicator:before,
1474
  .yith-plugin-ui #plugin-fw-wc .yith-plugin-ui--classic-wp-list-style table.wp-list-table th.asc a:focus span.sorting-indicator:before {
1475
+ content: "\f110";
1476
  font-weight: 600;
1477
  }
1478
 
1577
 
1578
  .yith-plugin-ui--boxed-wp-list-style table.wp-list-table .sorting-indicator:before, .yith-plugin-ui #plugin-fw-wc .yith-plugin-ui--boxed-wp-list-style table.wp-list-table .sorting-indicator:before {
1579
  font-family: yith-icon;
1580
+ content: "\f116";
1581
  color: inherit;
1582
  font-size: 10px;
1583
  top: 0;
1589
  .yith-plugin-ui--boxed-wp-list-style table.wp-list-table th.desc a:focus span.sorting-indicator:before, .yith-plugin-ui #plugin-fw-wc .yith-plugin-ui--boxed-wp-list-style table.wp-list-table th.sorted.asc .sorting-indicator:before,
1590
  .yith-plugin-ui #plugin-fw-wc .yith-plugin-ui--boxed-wp-list-style table.wp-list-table th.desc:hover span.sorting-indicator:before,
1591
  .yith-plugin-ui #plugin-fw-wc .yith-plugin-ui--boxed-wp-list-style table.wp-list-table th.desc a:focus span.sorting-indicator:before {
1592
+ content: "\f113";
1593
  font-weight: 600;
1594
  }
1595
 
1598
  .yith-plugin-ui--boxed-wp-list-style table.wp-list-table th.asc a:focus span.sorting-indicator:before, .yith-plugin-ui #plugin-fw-wc .yith-plugin-ui--boxed-wp-list-style table.wp-list-table th.sorted.desc .sorting-indicator:before,
1599
  .yith-plugin-ui #plugin-fw-wc .yith-plugin-ui--boxed-wp-list-style table.wp-list-table th.asc:hover span.sorting-indicator:before,
1600
  .yith-plugin-ui #plugin-fw-wc .yith-plugin-ui--boxed-wp-list-style table.wp-list-table th.asc a:focus span.sorting-indicator:before {
1601
+ content: "\f110";
1602
  font-weight: 600;
1603
  }
1604
 
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/assets/js/yit-plugin-panel.js CHANGED
@@ -215,6 +215,21 @@ jQuery( function ( $ ) {
215
  mainForm = $( '#plugin-fw-wc' ),
216
  saveButton = document.querySelector( '#main-save-button' );
217
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
218
  function checkButtonPosition() {
219
  if ( isInViewport( saveButton ) ) {
220
  floatSaveButton.removeClass( 'visible' );
@@ -243,6 +258,9 @@ jQuery( function ( $ ) {
243
 
244
  $( document ).on( 'click', '#yith-plugin-fw-float-save-button', function ( e ) {
245
  e.preventDefault();
 
 
 
246
  floatSaveButton.block(
247
  {
248
  message : null,
215
  mainForm = $( '#plugin-fw-wc' ),
216
  saveButton = document.querySelector( '#main-save-button' );
217
 
218
+ function updateValuesForSpecialEditors() {
219
+ if ( 'tinyMCE' in window && 'triggerSave' in window.tinyMCE ) {
220
+ // Trigger saving to serialize the correct value for WP Editors.
221
+ window.tinyMCE.triggerSave();
222
+ }
223
+
224
+ // Trigger saving to serialize the correct value for each Codemirror Editor.
225
+ $( '.codemirror.codemirror--initialized' ).each( function () {
226
+ var editor = $( this ).data( 'codemirrorInstance' ) || false;
227
+ if ( editor && 'codemirror' in editor ) {
228
+ editor.codemirror.save();
229
+ }
230
+ } );
231
+ }
232
+
233
  function checkButtonPosition() {
234
  if ( isInViewport( saveButton ) ) {
235
  floatSaveButton.removeClass( 'visible' );
258
 
259
  $( document ).on( 'click', '#yith-plugin-fw-float-save-button', function ( e ) {
260
  e.preventDefault();
261
+
262
+ updateValuesForSpecialEditors();
263
+
264
  floatSaveButton.block(
265
  {
266
  message : null,
plugin-fw/assets/js/yit-plugin-panel.min.js CHANGED
@@ -1 +1 @@
1
- jQuery(function(e){function t(){e("[data-dep-target]:not( .deps-initialized )").each(function(){var t=e(this);if(!t.closest(".metaboxes-tab").length){t.addClass("deps-initialized");var a="#"+t.data("dep-target"),i="#"+t.data("dep-id"),n=t.data("dep-value"),s=t.data("dep-type");e(i).on("change",function(){!function(t,a,i,n){var s=!0;if("string"==typeof a){":radio"===a.substr(0,6)&&(a+=":checked");var d=e(a),o=d.attr("type"),r=d.val();switch(o){case"checkbox":r=d.is(":checked")?"yes":"no";break;case"radio":r=d.find('input[type="radio"]').filter(":checked").val()}i=i.split(",");for(var c=0;c<i.length;c++){if(r==i[c]){s=!0;break}s=!1}}var l=e(t),h=e(t+"-container").closest("tr");h.length<1&&(h=l.closest(".yith-plugin-fw-panel-wc-row, .yith-toggle-content-row"));var u,g=n.split("-");for(u in g){var f=g[u];if(s)switch(f){case"disable":h.removeClass("yith-disabled"),l.attr("disabled",!1);break;case"hide":case"hideNow":h.show();break;case"hideme":l.show();break;case"fadeOut":h.show();break;case"fadeInOut":case"fadeIn":default:h.show(500)}else switch(f){case"disable":h.addClass("yith-disabled"),l.attr("disabled",!0);break;case"hide":case"hideNow":h.hide();break;case"hideme":l.hide();break;case"fadeInOut":case"fadeOut":h.hide(500);break;case"fadeIn":default:h.hide()}}}(a,i,n.toString(),s)}).trigger("change")}})}t(),e(document).on("yith-add-box-button-toggle",t),e(".rm_connectedlist").each(function(){var t=e(this).find("ul"),a=e(this).find(":hidden");t.sortable({connectWith:t,update:function(i,n){var s={};t.each(function(){var t={};e(this).children().each(function(){t[e(this).data("option")]=e(this).text()}),s[e(this).data("list")]=t}),a.val(JSON.stringify(s).replace(/[\\"']/g,"\\$&").replace(/\u0000/g,"\\0"))}}).disableSelection()}),e(function(){e(".google-analytic-generate").click(function(){var t=e("#"+e(this).data("textarea")).data("codemirrorInstance"),a="(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){\n";a+="(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement( o ),\n",a+="m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)\n",a+="})(window,document,'script','//www.google-analytics.com/analytics.js','ga');\n\n",a+="ga('create', '"+e("#"+e(this).data("input")).val()+"', '"+e(this).data("basename")+"');\n",a+="ga('send', 'pageview');\n",t.replaceRange(a,t.getCursor("start"),t.getCursor("end"))})}),e(".yith-plugin-fw-panel .woo-nav-tab-wrapper").removeClass("woo-nav-tab-wrapper").addClass("yith-nav-tab-wrapper");var a=e(".wrap.yith-plugin-ui").first(),i=e("div.updated, div.error, div.notice");i.addClass("inline"),a.length&&a.prepend(i),function(){var t=e(".yith-nav-sub-tab.nav-tab-active"),a=e(".yith-plugin-fw-wp-page__sub-tab-wrap");if(t.length&&!a.length){var i=e(".yith-plugin-fw-wp-page-wrapper");if(i.length||(i=e("#wpbody-content > .yith-plugin-ui")),i){var n=i.find(".yit-admin-panel-content-wrap");n.length?n.addClass("has-subnav"):i.find(".wrap").wrap('<div class="yith-plugin-fw-wp-page__sub-tab-wrap"></div>')}}}(),function(){var t=e("#yith-plugin-fw-float-save-button"),a=e("#plugin-fw-wc"),i=document.querySelector("#main-save-button");function n(){var e,a;e=i.getBoundingClientRect(),a={width:window.innerWidth||document.documentElement.clientWidth,height:window.innerHeight||document.documentElement.clientHeight},e.top>=0&&e.left>=0&&e.top<=a.height&&e.left<=a.width?t.removeClass("visible"):t.addClass("visible")}t.length>0&&a.length>0&&(n(),document.addEventListener("scroll",n,{passive:!0}),e(document).on("click","#yith-plugin-fw-float-save-button",function(i){i.preventDefault(),t.block({message:null,overlayCSS:{background:"transparent",opacity:.6}}),e.post(document.location.href,a.serialize()).done(function(a){t.unblock().addClass("green").fadeOut(300).html('<i class="yith-icon yith-icon-check"></i>'+t.data("saved-label")).fadeIn(300).delay(2500).queue(function(a){t.fadeOut(500,function(){e(this).removeClass("green"),e(this).html('<i class="yith-icon yith-icon-save"></i>'+e(this).data("default-label")).fadeIn(500)}),a()}),window.onbeforeunload=null,e(document).trigger("yith-plugin-fw-float-save-button-after-saving",[a])})}))}()});
1
+ jQuery(function(e){function t(){e("[data-dep-target]:not( .deps-initialized )").each(function(){var t=e(this);if(!t.closest(".metaboxes-tab").length){t.addClass("deps-initialized");var a="#"+t.data("dep-target"),i="#"+t.data("dep-id"),n=t.data("dep-value"),o=t.data("dep-type");e(i).on("change",function(){!function(t,a,i,n){var o=!0;if("string"==typeof a){":radio"===a.substr(0,6)&&(a+=":checked");var r=e(a),d=r.attr("type"),s=r.val();switch(d){case"checkbox":s=r.is(":checked")?"yes":"no";break;case"radio":s=r.find('input[type="radio"]').filter(":checked").val()}i=i.split(",");for(var c=0;c<i.length;c++){if(s==i[c]){o=!0;break}o=!1}}var l=e(t),h=e(t+"-container").closest("tr");h.length<1&&(h=l.closest(".yith-plugin-fw-panel-wc-row, .yith-toggle-content-row"));var u,g=n.split("-");for(u in g){var f=g[u];if(o)switch(f){case"disable":h.removeClass("yith-disabled"),l.attr("disabled",!1);break;case"hide":case"hideNow":h.show();break;case"hideme":l.show();break;case"fadeOut":h.show();break;case"fadeInOut":case"fadeIn":default:h.show(500)}else switch(f){case"disable":h.addClass("yith-disabled"),l.attr("disabled",!0);break;case"hide":case"hideNow":h.hide();break;case"hideme":l.hide();break;case"fadeInOut":case"fadeOut":h.hide(500);break;case"fadeIn":default:h.hide()}}}(a,i,n.toString(),o)}).trigger("change")}})}t(),e(document).on("yith-add-box-button-toggle",t),e(".rm_connectedlist").each(function(){var t=e(this).find("ul"),a=e(this).find(":hidden");t.sortable({connectWith:t,update:function(i,n){var o={};t.each(function(){var t={};e(this).children().each(function(){t[e(this).data("option")]=e(this).text()}),o[e(this).data("list")]=t}),a.val(JSON.stringify(o).replace(/[\\"']/g,"\\$&").replace(/\u0000/g,"\\0"))}}).disableSelection()}),e(function(){e(".google-analytic-generate").click(function(){var t=e("#"+e(this).data("textarea")).data("codemirrorInstance"),a="(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){\n";a+="(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement( o ),\n",a+="m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)\n",a+="})(window,document,'script','//www.google-analytics.com/analytics.js','ga');\n\n",a+="ga('create', '"+e("#"+e(this).data("input")).val()+"', '"+e(this).data("basename")+"');\n",a+="ga('send', 'pageview');\n",t.replaceRange(a,t.getCursor("start"),t.getCursor("end"))})}),e(".yith-plugin-fw-panel .woo-nav-tab-wrapper").removeClass("woo-nav-tab-wrapper").addClass("yith-nav-tab-wrapper");var a=e(".wrap.yith-plugin-ui").first(),i=e("div.updated, div.error, div.notice");i.addClass("inline"),a.length&&a.prepend(i),function(){var t=e(".yith-nav-sub-tab.nav-tab-active"),a=e(".yith-plugin-fw-wp-page__sub-tab-wrap");if(t.length&&!a.length){var i=e(".yith-plugin-fw-wp-page-wrapper");if(i.length||(i=e("#wpbody-content > .yith-plugin-ui")),i){var n=i.find(".yit-admin-panel-content-wrap");n.length?n.addClass("has-subnav"):i.find(".wrap").wrap('<div class="yith-plugin-fw-wp-page__sub-tab-wrap"></div>')}}}(),function(){var t=e("#yith-plugin-fw-float-save-button"),a=e("#plugin-fw-wc"),i=document.querySelector("#main-save-button");function n(){var e,a;e=i.getBoundingClientRect(),a={width:window.innerWidth||document.documentElement.clientWidth,height:window.innerHeight||document.documentElement.clientHeight},e.top>=0&&e.left>=0&&e.top<=a.height&&e.left<=a.width?t.removeClass("visible"):t.addClass("visible")}t.length>0&&a.length>0&&(n(),document.addEventListener("scroll",n,{passive:!0}),e(document).on("click","#yith-plugin-fw-float-save-button",function(i){i.preventDefault(),"tinyMCE"in window&&"triggerSave"in window.tinyMCE&&window.tinyMCE.triggerSave(),e(".codemirror.codemirror--initialized").each(function(){var t=e(this).data("codemirrorInstance")||!1;t&&"codemirror"in t&&t.codemirror.save()}),t.block({message:null,overlayCSS:{background:"transparent",opacity:.6}}),e.post(document.location.href,a.serialize()).done(function(a){t.unblock().addClass("green").fadeOut(300).html('<i class="yith-icon yith-icon-check"></i>'+t.data("saved-label")).fadeIn(300).delay(2500).queue(function(a){t.fadeOut(500,function(){e(this).removeClass("green"),e(this).html('<i class="yith-icon yith-icon-save"></i>'+e(this).data("default-label")).fadeIn(500)}),a()}),window.onbeforeunload=null,e(document).trigger("yith-plugin-fw-float-save-button-after-saving",[a])})}))}()});
plugin-fw/assets/js/yith-fields.js CHANGED
@@ -791,6 +791,23 @@
791
  $( '.select2-results' ).closest( '.select2-container' ).addClass( 'yith-plugin-fw-select2-container' );
792
  }
793
  } );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
794
  /**
795
  * Dimensions
796
  */
791
  $( '.select2-results' ).closest( '.select2-container' ).addClass( 'yith-plugin-fw-select2-container' );
792
  }
793
  } );
794
+
795
+ /**
796
+ * Select2 - focus on search field when opened and the select is not multiple.
797
+ * For multiple select this is already handled by select2.
798
+ */
799
+ $( document ).on( 'select2:open', function ( e ) {
800
+ if ( !e.target.multiple ) {
801
+ setTimeout(
802
+ function () {
803
+ document.querySelector( '.yith-plugin-fw-select2-container .select2-search__field' ).focus();
804
+ },
805
+ 50
806
+ )
807
+ }
808
+ } );
809
+
810
+
811
  /**
812
  * Dimensions
813
  */
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' => '3e03d6f4dfaa9af2a7d13b1a840b3253');
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' => 'ec5c5e974d97e00eb3f18286c25e0840');
plugin-fw/dist/gutenberg/index.js CHANGED
@@ -1 +1 @@
1
- !function(){var e,t={684:function(e,t,n){"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function o(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,a=[],_n=!0,c=!1;try{for(n=n.call(e);!(_n=(r=n.next()).done)&&(a.push(r.value),!t||a.length!==t);_n=!0);}catch(e){c=!0,o=e}finally{try{_n||null==n.return||n.return()}finally{if(c)throw o}}return a}}(e,t)||function(e,t){if(e){if("string"==typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(e,t):void 0}}(e,t)||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.")}()}var a=window.wp.element,c=window.React,l=n(568),i=n.n(l),u=window.wp.blocks,s=window.wp.url;function f(e){if(e.status>=200&&e.status<300)return e;throw e}function h(e){return e.json?e.json():e.text()}var p=(0,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"},(0,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"})),d=window.lodash,b=n.n(d),y=function(e,t,n){var r=!0;if(t&&t.id&&"value"in t){var o=t.value;["toggle","checkbox"].includes(n)&&(o=!0===o||"yes"===o||1===o),o=b().isArray(o)?o:[o],r=void 0!==e[t.id]&&o.includes(e[t.id])}return r},g=function(e,t){var n=e.controlType,r=!0;if(e.deps)if(b().isArray(e.deps))for(var o in e.deps){var a=e.deps[o];if(!(r=y(t,a,n)))break}else r=y(t,e.deps,n);return r},m=function(e,t){var n="",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)n=r(t,e);else{var a=e.attributes?Object.entries(e.attributes).map((function(e){var n=o(e,2),r=n[0],a=n[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(" "):"";n="[".concat(e.shortcode_name).concat(c,"]")}return n},v=window.wp.components,_=window.wp.blockEditor;function w(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function k(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function C(e,t){return C=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},C(e,t)}function j(e){return j="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},j(e)}function x(e,t){if(t&&("object"===j(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function E(e){return E=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},E(e)}var T=window.wp.hooks;var S=function(e){!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&&C(e,t)}(l,e);var t,n,r,o,c=(r=l,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,t=E(r);if(o){var n=E(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return x(this,e)});function l(){var e;return w(this,l),(e=c.apply(this,arguments)).state={html:"",shortcode:"",shortcodeHash:"",ajaxUpdated:!1,ajaxSuccess:!1,ajaxResponse:!1,loading:!1,firstLoading:!0},e.ajaxTimeout=!1,e}return t=l,n=[{key:"componentDidMount",value:function(){this.updateShortcode()}},{key:"componentDidUpdate",value:function(e,t,n){var r=this.state,o=r.shortcode,a=r.shortcodeHash,c=r.ajaxSuccess,l=r.ajaxResponse,i=r.ajaxUpdated;(0,d.isEqual)(e,this.props)||this.updateShortcode(),this.props.blockArgs.do_shortcode&&i&&(c&&(0,T.doAction)("yith_plugin_fw_gutenberg_success_do_shortcode",o,a,l),(0,T.doAction)("yith_plugin_fw_gutenberg_after_do_shortcode",o,a,l),this.setState({ajaxUpdated:!1}))}},{key:"updateShortcode",value:function(){var e=this,t=this.props,n=t.attributes,r=t.blockArgs;this.setState({loading:!0,ajaxSuccess:!1,ajaxResponse:!1});var o=m(r,n),a=i()(o);r.do_shortcode?(this.ajaxTimeout&&clearTimeout(this.ajaxTimeout),(0,T.doAction)("yith_plugin_fw_gutenberg_before_do_shortcode",o,a),this.ajaxTimeout=setTimeout((function(){(function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:yithGutenberg.ajaxurl;return t=(0,s.addQueryArgs)(t,e),fetch(t).then(f).then(h)})({action:"yith_plugin_fw_gutenberg_do_shortcode",shortcode:o}).then((function(t){e.setState({loading:!1,firstLoading:!1,html:t.html,shortcode:o,shortcodeHash:a,ajaxSuccess:!0,ajaxUpdated:!0,ajaxResponse:t})})).catch((function(e){console.log({error:e})}))}),300)):this.setState({loading:!1,firstLoading:!1,html:o,shortcode:o,shortcodeHash:a})}},{key:"render",value:function(){var e=this.state,t=e.html,n=e.loading,r=e.firstLoading,o=e.shortcode,c=e.shortcodeHash,l=this.props.blockArgs,i=l.do_shortcode,u=l.title,s=l.empty_message,f="block-editor-yith-plugin-fw-shortcode-block",h=[f],d=i?"html":"shortcode",b=t,y="";r&&n?d="first-loading":i&&!t&&(d="empty-html",b=o,!n&&s&&(y=s));var g=["first-loading","empty-html","shortcode"].includes(d),m=!["first-loading","empty-html"].includes(d),_=!!y;return h.push("".concat(f,"--").concat(d)),h.push("".concat(f,_?"--has-message":"--no-message")),h.push("yith_block_".concat(c)),(0,a.createElement)(a.Fragment,null,(0,a.createElement)("div",{className:h.join(" ")},n?(0,a.createElement)("div",{className:"".concat(f,"__spinner-wrap")},(0,a.createElement)(v.Spinner,null)):"",g&&(0,a.createElement)("div",{className:"".concat(f,"__title components-placeholder__label")},p,u),_&&(0,a.createElement)(a.RawHTML,{className:"".concat(f,"__message")},y),m&&(0,a.createElement)(a.RawHTML,{className:"".concat(f,"__content")},b)))}}],n&&k(t.prototype,n),l}(c.Component),A=window.wp.compose;function O(e){var t=e.className,n=e.label,r=e.onChange,o=e.value,c=e.help,l=e.disableAlpha,i=(0,A.useInstanceId)(O),u="inspector-yith-color-picker-control-".concat(i);return(0,a.createElement)(v.BaseControl,{id:u,label:n,className:"block-editor-yith-color-control ".concat(t),help:c},(0,a.createElement)(v.ColorPicker,{color:o,disableAlpha:l,onChangeComplete:r}))}function B(e){var t=e.label,n=e.colorValue;return(0,a.createElement)(a.Fragment,null,t,!!n&&(0,a.createElement)(v.ColorIndicator,{colorValue:n}))}function N(e){var t=e.className,n=e.label,r=e.onChange,o=e.value,c=e.help,l=e.palette,i=e.clearable;l=l||(0,_.__experimentalUseEditorFeature)("color.palette");var u=(0,A.useInstanceId)(N),s="inspector-yith-color-palette-control-".concat(u);return(0,a.createElement)(v.BaseControl,{id:s,className:"block-editor-yith-color-palette-control ".concat(t),help:c},(0,a.createElement)("fieldset",null,(0,a.createElement)("legend",null,(0,a.createElement)("div",{className:"block-editor-yith-color-palette-control__color-indicator"},(0,a.createElement)(v.BaseControl.VisualLabel,null,(0,a.createElement)(B,{colorValue:o,label:n})))),(0,a.createElement)(v.ColorPalette,{value:o,onChange:r,colors:l,clearable:i})))}for(var R=function(e,t){return function(n){var r=n.attributes,c=(n.className,n.setAttributes),l=function(e,t,n){["colorpicker","color"].includes(n)&&(e=e.color.getAlpha()<1?e.color.toRgbString():e.color.toHexString());var r={};r[t]=e,c(r)};return(0,a.createElement)(a.Fragment,null,!!t.attributes&&(0,a.createElement)(_.InspectorControls,null,(0,a.createElement)(v.PanelBody,null,Object.entries(t.attributes).map((function(t){var n=o(t,2),c=function(t,n){var o=n.controlType,c=r[t],i=function(e,t){var n="";return e.helps&&e.helps.checked&&e.helps.unchecked?n=t?e.helps.checked:e.helps.unchecked:e.help&&(n=e.help),n}(n,c),u="".concat(e,"__").concat(t,"-field-wrapper"),s=g(n,r);n.wrapper_class&&(u+=" "+n.wrapper_class);var f=!1;if(s)switch(o){case"select":f=(0,a.createElement)(v.SelectControl,{className:u,key:t,value:c,label:n.label,options:n.options,selected:c,help:i,multiple:!!n.multiple,onChange:function(e){l(e,t,o)}});break;case"text":f=(0,a.createElement)(v.TextControl,{className:u,key:t,value:c,label:n.label,help:i,onChange:function(e){l(e,t,o)}});break;case"textarea":f=(0,a.createElement)(v.TextareaControl,{className:u,key:t,value:c,label:n.label,help:i,onChange:function(e){l(e,t,o)}});break;case"toggle":f=(0,a.createElement)(v.ToggleControl,{className:u,key:t,value:c,label:n.label,help:i,checked:c,onChange:function(e){l(e,t,o)}});break;case"checkbox":f=(0,a.createElement)(v.CheckboxControl,{className:u,key:t,value:c,label:n.label,help:i,checked:c,onChange:function(e){l(e,t,o)}});break;case"number":case"range":f=(0,a.createElement)(v.RangeControl,{className:u,key:t,value:c,label:n.label,help:i,min:n.min,max:n.max,onChange:function(e){l(e,t,o)}});break;case"color":case"colorpicker":f=(0,a.createElement)(O,{className:u,key:t,label:n.label,help:i,value:c,disableAlpha:n.disableAlpha,onChange:function(e){l(e,t,o)}});break;case"color-palette":f=(0,a.createElement)(N,{className:u,key:t,label:n.label,help:i,value:c,clearable:n.clearable||!1,onChange:function(e){l(e,t,o)}});break;case"radio":f=(0,a.createElement)(v.RadioControl,{key:t,value:c,label:n.label,options:n.options,selected:c,checked:c,help:i,onChange:function(e){l(e,t,o)}});break;default:f=!1}return f}(n[0],n[1]);if(c)return c})))),(0,a.createElement)(S,{attributes:r,blockArgs:t}))}},I=function(){var e=M[H];(0,T.addAction)(e.key,"yith-plugin-fw/jquery-events",(function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];"jQuery"in window&&(e.delay?setTimeout((function(){jQuery(document).trigger(e.key,Object.values(n))}),e.delay):jQuery(document).trigger(e.key,Object.values(n)))}))},H=0,M=[{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}];H<M.length;H++)I();for(var P=function(){var e=o(U[L],2),t=e[0],n=e[1];(0,u.registerBlockType)("yith/"+t,{title:n.title,description:n.description,category:n.category,attributes:n.attributes,icon:void 0!==n.icon?n.icon:p,keywords:n.keywords,edit:R(t,n),save:function(e){var t=e.attributes;return m(n,t)},deprecated:[{attributes:n.attributes,save:function(e){var t=e.attributes,r=m(n,t),o='<span class="yith_block_'+i()(r)+'">'+r+"</span>";return(0,a.createElement)(a.RawHTML,null,o)}}]})},L=0,U=Object.entries(yithGutenbergBlocks);L<U.length;L++)P()},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=[],n=0;n<e.length;n++)t.push(255&e.charCodeAt(n));return t},bytesToString:function(e){for(var t=[],n=0;n<e.length;n++)t.push(String.fromCharCode(e[n]));return t.join("")}}};e.exports=t},12:function(e){var t,n;t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",n={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&n.rotl(e,8)|4278255360&n.rotl(e,24);for(var t=0;t<e.length;t++)e[t]=n.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=[],n=0,r=0;n<e.length;n++,r+=8)t[r>>>5]|=e[n]<<24-r%32;return t},wordsToBytes:function(e){for(var t=[],n=0;n<32*e.length;n+=8)t.push(e[n>>>5]>>>24-n%32&255);return t},bytesToHex:function(e){for(var t=[],n=0;n<e.length;n++)t.push((e[n]>>>4).toString(16)),t.push((15&e[n]).toString(16));return t.join("")},hexToBytes:function(e){for(var t=[],n=0;n<e.length;n+=2)t.push(parseInt(e.substr(n,2),16));return t},bytesToBase64:function(e){for(var n=[],r=0;r<e.length;r+=3)for(var o=e[r]<<16|e[r+1]<<8|e[r+2],a=0;a<4;a++)8*r+6*a<=8*e.length?n.push(t.charAt(o>>>6*(3-a)&63)):n.push("=");return n.join("")},base64ToBytes:function(e){e=e.replace(/[^A-Z0-9+\/]/gi,"");for(var n=[],r=0,o=0;r<e.length;o=++r%4)0!=o&&n.push((t.indexOf(e.charAt(r-1))&Math.pow(2,-2*o+8)-1)<<2*o|t.indexOf(e.charAt(r))>>>6-2*o);return n}},e.exports=n},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,n){var r,o,a,c,l;r=n(12),o=n(487).utf8,a=n(738),c=n(487).bin,(l=function(e,t){e.constructor==String?e=t&&"binary"===t.encoding?c.stringToBytes(e):o.stringToBytes(e):a(e)?e=Array.prototype.slice.call(e,0):Array.isArray(e)||e.constructor===Uint8Array||(e=e.toString());for(var n=r.bytesToWords(e),i=8*e.length,u=1732584193,s=-271733879,f=-1732584194,h=271733878,p=0;p<n.length;p++)n[p]=16711935&(n[p]<<8|n[p]>>>24)|4278255360&(n[p]<<24|n[p]>>>8);n[i>>>5]|=128<<i%32,n[14+(i+64>>>9<<4)]=i;var d=l._ff,b=l._gg,y=l._hh,g=l._ii;for(p=0;p<n.length;p+=16){var m=u,v=s,_=f,w=h;u=d(u,s,f,h,n[p+0],7,-680876936),h=d(h,u,s,f,n[p+1],12,-389564586),f=d(f,h,u,s,n[p+2],17,606105819),s=d(s,f,h,u,n[p+3],22,-1044525330),u=d(u,s,f,h,n[p+4],7,-176418897),h=d(h,u,s,f,n[p+5],12,1200080426),f=d(f,h,u,s,n[p+6],17,-1473231341),s=d(s,f,h,u,n[p+7],22,-45705983),u=d(u,s,f,h,n[p+8],7,1770035416),h=d(h,u,s,f,n[p+9],12,-1958414417),f=d(f,h,u,s,n[p+10],17,-42063),s=d(s,f,h,u,n[p+11],22,-1990404162),u=d(u,s,f,h,n[p+12],7,1804603682),h=d(h,u,s,f,n[p+13],12,-40341101),f=d(f,h,u,s,n[p+14],17,-1502002290),u=b(u,s=d(s,f,h,u,n[p+15],22,1236535329),f,h,n[p+1],5,-165796510),h=b(h,u,s,f,n[p+6],9,-1069501632),f=b(f,h,u,s,n[p+11],14,643717713),s=b(s,f,h,u,n[p+0],20,-373897302),u=b(u,s,f,h,n[p+5],5,-701558691),h=b(h,u,s,f,n[p+10],9,38016083),f=b(f,h,u,s,n[p+15],14,-660478335),s=b(s,f,h,u,n[p+4],20,-405537848),u=b(u,s,f,h,n[p+9],5,568446438),h=b(h,u,s,f,n[p+14],9,-1019803690),f=b(f,h,u,s,n[p+3],14,-187363961),s=b(s,f,h,u,n[p+8],20,1163531501),u=b(u,s,f,h,n[p+13],5,-1444681467),h=b(h,u,s,f,n[p+2],9,-51403784),f=b(f,h,u,s,n[p+7],14,1735328473),u=y(u,s=b(s,f,h,u,n[p+12],20,-1926607734),f,h,n[p+5],4,-378558),h=y(h,u,s,f,n[p+8],11,-2022574463),f=y(f,h,u,s,n[p+11],16,1839030562),s=y(s,f,h,u,n[p+14],23,-35309556),u=y(u,s,f,h,n[p+1],4,-1530992060),h=y(h,u,s,f,n[p+4],11,1272893353),f=y(f,h,u,s,n[p+7],16,-155497632),s=y(s,f,h,u,n[p+10],23,-1094730640),u=y(u,s,f,h,n[p+13],4,681279174),h=y(h,u,s,f,n[p+0],11,-358537222),f=y(f,h,u,s,n[p+3],16,-722521979),s=y(s,f,h,u,n[p+6],23,76029189),u=y(u,s,f,h,n[p+9],4,-640364487),h=y(h,u,s,f,n[p+12],11,-421815835),f=y(f,h,u,s,n[p+15],16,530742520),u=g(u,s=y(s,f,h,u,n[p+2],23,-995338651),f,h,n[p+0],6,-198630844),h=g(h,u,s,f,n[p+7],10,1126891415),f=g(f,h,u,s,n[p+14],15,-1416354905),s=g(s,f,h,u,n[p+5],21,-57434055),u=g(u,s,f,h,n[p+12],6,1700485571),h=g(h,u,s,f,n[p+3],10,-1894986606),f=g(f,h,u,s,n[p+10],15,-1051523),s=g(s,f,h,u,n[p+1],21,-2054922799),u=g(u,s,f,h,n[p+8],6,1873313359),h=g(h,u,s,f,n[p+15],10,-30611744),f=g(f,h,u,s,n[p+6],15,-1560198380),s=g(s,f,h,u,n[p+13],21,1309151649),u=g(u,s,f,h,n[p+4],6,-145523070),h=g(h,u,s,f,n[p+11],10,-1120210379),f=g(f,h,u,s,n[p+2],15,718787259),s=g(s,f,h,u,n[p+9],21,-343485551),u=u+m>>>0,s=s+v>>>0,f=f+_>>>0,h=h+w>>>0}return r.endian([u,s,f,h])})._ff=function(e,t,n,r,o,a,c){var l=e+(t&n|~t&r)+(o>>>0)+c;return(l<<a|l>>>32-a)+t},l._gg=function(e,t,n,r,o,a,c){var l=e+(t&r|n&~r)+(o>>>0)+c;return(l<<a|l>>>32-a)+t},l._hh=function(e,t,n,r,o,a,c){var l=e+(t^n^r)+(o>>>0)+c;return(l<<a|l>>>32-a)+t},l._ii=function(e,t,n,r,o,a,c){var l=e+(n^(t|~r))+(o>>>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 n=r.wordsToBytes(l(e,t));return t&&t.asBytes?n:t&&t.asString?c.bytesToString(n):r.bytesToHex(n)}}},n={};function r(e){var o=n[e];if(void 0!==o)return o.exports;var a=n[e]={exports:{}};return t[e](a,a.exports,r),a.exports}r.m=t,e=[],r.O=function(t,n,o,a){if(!n){var c=1/0;for(s=0;s<e.length;s++){n=e[s][0],o=e[s][1],a=e[s][2];for(var l=!0,i=0;i<n.length;i++)(!1&a||c>=a)&&Object.keys(r.O).every((function(e){return r.O[e](n[i])}))?n.splice(i--,1):(l=!1,a<c&&(c=a));if(l){e.splice(s--,1);var u=o();void 0!==u&&(t=u)}}return t}a=a||0;for(var s=e.length;s>0&&e[s-1][2]>a;s--)e[s]=e[s-1];e[s]=[n,o,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 n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},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,n){var o,a,c=n[0],l=n[1],i=n[2],u=0;if(c.some((function(t){return 0!==e[t]}))){for(o in l)r.o(l,o)&&(r.m[o]=l[o]);if(i)var s=i(r)}for(t&&t(n);u<c.length;u++)a=c[u],r.o(e,a)&&e[a]&&e[a][0](),e[c[u]]=0;return r.O(s)},n=self.webpackChunkyith_plugin_framewowrk=self.webpackChunkyith_plugin_framewowrk||[];n.forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n))}();var o=r.O(void 0,[46],(function(){return r(684)}));o=r.O(o)}();
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 w({className:e,label:t,onChange:o,value:n,help:a,disableAlpha:l}){const s=`inspector-yith-color-picker-control-${(0,C.useInstanceId)(w)}`;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 k({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.useSetting)("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)(k,{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,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,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,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)(w,{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,label:n.label,options:n.options,selected: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/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
@@ -807,6 +807,26 @@ if ( ! class_exists( 'YIT_Plugin_Panel' ) ) {
807
  )
808
  );
809
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
810
  // set template variables.
811
  $current_tab = $this->get_current_tab();
812
  $current_sub_tab = $this->get_current_sub_tab();
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/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.8
5
  * Author: YITH
6
  * Text Domain: yith-plugin-fw
7
  * Domain Path: /languages/
8
  *
9
  * @author YITH
10
- * @version 3.7.8
11
  * @package YITH\PluginFramework
12
  */
13
 
1
  <?php
2
  /**
3
  * Framework Name: YIT Plugin Framework
4
+ * Version: 3.8.2
5
  * Author: YITH
6
  * Text Domain: yith-plugin-fw
7
  * Domain Path: /languages/
8
  *
9
  * @author YITH
10
+ * @version 3.8.2
11
  * @package YITH\PluginFramework
12
  */
13
 
plugin-fw/languages/yith-plugin-fw-el.mo CHANGED
Binary file
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-28 14:13:11+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
 
@@ -23,12 +23,12 @@ 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: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 ""
@@ -113,62 +113,62 @@ msgstr "Είστε σίγουρος;"
113
  msgid "Reset to default"
114
  msgstr "Επαναφορά σε προεπιλεγμένο"
115
 
116
- #: includes/class-yit-plugin-panel.php:959
117
  msgid ""
118
  "The element you have entered already exists. Please, enter another name."
119
  msgstr "Το στοιχείο που εισάγατε υπάρχει ήδη. Παρακαλώ, εισάγετε άλλο όνομα."
120
 
121
- #: includes/class-yit-plugin-panel.php:960
122
  msgid "Settings saved"
123
  msgstr "Ρυθμίσεις αποθηκεύτηκαν"
124
 
125
- #: includes/class-yit-plugin-panel.php:961
126
  msgid "Settings reset"
127
  msgstr "Επαναφορά ρυθμίσεων"
128
 
129
- #: includes/class-yit-plugin-panel.php:962
130
  msgid "Element deleted correctly."
131
  msgstr "Το στοιχείο διαγράφηκε επιτυχώς."
132
 
133
- #: includes/class-yit-plugin-panel.php:963
134
- #: includes/class-yit-plugin-panel.php:964
135
  msgid "Element updated correctly."
136
  msgstr "Το στοιχείο αναβαθμίστηκε επιτυχώς."
137
 
138
- #: includes/class-yit-plugin-panel.php:965
139
  msgid "Database imported correctly."
140
  msgstr "Επιτυχής εισαγωγή βάσης δεδομένων."
141
 
142
- #: includes/class-yit-plugin-panel.php:966
143
  msgid "An error has occurred during import. Please try again."
144
  msgstr "Παρουσιάστηκε σφάλμα κατά την εισαγωγή. Παρακαλώ προσπαθήστε ξανά."
145
 
146
- #: includes/class-yit-plugin-panel.php:967
147
  msgid "The added file is not valid."
148
  msgstr "Το προστιθέμενο αρχείο δεν είναι έγκυρο."
149
 
150
- #: includes/class-yit-plugin-panel.php:968
151
  msgid "Sorry, import is disabled."
152
  msgstr "Συγνώμη, η εισαγωγή είναι απενεργοποιημένη."
153
 
154
- #: includes/class-yit-plugin-panel.php:969
155
  msgid "Sorting successful."
156
  msgstr "Διαλογή επιτυχής."
157
 
158
- #: includes/class-yit-plugin-panel.php:1437
159
  msgid "We need your support"
160
  msgstr "Χρειαζόμαστε την υποστήριξή σας"
161
 
162
- #: includes/class-yit-plugin-panel.php:1438
163
  msgid "to keep updating and improving the plugin. Please,"
164
  msgstr ""
165
  "για να διατηρήσετε την ενημέρωση και τη βελτίωση του πρόσθετου. Παρακαλώ,"
166
 
167
- #: includes/class-yit-plugin-panel.php:1440
168
  msgid "help us by leaving a good review"
169
  msgstr ""
170
 
171
- #: includes/class-yit-plugin-panel.php:1441
172
  msgid ":) Thanks!"
173
  msgstr ":) Ευχαριστώ!"
174
 
@@ -463,7 +463,7 @@ msgstr "Προσαρμογή:"
463
  msgid "Preview:"
464
  msgstr "Προεπισκόπηση:"
465
 
466
- #: templates/fields/icons.php:63
467
  msgid "Set Default"
468
  msgstr "Ορίστε Προεπιλεγμένο"
469
 
@@ -665,20 +665,20 @@ 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:1894
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:1896 yit-functions.php:2056
674
  msgid "Are you sure you want to delete \"%s\"?"
675
  msgstr ""
676
 
677
- #: yit-functions.php:1994 yit-functions.php:2002 yit-functions.php:2119
678
  msgid "Further actions"
679
  msgstr ""
680
 
681
- #: yit-plugin.php:206
682
  msgid "License"
683
  msgstr "Άδεια χρήσης προϊόντος"
684
 
@@ -707,13 +707,13 @@ msgctxt "Button text"
707
  msgid "Cancel"
708
  msgstr ""
709
 
710
- #: includes/class-yit-assets.php:148 yit-functions.php:1965
711
  msgctxt "Trash confirmation action"
712
  msgid "Yes, move to trash"
713
  msgstr ""
714
 
715
- #: includes/class-yit-assets.php:152 yit-functions.php:1983
716
- #: yit-functions.php:2110
717
  msgctxt "Delete confirmation action"
718
  msgid "Yes, delete"
719
  msgstr ""
@@ -919,82 +919,82 @@ msgctxt "Help tab submit ticket button"
919
  msgid "Submit a ticket"
920
  msgstr ""
921
 
922
- #: yit-functions.php:1908
923
  msgctxt "Post action"
924
  msgid "Preview"
925
  msgstr ""
926
 
927
- #: yit-functions.php:1917
928
  msgctxt "Post action"
929
  msgid "View"
930
  msgstr ""
931
 
932
- #: yit-functions.php:1928
933
  msgctxt "Post action"
934
  msgid "Edit"
935
  msgstr ""
936
 
937
- #: yit-functions.php:1936
938
  msgctxt "Post action"
939
  msgid "Duplicate"
940
  msgstr ""
941
 
942
- #: yit-functions.php:1948
943
  msgctxt "Post action"
944
  msgid "Restore"
945
  msgstr ""
946
 
947
- #: yit-functions.php:1956
948
  msgctxt "Post action"
949
  msgid "Trash"
950
  msgstr ""
951
 
952
- #: yit-functions.php:1973
953
  msgctxt "Post action"
954
  msgid "Delete Permanently"
955
  msgstr ""
956
 
957
- #: yit-functions.php:2070
958
  msgctxt "Term action"
959
  msgid "View"
960
  msgstr ""
961
 
962
- #: yit-functions.php:2080
963
  msgctxt "Term action"
964
  msgid "Edit"
965
  msgstr ""
966
 
967
- #: yit-functions.php:2088
968
  msgctxt "Term action"
969
  msgid "Duplicate"
970
  msgstr ""
971
 
972
- #: yit-functions.php:2101
973
  msgctxt "Term action"
974
  msgid "Delete"
975
  msgstr ""
976
 
977
- #: yit-plugin.php:85
978
  msgctxt "Plugin Row Meta"
979
  msgid "Live Demo"
980
  msgstr "Live Demo"
981
 
982
- #: yit-plugin.php:89
983
  msgctxt "Plugin Row Meta"
984
  msgid "Documentation"
985
  msgstr "Εγχειρίδιο χρήσης"
986
 
987
- #: yit-plugin.php:93
988
  msgctxt "Plugin Row Meta"
989
  msgid "Support"
990
  msgstr "Υποστήριξη"
991
 
992
- #: yit-plugin.php:97
993
  msgctxt "Plugin Row Meta"
994
  msgid "Premium version"
995
  msgstr "Premium έκδοση"
996
 
997
- #: yit-plugin.php:202
998
  msgctxt "Action links"
999
  msgid "Settings"
1000
  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-21 06:52:18+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
 
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 ""
113
  msgid "Reset to default"
114
  msgstr "Επαναφορά σε προεπιλεγμένο"
115
 
116
+ #: includes/class-yit-plugin-panel.php:979
117
  msgid ""
118
  "The element you have entered already exists. Please, enter another name."
119
  msgstr "Το στοιχείο που εισάγατε υπάρχει ήδη. Παρακαλώ, εισάγετε άλλο όνομα."
120
 
121
+ #: includes/class-yit-plugin-panel.php:980
122
  msgid "Settings saved"
123
  msgstr "Ρυθμίσεις αποθηκεύτηκαν"
124
 
125
+ #: includes/class-yit-plugin-panel.php:981
126
  msgid "Settings reset"
127
  msgstr "Επαναφορά ρυθμίσεων"
128
 
129
+ #: includes/class-yit-plugin-panel.php:982
130
  msgid "Element deleted correctly."
131
  msgstr "Το στοιχείο διαγράφηκε επιτυχώς."
132
 
133
+ #: includes/class-yit-plugin-panel.php:983
134
+ #: includes/class-yit-plugin-panel.php:984
135
  msgid "Element updated correctly."
136
  msgstr "Το στοιχείο αναβαθμίστηκε επιτυχώς."
137
 
138
+ #: includes/class-yit-plugin-panel.php:985
139
  msgid "Database imported correctly."
140
  msgstr "Επιτυχής εισαγωγή βάσης δεδομένων."
141
 
142
+ #: includes/class-yit-plugin-panel.php:986
143
  msgid "An error has occurred during import. Please try again."
144
  msgstr "Παρουσιάστηκε σφάλμα κατά την εισαγωγή. Παρακαλώ προσπαθήστε ξανά."
145
 
146
+ #: includes/class-yit-plugin-panel.php:987
147
  msgid "The added file is not valid."
148
  msgstr "Το προστιθέμενο αρχείο δεν είναι έγκυρο."
149
 
150
+ #: includes/class-yit-plugin-panel.php:988
151
  msgid "Sorry, import is disabled."
152
  msgstr "Συγνώμη, η εισαγωγή είναι απενεργοποιημένη."
153
 
154
+ #: includes/class-yit-plugin-panel.php:989
155
  msgid "Sorting successful."
156
  msgstr "Διαλογή επιτυχής."
157
 
158
+ #: includes/class-yit-plugin-panel.php:1457
159
  msgid "We need your support"
160
  msgstr "Χρειαζόμαστε την υποστήριξή σας"
161
 
162
+ #: includes/class-yit-plugin-panel.php:1458
163
  msgid "to keep updating and improving the plugin. Please,"
164
  msgstr ""
165
  "για να διατηρήσετε την ενημέρωση και τη βελτίωση του πρόσθετου. Παρακαλώ,"
166
 
167
+ #: includes/class-yit-plugin-panel.php:1460
168
  msgid "help us by leaving a good review"
169
  msgstr ""
170
 
171
+ #: includes/class-yit-plugin-panel.php:1461
172
  msgid ":) Thanks!"
173
  msgstr ":) Ευχαριστώ!"
174
 
463
  msgid "Preview:"
464
  msgstr "Προεπισκόπηση:"
465
 
466
+ #: templates/fields/icons.php:78
467
  msgid "Set Default"
468
  msgstr "Ορίστε Προεπιλεγμένο"
469
 
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,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-28 14:13:11+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"
@@ -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
 
@@ -24,12 +24,12 @@ msgstr ""
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: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."
@@ -114,63 +114,63 @@ msgstr "¿Estás seguro?"
114
  msgid "Reset to default"
115
  msgstr "Restablecer valores predeterminados"
116
 
117
- #: includes/class-yit-plugin-panel.php:959
118
  msgid ""
119
  "The element you have entered already exists. Please, enter another name."
120
  msgstr ""
121
  "El elemento que has introducido ya existe. Por favor, introduce otro nombre."
122
 
123
- #: includes/class-yit-plugin-panel.php:960
124
  msgid "Settings saved"
125
  msgstr "Ajustes guardados"
126
 
127
- #: includes/class-yit-plugin-panel.php:961
128
  msgid "Settings reset"
129
  msgstr "Restablecer ajustes"
130
 
131
- #: includes/class-yit-plugin-panel.php:962
132
  msgid "Element deleted correctly."
133
  msgstr "Elemento eliminado correctamente."
134
 
135
- #: includes/class-yit-plugin-panel.php:963
136
- #: includes/class-yit-plugin-panel.php:964
137
  msgid "Element updated correctly."
138
  msgstr "Elemento actualizado correctamente."
139
 
140
- #: includes/class-yit-plugin-panel.php:965
141
  msgid "Database imported correctly."
142
  msgstr "Base de datos importada correctamente."
143
 
144
- #: includes/class-yit-plugin-panel.php:966
145
  msgid "An error has occurred during import. Please try again."
146
  msgstr ""
147
  "Ha ocurrido un error durante la importación. Por favor, inténtalo de nuevo."
148
 
149
- #: includes/class-yit-plugin-panel.php:967
150
  msgid "The added file is not valid."
151
  msgstr "El archivo añadido no es válido."
152
 
153
- #: includes/class-yit-plugin-panel.php:968
154
  msgid "Sorry, import is disabled."
155
  msgstr "Lo siento, la importación está desactivada."
156
 
157
- #: includes/class-yit-plugin-panel.php:969
158
  msgid "Sorting successful."
159
  msgstr "Clasificación realizada con éxito"
160
 
161
- #: includes/class-yit-plugin-panel.php:1437
162
  msgid "We need your support"
163
  msgstr "Necesitamos tu apoyo"
164
 
165
- #: includes/class-yit-plugin-panel.php:1438
166
  msgid "to keep updating and improving the plugin. Please,"
167
  msgstr "para que podamos seguir actualizando y mejorando el plugin. Por favor,"
168
 
169
- #: includes/class-yit-plugin-panel.php:1440
170
  msgid "help us by leaving a good review"
171
  msgstr "ayúdanos dejando una buena valoración"
172
 
173
- #: includes/class-yit-plugin-panel.php:1441
174
  msgid ":) Thanks!"
175
  msgstr ":) ¡Gracias!"
176
 
@@ -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
 
@@ -673,20 +673,20 @@ 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:1894
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:1896 yit-functions.php:2056
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:1994 yit-functions.php:2002 yit-functions.php:2119
686
  msgid "Further actions"
687
  msgstr "Otras acciones"
688
 
689
- #: yit-plugin.php:206
690
  msgid "License"
691
  msgstr "Licencia"
692
 
@@ -715,13 +715,13 @@ msgctxt "Button text"
715
  msgid "Cancel"
716
  msgstr "Cancelar"
717
 
718
- #: includes/class-yit-assets.php:148 yit-functions.php:1965
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:1983
724
- #: yit-functions.php:2110
725
  msgctxt "Delete confirmation action"
726
  msgid "Yes, delete"
727
  msgstr "Si, borrar"
@@ -931,82 +931,82 @@ msgctxt "Help tab submit ticket button"
931
  msgid "Submit a ticket"
932
  msgstr "Enviar ticket"
933
 
934
- #: yit-functions.php:1908
935
  msgctxt "Post action"
936
  msgid "Preview"
937
  msgstr "Previsualizar"
938
 
939
- #: yit-functions.php:1917
940
  msgctxt "Post action"
941
  msgid "View"
942
  msgstr "Ver"
943
 
944
- #: yit-functions.php:1928
945
  msgctxt "Post action"
946
  msgid "Edit"
947
  msgstr "Editar"
948
 
949
- #: yit-functions.php:1936
950
  msgctxt "Post action"
951
  msgid "Duplicate"
952
  msgstr "Duplicar"
953
 
954
- #: yit-functions.php:1948
955
  msgctxt "Post action"
956
  msgid "Restore"
957
  msgstr "Restaurar"
958
 
959
- #: yit-functions.php:1956
960
  msgctxt "Post action"
961
  msgid "Trash"
962
  msgstr "A la papelera"
963
 
964
- #: yit-functions.php:1973
965
  msgctxt "Post action"
966
  msgid "Delete Permanently"
967
  msgstr "Borrar permanentemente"
968
 
969
- #: yit-functions.php:2070
970
  msgctxt "Term action"
971
  msgid "View"
972
  msgstr "Ver"
973
 
974
- #: yit-functions.php:2080
975
  msgctxt "Term action"
976
  msgid "Edit"
977
  msgstr "Editar"
978
 
979
- #: yit-functions.php:2088
980
  msgctxt "Term action"
981
  msgid "Duplicate"
982
  msgstr "Duplicar"
983
 
984
- #: yit-functions.php:2101
985
  msgctxt "Term action"
986
  msgid "Delete"
987
  msgstr "Borrar"
988
 
989
- #: yit-plugin.php:85
990
  msgctxt "Plugin Row Meta"
991
  msgid "Live Demo"
992
  msgstr "Demostración en vivo"
993
 
994
- #: yit-plugin.php:89
995
  msgctxt "Plugin Row Meta"
996
  msgid "Documentation"
997
  msgstr "Documentación"
998
 
999
- #: yit-plugin.php:93
1000
  msgctxt "Plugin Row Meta"
1001
  msgid "Support"
1002
  msgstr "Soporte"
1003
 
1004
- #: yit-plugin.php:97
1005
  msgctxt "Plugin Row Meta"
1006
  msgid "Premium version"
1007
  msgstr "Versión premium"
1008
 
1009
- #: yit-plugin.php:202
1010
  msgctxt "Action links"
1011
  msgid "Settings"
1012
  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-21 06:52:18+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"
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
 
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."
114
  msgid "Reset to default"
115
  msgstr "Restablecer valores predeterminados"
116
 
117
+ #: includes/class-yit-plugin-panel.php:979
118
  msgid ""
119
  "The element you have entered already exists. Please, enter another name."
120
  msgstr ""
121
  "El elemento que has introducido ya existe. Por favor, introduce otro nombre."
122
 
123
+ #: includes/class-yit-plugin-panel.php:980
124
  msgid "Settings saved"
125
  msgstr "Ajustes guardados"
126
 
127
+ #: includes/class-yit-plugin-panel.php:981
128
  msgid "Settings reset"
129
  msgstr "Restablecer ajustes"
130
 
131
+ #: includes/class-yit-plugin-panel.php:982
132
  msgid "Element deleted correctly."
133
  msgstr "Elemento eliminado correctamente."
134
 
135
+ #: includes/class-yit-plugin-panel.php:983
136
+ #: includes/class-yit-plugin-panel.php:984
137
  msgid "Element updated correctly."
138
  msgstr "Elemento actualizado correctamente."
139
 
140
+ #: includes/class-yit-plugin-panel.php:985
141
  msgid "Database imported correctly."
142
  msgstr "Base de datos importada correctamente."
143
 
144
+ #: includes/class-yit-plugin-panel.php:986
145
  msgid "An error has occurred during import. Please try again."
146
  msgstr ""
147
  "Ha ocurrido un error durante la importación. Por favor, inténtalo de nuevo."
148
 
149
+ #: includes/class-yit-plugin-panel.php:987
150
  msgid "The added file is not valid."
151
  msgstr "El archivo añadido no es válido."
152
 
153
+ #: includes/class-yit-plugin-panel.php:988
154
  msgid "Sorry, import is disabled."
155
  msgstr "Lo siento, la importación está desactivada."
156
 
157
+ #: includes/class-yit-plugin-panel.php:989
158
  msgid "Sorting successful."
159
  msgstr "Clasificación realizada con éxito"
160
 
161
+ #: includes/class-yit-plugin-panel.php:1457
162
  msgid "We need your support"
163
  msgstr "Necesitamos tu apoyo"
164
 
165
+ #: includes/class-yit-plugin-panel.php:1458
166
  msgid "to keep updating and improving the plugin. Please,"
167
  msgstr "para que podamos seguir actualizando y mejorando el plugin. Por favor,"
168
 
169
+ #: includes/class-yit-plugin-panel.php:1460
170
  msgid "help us by leaving a good review"
171
  msgstr "ayúdanos dejando una buena valoración"
172
 
173
+ #: includes/class-yit-plugin-panel.php:1461
174
  msgid ":) Thanks!"
175
  msgstr ":) ¡Gracias!"
176
 
472
  msgid "Preview:"
473
  msgstr "Vista previa:"
474
 
475
+ #: templates/fields/icons.php:78
476
  msgid "Set Default"
477
  msgstr "Establecer predeterminado"
478
 
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,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-28 14:13:11+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"
@@ -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
 
@@ -23,12 +23,12 @@ 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: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 ""
@@ -114,61 +114,61 @@ msgstr "Sei sicuro?"
114
  msgid "Reset to default"
115
  msgstr "Ripristina configurazione predefinita"
116
 
117
- #: includes/class-yit-plugin-panel.php:959
118
  msgid ""
119
  "The element you have entered already exists. Please, enter another name."
120
  msgstr "L'elemento inserito esiste già. Per favore, inserisci un altro nome."
121
 
122
- #: includes/class-yit-plugin-panel.php:960
123
  msgid "Settings saved"
124
  msgstr "Impostazioni salvate"
125
 
126
- #: includes/class-yit-plugin-panel.php:961
127
  msgid "Settings reset"
128
  msgstr "Impostazioni azzerate"
129
 
130
- #: includes/class-yit-plugin-panel.php:962
131
  msgid "Element deleted correctly."
132
  msgstr "Elemento rimosso correttamente."
133
 
134
- #: includes/class-yit-plugin-panel.php:963
135
- #: includes/class-yit-plugin-panel.php:964
136
  msgid "Element updated correctly."
137
  msgstr "Elemento aggiornato correttamente."
138
 
139
- #: includes/class-yit-plugin-panel.php:965
140
  msgid "Database imported correctly."
141
  msgstr "Database importato correttamente."
142
 
143
- #: includes/class-yit-plugin-panel.php:966
144
  msgid "An error has occurred during import. Please try again."
145
  msgstr "Si è verificato un errore durante l'importazione. Prova di nuovo."
146
 
147
- #: includes/class-yit-plugin-panel.php:967
148
  msgid "The added file is not valid."
149
  msgstr "Il file aggiunto non è valido."
150
 
151
- #: includes/class-yit-plugin-panel.php:968
152
  msgid "Sorry, import is disabled."
153
  msgstr "Ci dispiace, l'importazione è disabilitata."
154
 
155
- #: includes/class-yit-plugin-panel.php:969
156
  msgid "Sorting successful."
157
  msgstr "Ordinamento effettuato con successo."
158
 
159
- #: includes/class-yit-plugin-panel.php:1437
160
  msgid "We need your support"
161
  msgstr "Abbiamo bisogno del tuo sostegno"
162
 
163
- #: includes/class-yit-plugin-panel.php:1438
164
  msgid "to keep updating and improving the plugin. Please,"
165
  msgstr "per poter continuare ad aggiornare e migliorare il plugin."
166
 
167
- #: includes/class-yit-plugin-panel.php:1440
168
  msgid "help us by leaving a good review"
169
  msgstr "Puoi darci una mano lasciando una recensione positiva"
170
 
171
- #: includes/class-yit-plugin-panel.php:1441
172
  msgid ":) Thanks!"
173
  msgstr ":) Grazie!"
174
 
@@ -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
 
@@ -673,20 +673,20 @@ 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:1894
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:1896 yit-functions.php:2056
682
  msgid "Are you sure you want to delete \"%s\"?"
683
  msgstr "Sei sicuro di voler eliminare \"%s\"?"
684
 
685
- #: yit-functions.php:1994 yit-functions.php:2002 yit-functions.php:2119
686
  msgid "Further actions"
687
  msgstr "Altre azioni"
688
 
689
- #: yit-plugin.php:206
690
  msgid "License"
691
  msgstr "Chiave di licenza"
692
 
@@ -715,13 +715,13 @@ msgctxt "Button text"
715
  msgid "Cancel"
716
  msgstr "Annulla"
717
 
718
- #: includes/class-yit-assets.php:148 yit-functions.php:1965
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:1983
724
- #: yit-functions.php:2110
725
  msgctxt "Delete confirmation action"
726
  msgid "Yes, delete"
727
  msgstr "Sì, elimina"
@@ -933,82 +933,82 @@ msgctxt "Help tab submit ticket button"
933
  msgid "Submit a ticket"
934
  msgstr "Invia un ticket"
935
 
936
- #: yit-functions.php:1908
937
  msgctxt "Post action"
938
  msgid "Preview"
939
  msgstr "Anteprima"
940
 
941
- #: yit-functions.php:1917
942
  msgctxt "Post action"
943
  msgid "View"
944
  msgstr "Visualizza"
945
 
946
- #: yit-functions.php:1928
947
  msgctxt "Post action"
948
  msgid "Edit"
949
  msgstr "Modifica"
950
 
951
- #: yit-functions.php:1936
952
  msgctxt "Post action"
953
  msgid "Duplicate"
954
  msgstr "Duplica"
955
 
956
- #: yit-functions.php:1948
957
  msgctxt "Post action"
958
  msgid "Restore"
959
  msgstr "Ripristina"
960
 
961
- #: yit-functions.php:1956
962
  msgctxt "Post action"
963
  msgid "Trash"
964
  msgstr "Cestina"
965
 
966
- #: yit-functions.php:1973
967
  msgctxt "Post action"
968
  msgid "Delete Permanently"
969
  msgstr "Cancella definitivamente"
970
 
971
- #: yit-functions.php:2070
972
  msgctxt "Term action"
973
  msgid "View"
974
  msgstr "Visualizza"
975
 
976
- #: yit-functions.php:2080
977
  msgctxt "Term action"
978
  msgid "Edit"
979
  msgstr "Modifica"
980
 
981
- #: yit-functions.php:2088
982
  msgctxt "Term action"
983
  msgid "Duplicate"
984
  msgstr "Duplica"
985
 
986
- #: yit-functions.php:2101
987
  msgctxt "Term action"
988
  msgid "Delete"
989
  msgstr "Elimina"
990
 
991
- #: yit-plugin.php:85
992
  msgctxt "Plugin Row Meta"
993
  msgid "Live Demo"
994
  msgstr "Live Demo"
995
 
996
- #: yit-plugin.php:89
997
  msgctxt "Plugin Row Meta"
998
  msgid "Documentation"
999
  msgstr "Documentazione"
1000
 
1001
- #: yit-plugin.php:93
1002
  msgctxt "Plugin Row Meta"
1003
  msgid "Support"
1004
  msgstr "Assistenza"
1005
 
1006
- #: yit-plugin.php:97
1007
  msgctxt "Plugin Row Meta"
1008
  msgid "Premium version"
1009
  msgstr "Versione premium"
1010
 
1011
- #: yit-plugin.php:202
1012
  msgctxt "Action links"
1013
  msgid "Settings"
1014
  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-21 06:52:18+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"
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
 
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 ""
114
  msgid "Reset to default"
115
  msgstr "Ripristina configurazione predefinita"
116
 
117
+ #: includes/class-yit-plugin-panel.php:979
118
  msgid ""
119
  "The element you have entered already exists. Please, enter another name."
120
  msgstr "L'elemento inserito esiste già. Per favore, inserisci un altro nome."
121
 
122
+ #: includes/class-yit-plugin-panel.php:980
123
  msgid "Settings saved"
124
  msgstr "Impostazioni salvate"
125
 
126
+ #: includes/class-yit-plugin-panel.php:981
127
  msgid "Settings reset"
128
  msgstr "Impostazioni azzerate"
129
 
130
+ #: includes/class-yit-plugin-panel.php:982
131
  msgid "Element deleted correctly."
132
  msgstr "Elemento rimosso correttamente."
133
 
134
+ #: includes/class-yit-plugin-panel.php:983
135
+ #: includes/class-yit-plugin-panel.php:984
136
  msgid "Element updated correctly."
137
  msgstr "Elemento aggiornato correttamente."
138
 
139
+ #: includes/class-yit-plugin-panel.php:985
140
  msgid "Database imported correctly."
141
  msgstr "Database importato correttamente."
142
 
143
+ #: includes/class-yit-plugin-panel.php:986
144
  msgid "An error has occurred during import. Please try again."
145
  msgstr "Si è verificato un errore durante l'importazione. Prova di nuovo."
146
 
147
+ #: includes/class-yit-plugin-panel.php:987
148
  msgid "The added file is not valid."
149
  msgstr "Il file aggiunto non è valido."
150
 
151
+ #: includes/class-yit-plugin-panel.php:988
152
  msgid "Sorry, import is disabled."
153
  msgstr "Ci dispiace, l'importazione è disabilitata."
154
 
155
+ #: includes/class-yit-plugin-panel.php:989
156
  msgid "Sorting successful."
157
  msgstr "Ordinamento effettuato con successo."
158
 
159
+ #: includes/class-yit-plugin-panel.php:1457
160
  msgid "We need your support"
161
  msgstr "Abbiamo bisogno del tuo sostegno"
162
 
163
+ #: includes/class-yit-plugin-panel.php:1458
164
  msgid "to keep updating and improving the plugin. Please,"
165
  msgstr "per poter continuare ad aggiornare e migliorare il plugin."
166
 
167
+ #: includes/class-yit-plugin-panel.php:1460
168
  msgid "help us by leaving a good review"
169
  msgstr "Puoi darci una mano lasciando una recensione positiva"
170
 
171
+ #: includes/class-yit-plugin-panel.php:1461
172
  msgid ":) Thanks!"
173
  msgstr ":) Grazie!"
174
 
470
  msgid "Preview:"
471
  msgstr "Anteprima:"
472
 
473
+ #: templates/fields/icons.php:78
474
  msgid "Set Default"
475
  msgstr "Ripristina impostazioni iniziali"
476
 
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-28 14:13:11+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
 
@@ -25,12 +25,12 @@ msgstr ""
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: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 ""
@@ -116,61 +116,61 @@ msgstr "Weet je het zeker?"
116
  msgid "Reset to default"
117
  msgstr "Resetten naar standaard"
118
 
119
- #: includes/class-yit-plugin-panel.php:959
120
  msgid ""
121
  "The element you have entered already exists. Please, enter another name."
122
  msgstr "Het element dat je hebt ingevoerd bestaat al. Voer een andere naam in."
123
 
124
- #: includes/class-yit-plugin-panel.php:960
125
  msgid "Settings saved"
126
  msgstr "Instellingen opgeslagen"
127
 
128
- #: includes/class-yit-plugin-panel.php:961
129
  msgid "Settings reset"
130
  msgstr "Instellingen resetten"
131
 
132
- #: includes/class-yit-plugin-panel.php:962
133
  msgid "Element deleted correctly."
134
  msgstr "Element juist verwijderd."
135
 
136
- #: includes/class-yit-plugin-panel.php:963
137
- #: includes/class-yit-plugin-panel.php:964
138
  msgid "Element updated correctly."
139
  msgstr "Element juist geüpdatet."
140
 
141
- #: includes/class-yit-plugin-panel.php:965
142
  msgid "Database imported correctly."
143
  msgstr "Database juist geïmporteerd."
144
 
145
- #: includes/class-yit-plugin-panel.php:966
146
  msgid "An error has occurred during import. Please try again."
147
  msgstr "Er is een fout opgetreden tijdens importeren. Probeer opnieuw."
148
 
149
- #: includes/class-yit-plugin-panel.php:967
150
  msgid "The added file is not valid."
151
  msgstr "Het toegevoegde bestand is niet geldig."
152
 
153
- #: includes/class-yit-plugin-panel.php:968
154
  msgid "Sorry, import is disabled."
155
  msgstr "Sorry, importeren is uitgeschakeld."
156
 
157
- #: includes/class-yit-plugin-panel.php:969
158
  msgid "Sorting successful."
159
  msgstr "Succesvol gesorteerd."
160
 
161
- #: includes/class-yit-plugin-panel.php:1437
162
  msgid "We need your support"
163
  msgstr "We hebben je hulp nodig"
164
 
165
- #: includes/class-yit-plugin-panel.php:1438
166
  msgid "to keep updating and improving the plugin. Please,"
167
  msgstr "om de plugin te blijven bijwerken en verbeteren. A.u.b.,"
168
 
169
- #: includes/class-yit-plugin-panel.php:1440
170
  msgid "help us by leaving a good review"
171
  msgstr "help ons door een goede beoordeling achter te laten"
172
 
173
- #: includes/class-yit-plugin-panel.php:1441
174
  msgid ":) Thanks!"
175
  msgstr ":) Bedankt!"
176
 
@@ -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
 
@@ -622,12 +622,12 @@ msgstr "Externe object cache"
622
 
623
  #: templates/sysinfo/tabs/main.php:55
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:64
629
  msgid "loaded by %s"
630
- msgstr ""
631
 
632
  #: templates/sysinfo/tabs/main.php:73
633
  msgid "Plugins Requirements"
@@ -635,58 +635,58 @@ msgstr "Plugin benodigdheden"
635
 
636
  #: templates/sysinfo/tabs/main.php:108
637
  msgid "Database Info"
638
- msgstr ""
639
 
640
  #: templates/sysinfo/tabs/main.php:113
641
  msgid "MySQL version"
642
- msgstr ""
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 ""
648
 
649
  #: templates/sysinfo/tabs/main.php:123
650
  msgid "WordPress requirements"
651
- msgstr ""
652
 
653
  #: templates/sysinfo/tabs/main.php:130
654
  msgid "Total Database Size"
655
- msgstr ""
656
 
657
  #: templates/sysinfo/tabs/main.php:138
658
  msgid "Database Data Size"
659
- msgstr ""
660
 
661
  #: templates/sysinfo/tabs/main.php:146
662
  msgid "Database Index Size"
663
- msgstr ""
664
 
665
  #: templates/sysinfo/tabs/main.php:154
666
  msgid "Database Free Size"
667
- msgstr ""
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 ""
674
 
675
  #. translators: %s is the title of the post object.
676
- #: yit-functions.php:1894
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:1896 yit-functions.php:2056
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:1994 yit-functions.php:2002 yit-functions.php:2119
686
  msgid "Further actions"
687
  msgstr "Verdere acties"
688
 
689
- #: yit-plugin.php:206
690
  msgid "License"
691
  msgstr "Licentie"
692
 
@@ -715,13 +715,13 @@ msgctxt "Button text"
715
  msgid "Cancel"
716
  msgstr "Annuleren"
717
 
718
- #: includes/class-yit-assets.php:148 yit-functions.php:1965
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:1983
724
- #: yit-functions.php:2110
725
  msgctxt "Delete confirmation action"
726
  msgid "Yes, delete"
727
  msgstr "Ja, verwijderen"
@@ -932,82 +932,82 @@ msgctxt "Help tab submit ticket button"
932
  msgid "Submit a ticket"
933
  msgstr "Verstuur een ticket"
934
 
935
- #: yit-functions.php:1908
936
  msgctxt "Post action"
937
  msgid "Preview"
938
  msgstr "Voorbeeld"
939
 
940
- #: yit-functions.php:1917
941
  msgctxt "Post action"
942
  msgid "View"
943
  msgstr "Bekijken"
944
 
945
- #: yit-functions.php:1928
946
  msgctxt "Post action"
947
  msgid "Edit"
948
  msgstr "Bewerken"
949
 
950
- #: yit-functions.php:1936
951
  msgctxt "Post action"
952
  msgid "Duplicate"
953
  msgstr "Dupliceren"
954
 
955
- #: yit-functions.php:1948
956
  msgctxt "Post action"
957
  msgid "Restore"
958
  msgstr "Herstellen"
959
 
960
- #: yit-functions.php:1956
961
  msgctxt "Post action"
962
  msgid "Trash"
963
  msgstr "Prullenbak"
964
 
965
- #: yit-functions.php:1973
966
  msgctxt "Post action"
967
  msgid "Delete Permanently"
968
  msgstr "Permanent verijwderen"
969
 
970
- #: yit-functions.php:2070
971
  msgctxt "Term action"
972
  msgid "View"
973
  msgstr "Bekijken"
974
 
975
- #: yit-functions.php:2080
976
  msgctxt "Term action"
977
  msgid "Edit"
978
  msgstr "Bewerken"
979
 
980
- #: yit-functions.php:2088
981
  msgctxt "Term action"
982
  msgid "Duplicate"
983
  msgstr "Dupliceren"
984
 
985
- #: yit-functions.php:2101
986
  msgctxt "Term action"
987
  msgid "Delete"
988
  msgstr "Verwijderen"
989
 
990
- #: yit-plugin.php:85
991
  msgctxt "Plugin Row Meta"
992
  msgid "Live Demo"
993
  msgstr "Live Demo"
994
 
995
- #: yit-plugin.php:89
996
  msgctxt "Plugin Row Meta"
997
  msgid "Documentation"
998
  msgstr "Documentatie"
999
 
1000
- #: yit-plugin.php:93
1001
  msgctxt "Plugin Row Meta"
1002
  msgid "Support"
1003
  msgstr "Ondersteuning"
1004
 
1005
- #: yit-plugin.php:97
1006
  msgctxt "Plugin Row Meta"
1007
  msgid "Premium version"
1008
  msgstr "Premium versie"
1009
 
1010
- #: yit-plugin.php:202
1011
  msgctxt "Action links"
1012
  msgid "Settings"
1013
  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-21 06:52:18+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
 
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 ""
116
  msgid "Reset to default"
117
  msgstr "Resetten naar standaard"
118
 
119
+ #: includes/class-yit-plugin-panel.php:979
120
  msgid ""
121
  "The element you have entered already exists. Please, enter another name."
122
  msgstr "Het element dat je hebt ingevoerd bestaat al. Voer een andere naam in."
123
 
124
+ #: includes/class-yit-plugin-panel.php:980
125
  msgid "Settings saved"
126
  msgstr "Instellingen opgeslagen"
127
 
128
+ #: includes/class-yit-plugin-panel.php:981
129
  msgid "Settings reset"
130
  msgstr "Instellingen resetten"
131
 
132
+ #: includes/class-yit-plugin-panel.php:982
133
  msgid "Element deleted correctly."
134
  msgstr "Element juist verwijderd."
135
 
136
+ #: includes/class-yit-plugin-panel.php:983
137
+ #: includes/class-yit-plugin-panel.php:984
138
  msgid "Element updated correctly."
139
  msgstr "Element juist geüpdatet."
140
 
141
+ #: includes/class-yit-plugin-panel.php:985
142
  msgid "Database imported correctly."
143
  msgstr "Database juist geïmporteerd."
144
 
145
+ #: includes/class-yit-plugin-panel.php:986
146
  msgid "An error has occurred during import. Please try again."
147
  msgstr "Er is een fout opgetreden tijdens importeren. Probeer opnieuw."
148
 
149
+ #: includes/class-yit-plugin-panel.php:987
150
  msgid "The added file is not valid."
151
  msgstr "Het toegevoegde bestand is niet geldig."
152
 
153
+ #: includes/class-yit-plugin-panel.php:988
154
  msgid "Sorry, import is disabled."
155
  msgstr "Sorry, importeren is uitgeschakeld."
156
 
157
+ #: includes/class-yit-plugin-panel.php:989
158
  msgid "Sorting successful."
159
  msgstr "Succesvol gesorteerd."
160
 
161
+ #: includes/class-yit-plugin-panel.php:1457
162
  msgid "We need your support"
163
  msgstr "We hebben je hulp nodig"
164
 
165
+ #: includes/class-yit-plugin-panel.php:1458
166
  msgid "to keep updating and improving the plugin. Please,"
167
  msgstr "om de plugin te blijven bijwerken en verbeteren. A.u.b.,"
168
 
169
+ #: includes/class-yit-plugin-panel.php:1460
170
  msgid "help us by leaving a good review"
171
  msgstr "help ons door een goede beoordeling achter te laten"
172
 
173
+ #: includes/class-yit-plugin-panel.php:1461
174
  msgid ":) Thanks!"
175
  msgstr ":) Bedankt!"
176
 
471
  msgid "Preview:"
472
  msgstr "Voorbeeld:"
473
 
474
+ #: templates/fields/icons.php:78
475
  msgid "Set Default"
476
  msgstr "Op standaard instellen"
477
 
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"
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-28 14:13:11+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
 
@@ -34,12 +34,12 @@ 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: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
 
@@ -119,60 +119,60 @@ msgstr ""
119
  msgid "Reset to default"
120
  msgstr ""
121
 
122
- #: includes/class-yit-plugin-panel.php:959
123
  msgid "The element you have entered already exists. Please, enter another name."
124
  msgstr ""
125
 
126
- #: includes/class-yit-plugin-panel.php:960
127
  msgid "Settings saved"
128
  msgstr ""
129
 
130
- #: includes/class-yit-plugin-panel.php:961
131
  msgid "Settings reset"
132
  msgstr ""
133
 
134
- #: includes/class-yit-plugin-panel.php:962
135
  msgid "Element deleted correctly."
136
  msgstr ""
137
 
138
- #: includes/class-yit-plugin-panel.php:963
139
- #: includes/class-yit-plugin-panel.php:964
140
  msgid "Element updated correctly."
141
  msgstr ""
142
 
143
- #: includes/class-yit-plugin-panel.php:965
144
  msgid "Database imported correctly."
145
  msgstr ""
146
 
147
- #: includes/class-yit-plugin-panel.php:966
148
  msgid "An error has occurred during import. Please try again."
149
  msgstr ""
150
 
151
- #: includes/class-yit-plugin-panel.php:967
152
  msgid "The added file is not valid."
153
  msgstr ""
154
 
155
- #: includes/class-yit-plugin-panel.php:968
156
  msgid "Sorry, import is disabled."
157
  msgstr ""
158
 
159
- #: includes/class-yit-plugin-panel.php:969
160
  msgid "Sorting successful."
161
  msgstr ""
162
 
163
- #: includes/class-yit-plugin-panel.php:1437
164
  msgid "We need your support"
165
  msgstr ""
166
 
167
- #: includes/class-yit-plugin-panel.php:1438
168
  msgid "to keep updating and improving the plugin. Please,"
169
  msgstr ""
170
 
171
- #: includes/class-yit-plugin-panel.php:1440
172
  msgid "help us by leaving a good review"
173
  msgstr ""
174
 
175
- #: includes/class-yit-plugin-panel.php:1441
176
  msgid ":) Thanks!"
177
  msgstr ""
178
 
@@ -451,7 +451,7 @@ msgstr ""
451
  msgid "Preview:"
452
  msgstr ""
453
 
454
- #: templates/fields/icons.php:63
455
  msgid "Set Default"
456
  msgstr ""
457
 
@@ -649,21 +649,21 @@ msgstr ""
649
  msgid "Data: %1$.2fMB | Index: %2$.2fMB | Free: %3$.2fMB | Engine: %4$s"
650
  msgstr ""
651
 
652
- #: yit-functions.php:1894
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:1896 yit-functions.php:2056
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:1994 yit-functions.php:2002 yit-functions.php:2119
663
  msgid "Further actions"
664
  msgstr ""
665
 
666
- #: yit-plugin.php:206
667
  msgid "License"
668
  msgstr ""
669
 
@@ -692,13 +692,13 @@ msgctxt "Button text"
692
  msgid "Cancel"
693
  msgstr ""
694
 
695
- #: includes/class-yit-assets.php:148 yit-functions.php:1965
696
  msgctxt "Trash confirmation action"
697
  msgid "Yes, move to trash"
698
  msgstr ""
699
 
700
- #: includes/class-yit-assets.php:152 yit-functions.php:1983
701
- #: yit-functions.php:2110
702
  msgctxt "Delete confirmation action"
703
  msgid "Yes, delete"
704
  msgstr ""
@@ -896,82 +896,82 @@ msgctxt "Help tab submit ticket button"
896
  msgid "Submit a ticket"
897
  msgstr ""
898
 
899
- #: yit-functions.php:1908
900
  msgctxt "Post action"
901
  msgid "Preview"
902
  msgstr ""
903
 
904
- #: yit-functions.php:1917
905
  msgctxt "Post action"
906
  msgid "View"
907
  msgstr ""
908
 
909
- #: yit-functions.php:1928
910
  msgctxt "Post action"
911
  msgid "Edit"
912
  msgstr ""
913
 
914
- #: yit-functions.php:1936
915
  msgctxt "Post action"
916
  msgid "Duplicate"
917
  msgstr ""
918
 
919
- #: yit-functions.php:1948
920
  msgctxt "Post action"
921
  msgid "Restore"
922
  msgstr ""
923
 
924
- #: yit-functions.php:1956
925
  msgctxt "Post action"
926
  msgid "Trash"
927
  msgstr ""
928
 
929
- #: yit-functions.php:1973
930
  msgctxt "Post action"
931
  msgid "Delete Permanently"
932
  msgstr ""
933
 
934
- #: yit-functions.php:2070
935
  msgctxt "Term action"
936
  msgid "View"
937
  msgstr ""
938
 
939
- #: yit-functions.php:2080
940
  msgctxt "Term action"
941
  msgid "Edit"
942
  msgstr ""
943
 
944
- #: yit-functions.php:2088
945
  msgctxt "Term action"
946
  msgid "Duplicate"
947
  msgstr ""
948
 
949
- #: yit-functions.php:2101
950
  msgctxt "Term action"
951
  msgid "Delete"
952
  msgstr ""
953
 
954
- #: yit-plugin.php:85
955
  msgctxt "Plugin Row Meta"
956
  msgid "Live Demo"
957
  msgstr ""
958
 
959
- #: yit-plugin.php:89
960
  msgctxt "Plugin Row Meta"
961
  msgid "Documentation"
962
  msgstr ""
963
 
964
- #: yit-plugin.php:93
965
  msgctxt "Plugin Row Meta"
966
  msgid "Support"
967
  msgstr ""
968
 
969
- #: yit-plugin.php:97
970
  msgctxt "Plugin Row Meta"
971
  msgid "Premium version"
972
  msgstr ""
973
 
974
- #: yit-plugin.php:202
975
  msgctxt "Action links"
976
  msgid "Settings"
977
  msgstr ""
4
  msgstr ""
5
  "Project-Id-Version: \n"
6
  "Report-Msgid-Bugs-To: YITH <plugins@yithemes.com>\n"
7
+ "POT-Creation-Date: 2021-10-21 06:52:18+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
 
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
 
119
  msgid "Reset to default"
120
  msgstr ""
121
 
122
+ #: includes/class-yit-plugin-panel.php:979
123
  msgid "The element you have entered already exists. Please, enter another name."
124
  msgstr ""
125
 
126
+ #: includes/class-yit-plugin-panel.php:980
127
  msgid "Settings saved"
128
  msgstr ""
129
 
130
+ #: includes/class-yit-plugin-panel.php:981
131
  msgid "Settings reset"
132
  msgstr ""
133
 
134
+ #: includes/class-yit-plugin-panel.php:982
135
  msgid "Element deleted correctly."
136
  msgstr ""
137
 
138
+ #: includes/class-yit-plugin-panel.php:983
139
+ #: includes/class-yit-plugin-panel.php:984
140
  msgid "Element updated correctly."
141
  msgstr ""
142
 
143
+ #: includes/class-yit-plugin-panel.php:985
144
  msgid "Database imported correctly."
145
  msgstr ""
146
 
147
+ #: includes/class-yit-plugin-panel.php:986
148
  msgid "An error has occurred during import. Please try again."
149
  msgstr ""
150
 
151
+ #: includes/class-yit-plugin-panel.php:987
152
  msgid "The added file is not valid."
153
  msgstr ""
154
 
155
+ #: includes/class-yit-plugin-panel.php:988
156
  msgid "Sorry, import is disabled."
157
  msgstr ""
158
 
159
+ #: includes/class-yit-plugin-panel.php:989
160
  msgid "Sorting successful."
161
  msgstr ""
162
 
163
+ #: includes/class-yit-plugin-panel.php:1457
164
  msgid "We need your support"
165
  msgstr ""
166
 
167
+ #: includes/class-yit-plugin-panel.php:1458
168
  msgid "to keep updating and improving the plugin. Please,"
169
  msgstr ""
170
 
171
+ #: includes/class-yit-plugin-panel.php:1460
172
  msgid "help us by leaving a good review"
173
  msgstr ""
174
 
175
+ #: includes/class-yit-plugin-panel.php:1461
176
  msgid ":) Thanks!"
177
  msgstr ""
178
 
451
  msgid "Preview:"
452
  msgstr ""
453
 
454
+ #: templates/fields/icons.php:78
455
  msgid "Set Default"
456
  msgstr ""
457
 
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/{LICENSE.txt → license.txt} RENAMED
@@ -1,6 +1,6 @@
1
  YITH Plugin Framework
2
 
3
- Copyright 2015 Your Inspiration Themes (email : plugins@yithemes.com)
4
 
5
  This program is free software; you can redistribute it and/or modify
6
  it under the terms of the GNU General Public License as published by
1
  YITH Plugin Framework
2
 
3
+ Copyright 2015-2021 Your Inspiration Solutions (email : plugins@yithemes.com)
4
 
5
  This program is free software; you can redistribute it and/or modify
6
  it under the terms of the GNU General Public License as published by
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
@@ -12,13 +12,13 @@ list ( $field_id, $name, $class, $fields, $value, $data, $custom_attributes ) =
12
 
13
  $class = ! ! $class ? $class : '';
14
  $value = maybe_unserialize( $value );
15
- $allowed_types = array( 'select', 'select-buttons', 'number', 'text', 'slider', 'hidden', 'html', 'datepicker' );
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 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 ( $fields as $key => $inline_field ) : ?>
24
  <?php
12
 
13
  $class = ! ! $class ? $class : '';
14
  $value = maybe_unserialize( $value );
15
+ $allowed_types = apply_filters( 'yith_plugin_fw_inline_fields_allowed_types', array( 'select', 'select-buttons', 'number', 'text', 'slider', 'hidden', 'html', 'datepicker' ), $name, $field );
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
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-buttons.php CHANGED
@@ -15,21 +15,22 @@ $field['type'] = 'select';
15
  if ( empty( $field['class'] ) ) {
16
  unset( $field['class'] );
17
  }
18
-
19
- $add_label = isset( $field['add_all_button_label'] ) ? $field['add_all_button_label'] : __( 'Add All', 'yith-plugin-fw' );
20
- $default_args = array(
 
21
  'multiple' => true,
22
  'class' => 'wc-enhanced-select',
23
  'buttons' => array(
24
  array(
25
- 'name' => $add_label,
26
  'class' => 'yith-plugin-fw-select-all',
27
  'data' => array(
28
  'select-id' => $field['id'],
29
  ),
30
  ),
31
  array(
32
- 'name' => __( 'Remove All', 'yith-plugin-fw' ),
33
  'class' => 'yith-plugin-fw-deselect-all',
34
  'data' => array(
35
  'select-id' => $field['id'],
15
  if ( empty( $field['class'] ) ) {
16
  unset( $field['class'] );
17
  }
18
+ // 'add_all_button_label' is deprecated, use 'add_all_label' instead.
19
+ $add_all_label = $field['add_all_label'] ?? $field['add_all_button_label'] ?? __( 'Add All', 'yith-plugin-fw' );
20
+ $remove_all_label = $field['remove_all_label'] ?? __( 'Remove All', 'yith-plugin-fw' );
21
+ $default_args = array(
22
  'multiple' => true,
23
  'class' => 'wc-enhanced-select',
24
  'buttons' => array(
25
  array(
26
+ 'name' => $add_all_label,
27
  'class' => 'yith-plugin-fw-select-all',
28
  'data' => array(
29
  'select-id' => $field['id'],
30
  ),
31
  ),
32
  array(
33
+ 'name' => $remove_all_label,
34
  'class' => 'yith-plugin-fw-deselect-all',
35
  'data' => array(
36
  'select-id' => $field['id'],
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/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
 
readme.txt CHANGED
@@ -4,7 +4,7 @@ Contributors: yithemes
4
  Tags: woocommerce catalog mode plugin, woocommerce catalog only, woocommerce, products, themes, yit, yith, yithemes, e-commerce, shop, catalog mode, catalogue mode, remove add to cart, ask for price, ask price, asking for price, asking price, button remove, call, call for price, call me, call us, contact, email, hide add to cart, hide price
5
  Requires at least: 5.6
6
  Tested up to: 5.8
7
- Stable tag: 2.2.0
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -131,6 +131,11 @@ yith-woocommerce-catalog-mode-<WORDPRESS LOCALE >.mo
131
 
132
  == Changelog ==
133
 
 
 
 
 
 
134
  = Version 2.2.0 - Released: 05 October 2021 =
135
 
136
  * New: support for WooCommerce 5.8
@@ -450,7 +455,7 @@ yith-woocommerce-catalog-mode-<WORDPRESS LOCALE >.mo
450
 
451
  == Upgrade Notice ==
452
 
453
- Last Stable Tag 2.2.0
454
 
455
  == Suggestions ==
456
 
4
  Tags: woocommerce catalog mode plugin, woocommerce catalog only, woocommerce, products, themes, yit, yith, yithemes, e-commerce, shop, catalog mode, catalogue mode, remove add to cart, ask for price, ask price, asking for price, asking price, button remove, call, call for price, call me, call us, contact, email, hide add to cart, hide price
5
  Requires at least: 5.6
6
  Tested up to: 5.8
7
+ Stable tag: 2.3.0
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
131
 
132
  == Changelog ==
133
 
134
+ = Version 2.3.0 - Released: 05 November 2021 =
135
+
136
+ * New: support for WooCommerce 5.9
137
+ * Update: YITH plugin framework
138
+
139
  = Version 2.2.0 - Released: 05 October 2021 =
140
 
141
  * New: support for WooCommerce 5.8
455
 
456
  == Upgrade Notice ==
457
 
458
+ Last Stable Tag 2.3.0
459
 
460
  == Suggestions ==
461