YITH WooCommerce Ajax Search - Version 1.11.0

Version Description

  • Released on 14 October 2021 =
  • New: support for WooCommerce 5.8
  • Update: YITH plugin framework
Download this release

Release Info

Developer yithemes
Plugin Icon 128x128 YITH WooCommerce Ajax Search
Version 1.11.0
Comparing to
See all releases

Code changes from version 1.10.1 to 1.11.0

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