YITH WooCommerce Ajax Product Filter - Version 3.4.5

Version Description

  • Released: 10 Oct, 2017 =

  • New: Support to WooCommerce 3.2

  • New: Label type of YITH WooCommerce Color and Label Premium integration

Download this release

Release Info

Developer yithemes
Plugin Icon 128x128 YITH WooCommerce Ajax Product Filter
Version 3.4.5
Comparing to
See all releases

Code changes from version 3.4.4 to 3.4.5

README.txt CHANGED
@@ -4,7 +4,7 @@ Contributors: yithemes
4
  Tags: woocommerce ajax product filter download, woocommerce, widget, ajax, ajax filtered nav, ajax navigation, ajax filtered navigation, woocommerce layered navigation, woocommerce layered nav, product filter, product filters, ajax product filter, woocommerce ajax product filter, woocommerce filters, sidebar filter, sidebar ajax filter, ajax price filter, price filter, product sorting, woocommerce filter, taxonomy filter, attribute filter, attributes filter, woocommerce product sort, ajax sort, woocommerce ajax product filter, advanced product filters, ajax product filters, filters, woocommerce ajax product filters, woocommerce product filters, woocommerce product filters, category filter, attribute filters, woocommerce products filter, woocommerce price filter, yit, yith, yithemes
5
  Requires at least: 4.0
6
  Tested up to: 4.8.2
7
- Stable tag: 3.4.4
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -159,6 +159,11 @@ If you want to see a demonstration version of the premium plugin, you can see it
159
 
160
  == Changelog ==
161
 
 
 
 
 
 
162
  = 3.4.4 = Released: 26 Sep, 2017 =
163
 
164
  * Fix: Support for $wpdb->prepare() with WordPress 4.8.2
4
  Tags: woocommerce ajax product filter download, woocommerce, widget, ajax, ajax filtered nav, ajax navigation, ajax filtered navigation, woocommerce layered navigation, woocommerce layered nav, product filter, product filters, ajax product filter, woocommerce ajax product filter, woocommerce filters, sidebar filter, sidebar ajax filter, ajax price filter, price filter, product sorting, woocommerce filter, taxonomy filter, attribute filter, attributes filter, woocommerce product sort, ajax sort, woocommerce ajax product filter, advanced product filters, ajax product filters, filters, woocommerce ajax product filters, woocommerce product filters, woocommerce product filters, category filter, attribute filters, woocommerce products filter, woocommerce price filter, yit, yith, yithemes
5
  Requires at least: 4.0
6
  Tested up to: 4.8.2
7
+ Stable tag: 3.4.5
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
159
 
160
  == Changelog ==
161
 
162
+ = 3.4.5 - Released: 10 Oct, 2017 =
163
+
164
+ * New: Support to WooCommerce 3.2
165
+ * New: Label type of YITH WooCommerce Color and Label Premium integration
166
+
167
  = 3.4.4 = Released: 26 Sep, 2017 =
168
 
169
  * Fix: Support for $wpdb->prepare() with WordPress 4.8.2
init.php CHANGED
@@ -3,14 +3,14 @@
3
  * Plugin Name: YITH WooCommerce Ajax Product Filter
4
  * Plugin URI: http://yithemes.com/
5
  * Description: YITH WooCommerce Ajax Product Filter offers the perfect way to filter all the products of your shop.
6
- * Version: 3.4.4
7
  * Author: YITHEMES
8
  * Author URI: http://yithemes.com/
9
  * Text Domain: yith-woocommerce-ajax-navigation
10
  * Domain Path: /languages/
11
  *
12
  * WC requires at least: 2.2.0
13
- * WC tested up to: 3.1.2
14
  *
15
  * @author Your Inspiration Themes
16
  * @package YITH WooCommerce Ajax Navigation
@@ -67,7 +67,7 @@ load_plugin_textdomain( 'yith-woocommerce-ajax-navigation', false, dirname( plug
67
  ! defined( 'YITH_WCAN' ) && define( 'YITH_WCAN', true );
68
  ! defined( 'YITH_WCAN_URL' ) && define( 'YITH_WCAN_URL', plugin_dir_url( __FILE__ ) );
69
  ! defined( 'YITH_WCAN_DIR' ) && define( 'YITH_WCAN_DIR', plugin_dir_path( __FILE__ ) );
70
- ! defined( 'YITH_WCAN_VERSION' ) && define( 'YITH_WCAN_VERSION', '3.4.4' );
71
  ! defined( 'YITH_WCAN_FREE_INIT') && define( 'YITH_WCAN_FREE_INIT', plugin_basename( __FILE__ ) );
72
  ! defined( 'YITH_WCAN_FILE' ) && define( 'YITH_WCAN_FILE', __FILE__ );
73
 
3
  * Plugin Name: YITH WooCommerce Ajax Product Filter
4
  * Plugin URI: http://yithemes.com/
5
  * Description: YITH WooCommerce Ajax Product Filter offers the perfect way to filter all the products of your shop.
6
+ * Version: 3.4.5
7
  * Author: YITHEMES
8
  * Author URI: http://yithemes.com/
9
  * Text Domain: yith-woocommerce-ajax-navigation
10
  * Domain Path: /languages/
11
  *
12
  * WC requires at least: 2.2.0
13
+ * WC tested up to: 3.2.0-rc2
14
  *
15
  * @author Your Inspiration Themes
16
  * @package YITH WooCommerce Ajax Navigation
67
  ! defined( 'YITH_WCAN' ) && define( 'YITH_WCAN', true );
68
  ! defined( 'YITH_WCAN_URL' ) && define( 'YITH_WCAN_URL', plugin_dir_url( __FILE__ ) );
69
  ! defined( 'YITH_WCAN_DIR' ) && define( 'YITH_WCAN_DIR', plugin_dir_path( __FILE__ ) );
70
+ ! defined( 'YITH_WCAN_VERSION' ) && define( 'YITH_WCAN_VERSION', '3.4.5' );
71
  ! defined( 'YITH_WCAN_FREE_INIT') && define( 'YITH_WCAN_FREE_INIT', plugin_basename( __FILE__ ) );
72
  ! defined( 'YITH_WCAN_FILE' ) && define( 'YITH_WCAN_FILE', __FILE__ );
73
 
plugin-fw/assets/css/yit-plugin-panel.css CHANGED
@@ -675,11 +675,6 @@
675
  position:relative;
676
  }
677
  .yit-admin-panel-content-wrap {
678
- width : calc(100% - 300px);
679
- display : inline-block;
680
- }
681
-
682
- .yit-admin-panel-content-wrap.yit-admin-panel-content-wrap-full {
683
  width : 100%;
684
  display : block;
685
  }
@@ -687,10 +682,7 @@
687
  /* === Responsive === */
688
 
689
  @media (max-width : 767px) {
690
- .yit-admin-panel-content-wrap {
691
- width : 100%;
692
- display : block;
693
- }
694
  }
695
 
696
  @media (max-width : 480px) {
675
  position:relative;
676
  }
677
  .yit-admin-panel-content-wrap {
 
 
 
 
 
678
  width : 100%;
679
  display : block;
680
  }
682
  /* === Responsive === */
683
 
684
  @media (max-width : 767px) {
685
+
 
 
 
686
  }
687
 
688
  @media (max-width : 480px) {
plugin-fw/init.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /**
3
  * Framework Name: YIT Plugin Framework
4
- * Version: 2.9.68
5
  * Author: Yithemes
6
  * Text Domain: yith-plugin-fw
7
  * Domain Path: /languages/
1
  <?php
2
  /**
3
  * Framework Name: YIT Plugin Framework
4
+ * Version: 2.9.69
5
  * Author: Yithemes
6
  * Text Domain: yith-plugin-fw
7
  * Domain Path: /languages/
plugin-fw/languages/yith-plugin-fw.pot CHANGED
@@ -5,7 +5,7 @@ msgid ""
5
  msgstr ""
6
  "Project-Id-Version: YITH Plugin Starter 1.0.0 Plugin FW\n"
7
  "Report-Msgid-Bugs-To: Your Inspiration Themes <plugins@yithemes.com>\n"
8
- "POT-Creation-Date: 2016-07-06 15:16+0200\n"
9
  "PO-Revision-Date: 2015-05-05 10:38+0100\n"
10
  "Last-Translator: \n"
11
  "Language-Team: Your Inspiration Themes <info@yithemes.com>\n"
@@ -13,7 +13,7 @@ msgstr ""
13
  "MIME-Version: 1.0\n"
14
  "Content-Type: text/plain; charset=utf-8\n"
15
  "Content-Transfer-Encoding: 8bit\n"
16
- "X-Generator: Poedit 1.8.8\n"
17
  "X-Poedit-KeywordsList: __;_e;_x:1,2c;_ex:1,2c;_n:1,2;_nx:1,2,4c;_n_noop:1,2;"
18
  "_nx_noop:1,2,3c;esc_attr__;esc_html__;esc_attr_e;esc_html_e;esc_attr_x:1,2c;"
19
  "esc_html_x:1,2c\n"
@@ -128,7 +128,7 @@ msgid "%s Settings"
128
  msgstr ""
129
 
130
  #: lib/yit-cpt-unlimited.php:1048 lib/yit-cpt-unlimited.php:1196
131
- #: lib/yit-cpt-unlimited.php:1202 lib/yit-plugin-panel.php:74
132
  msgid "Settings"
133
  msgstr ""
134
 
@@ -220,81 +220,73 @@ msgstr ""
220
  msgid "Upload multiple files"
221
  msgstr ""
222
 
223
- #: lib/yit-plugin-panel-sidebar.php:421 templates/panel/sidebar/sidebar.php:3
224
- msgid "Hide sidebar"
225
- msgstr ""
226
-
227
- #: lib/yit-plugin-panel-sidebar.php:422 templates/panel/sidebar/sidebar.php:3
228
- msgid "Show sidebar"
229
- msgstr ""
230
-
231
- #: lib/yit-plugin-panel-wc.php:374
232
  msgid "The changes you have made will be lost if you leave this page."
233
  msgstr ""
234
 
235
- #: lib/yit-plugin-panel.php:73
236
  msgid "Plugin Settings"
237
  msgstr ""
238
 
239
- #: lib/yit-plugin-panel.php:297 lib/yit-plugin-panel.php:300
240
  msgid "How to install premium version"
241
  msgstr ""
242
 
243
- #: lib/yit-plugin-panel.php:352 lib/yit-plugin-subpanel.php:146
244
  #: templates/panel/woocommerce/woocommerce-form.php:11
245
  msgid "Save Changes"
246
  msgstr ""
247
 
248
- #: lib/yit-plugin-panel.php:355 templates/panel/woocommerce/woocommerce-form.php:14
249
  msgid "If you continue with this action, you will reset all options in this page."
250
  msgstr ""
251
 
252
- #: lib/yit-plugin-panel.php:357 lib/yit-plugin-subpanel.php:151
253
  msgid "Reset to default"
254
  msgstr ""
255
 
256
- #: lib/yit-plugin-panel.php:357 lib/yit-plugin-subpanel.php:151
257
  #: templates/panel/woocommerce/woocommerce-form.php:18
258
  msgid "Are you sure?"
259
  msgstr ""
260
 
261
- #: lib/yit-plugin-panel.php:553
262
  msgid "The element you have entered already exists. Please, enter another name."
263
  msgstr ""
264
 
265
- #: lib/yit-plugin-panel.php:554
266
  msgid "Settings saved"
267
  msgstr ""
268
 
269
- #: lib/yit-plugin-panel.php:555
270
  msgid "Settings reset"
271
  msgstr ""
272
 
273
- #: lib/yit-plugin-panel.php:556
274
  msgid "Element deleted correctly."
275
  msgstr ""
276
 
277
- #: lib/yit-plugin-panel.php:557 lib/yit-plugin-panel.php:558
278
  msgid "Element updated correctly."
279
  msgstr ""
280
 
281
- #: lib/yit-plugin-panel.php:559
282
  msgid "Database imported correctly."
283
  msgstr ""
284
 
285
- #: lib/yit-plugin-panel.php:560
286
  msgid "An error has occurred during import. Please try again."
287
  msgstr ""
288
 
289
- #: lib/yit-plugin-panel.php:561
290
  msgid "The added file is not valid."
291
  msgstr ""
292
 
293
- #: lib/yit-plugin-panel.php:562
294
  msgid "Sorry, import is disabled."
295
  msgstr ""
296
 
297
- #: lib/yit-plugin-panel.php:563
298
  msgid "Sorting successful."
299
  msgstr ""
300
 
@@ -309,9 +301,9 @@ msgstr ""
309
 
310
  #: lib/yit-pointers.php:71
311
  msgid ""
312
- "From now on, you can find all plugin options in YIT Plugin menu.\n"
313
- " For each plugin installed, customization "
314
- "settings will be available as a new entry in YIT Plugin menu."
315
  msgstr ""
316
 
317
  #: lib/yit-pointers.php:73 lib/yit-pointers.php:89
@@ -328,13 +320,13 @@ msgstr ""
328
 
329
  #: lib/yit-pointers.php:85
330
  msgid ""
331
- "From now on, you can find all options of your plugins in YIT Plugin menu.\n"
332
- " Any time one of our plugins is updated, a new "
333
  "entry will be added to this menu.\n"
334
  " For example, after the update, plugin options "
335
  "(such as for YITH WooCommerce Wishlist, YITH WooCommerce Ajax Search, etc.)\n"
336
- " will be moved from previous location to YIT "
337
- "Plugin tab."
338
  msgstr ""
339
 
340
  #: lib/yit-upgrade.php:135
@@ -369,67 +361,68 @@ msgstr ""
369
  msgid "Could not create Temporary file."
370
  msgstr ""
371
 
372
- #: lib/yit-upgrade.php:439
373
  #, php-format
374
  msgid ""
375
  "There is a new version of %1$s available. <a href=\"%2$s\" class=\"thickbox yit-"
376
- "changelog-button\" title=\"%3$s\">View version %4$s details</a>."
 
377
  msgstr ""
378
 
379
- #: lib/yit-upgrade.php:441
380
  #, php-format
381
  msgid ""
382
  "There is a new version of %1$s available. <a href=\"%2$s\" class=\"thickbox yit-"
383
- "changelog-button\" title=\"%3$s\">View version %4$s details</a>. <em>You have to "
384
- "activate the plugin on a single site of the network to benefit from automatic "
385
- "updates.</em>"
386
  msgstr ""
387
 
388
- #: lib/yit-upgrade.php:443
389
  #, php-format
390
  msgid ""
391
  "There is a new version of %1$s available. <a href=\"%2$s\" class=\"thickbox yit-"
392
- "changelog-button\" title=\"%3$s\">View version %4$s details</a>. <em>Automatic "
393
- "update is unavailable for this plugin, please <a href=\"%5$s\" title=\"License "
394
- "activation\">activate</a> your copy of %6s.</em>"
395
  msgstr ""
396
 
397
- #: lib/yit-upgrade.php:445
398
  #, php-format
399
  msgid ""
400
  "There is a new version of %1$s available. <a href=\"%2$s\" class=\"thickbox yit-"
401
- "changelog-button\" title=\"%3$s\">View version %4$s details</a> or <a href=\"%5$s"
402
- "\">update now</a>."
403
  msgstr ""
404
 
405
- #: lib/yit-upgrade.php:517
406
  msgid "You can't update the plugins for this site."
407
  msgstr ""
408
 
409
- #: lib/yit-upgrade.php:521
410
  msgid "You do not have sufficient permissions to update the plugins for this site."
411
  msgstr ""
412
 
413
- #: lib/yit-upgrade.php:528
414
  msgid "Update Plugin"
415
  msgstr ""
416
 
417
- #: licence/lib/yit-licence.php:182
418
  #, php-format
419
  msgctxt "%s = field name"
420
  msgid "%s field cannot be empty"
421
  msgstr ""
422
 
423
- #: licence/lib/yit-licence.php:183
424
  #, php-format
425
  msgid "%s and %s fields cannot be empty"
426
  msgstr ""
427
 
428
- #: licence/lib/yit-licence.php:184
429
  msgid "Unable to contact the remote server, please try again later. Thanks!"
430
  msgstr ""
431
 
432
- #: licence/lib/yit-licence.php:185
433
  #: licence/templates/panel/activation/activation-panel.php:88
434
  #: licence/templates/panel/activation/activation-panel.php:166
435
  #: licence/templates/panel/activation/activation-panel.php:197
@@ -438,62 +431,62 @@ msgstr ""
438
  msgid "Email"
439
  msgstr ""
440
 
441
- #: licence/lib/yit-licence.php:186
442
  #: licence/templates/panel/activation/activation-panel.php:89
443
  #: licence/templates/panel/activation/activation-panel.php:167
444
  #: licence/templates/panel/activation/activation-panel.php:198
445
  msgid "License Key"
446
  msgstr ""
447
 
448
- #: licence/lib/yit-licence.php:187
449
  msgid "Are you sure you want to deactivate the license for current site?"
450
  msgstr ""
451
 
452
- #: licence/lib/yit-licence.php:667
453
  msgid "Invalid Request"
454
  msgstr ""
455
 
456
- #: licence/lib/yit-licence.php:668
457
  msgid "Invalid license key"
458
  msgstr ""
459
 
460
- #: licence/lib/yit-licence.php:669
461
  msgid "Software has been deactivated"
462
  msgstr ""
463
 
464
- #: licence/lib/yit-licence.php:670
465
  msgid "Maximum number of activations exceeded"
466
  msgstr ""
467
 
468
- #: licence/lib/yit-licence.php:671
469
  msgid "Invalid instance ID"
470
  msgstr ""
471
 
472
- #: licence/lib/yit-licence.php:672
473
  msgid "Invalid security key"
474
  msgstr ""
475
 
476
- #: licence/lib/yit-licence.php:673
477
  msgid "License key has expired"
478
  msgstr ""
479
 
480
- #: licence/lib/yit-licence.php:674
481
  msgid "License key has been banned"
482
  msgstr ""
483
 
484
- #: licence/lib/yit-licence.php:675
485
  msgid "Current product is not included in your YITH Club Subscription key"
486
  msgstr ""
487
 
488
- #: licence/lib/yit-licence.php:676
489
  msgid "Great"
490
  msgstr ""
491
 
492
- #: licence/lib/yit-licence.php:676
493
  msgid "License successfully activated"
494
  msgstr ""
495
 
496
- #: licence/lib/yit-licence.php:677
497
  msgid "License key deactivated for website"
498
  msgstr ""
499
 
@@ -969,22 +962,6 @@ msgstr ""
969
  msgid "Italic bold"
970
  msgstr ""
971
 
972
- #: templates/panel/sidebar/widgets/widgets.php:17
973
- msgid "Join the club"
974
- msgstr ""
975
-
976
- #: templates/panel/sidebar/widgets/widgets.php:24
977
- msgid "Despacho Theme - 100% FREE"
978
- msgstr ""
979
-
980
- #: templates/panel/sidebar/widgets/widgets.php:28
981
- msgid "FREE!"
982
- msgstr ""
983
-
984
- #: templates/panel/sidebar/widgets/widgets.php:34
985
- msgid "Important Links"
986
- msgstr ""
987
-
988
  #: templates/panel/types/upload.php:32
989
  msgid "Reset"
990
  msgstr ""
5
  msgstr ""
6
  "Project-Id-Version: YITH Plugin Starter 1.0.0 Plugin FW\n"
7
  "Report-Msgid-Bugs-To: Your Inspiration Themes <plugins@yithemes.com>\n"
8
+ "POT-Creation-Date: 2017-09-27 13:39+0200\n"
9
  "PO-Revision-Date: 2015-05-05 10:38+0100\n"
10
  "Last-Translator: \n"
11
  "Language-Team: Your Inspiration Themes <info@yithemes.com>\n"
13
  "MIME-Version: 1.0\n"
14
  "Content-Type: text/plain; charset=utf-8\n"
15
  "Content-Transfer-Encoding: 8bit\n"
16
+ "X-Generator: Poedit 1.8.9\n"
17
  "X-Poedit-KeywordsList: __;_e;_x:1,2c;_ex:1,2c;_n:1,2;_nx:1,2,4c;_n_noop:1,2;"
18
  "_nx_noop:1,2,3c;esc_attr__;esc_html__;esc_attr_e;esc_html_e;esc_attr_x:1,2c;"
19
  "esc_html_x:1,2c\n"
128
  msgstr ""
129
 
130
  #: lib/yit-cpt-unlimited.php:1048 lib/yit-cpt-unlimited.php:1196
131
+ #: lib/yit-cpt-unlimited.php:1202 lib/yit-plugin-panel.php:69
132
  msgid "Settings"
133
  msgstr ""
134
 
220
  msgid "Upload multiple files"
221
  msgstr ""
222
 
223
+ #: lib/yit-plugin-panel-wc.php:372
 
 
 
 
 
 
 
 
224
  msgid "The changes you have made will be lost if you leave this page."
225
  msgstr ""
226
 
227
+ #: lib/yit-plugin-panel.php:68
228
  msgid "Plugin Settings"
229
  msgstr ""
230
 
231
+ #: lib/yit-plugin-panel.php:291 lib/yit-plugin-panel.php:294
232
  msgid "How to install premium version"
233
  msgstr ""
234
 
235
+ #: lib/yit-plugin-panel.php:345 lib/yit-plugin-subpanel.php:146
236
  #: templates/panel/woocommerce/woocommerce-form.php:11
237
  msgid "Save Changes"
238
  msgstr ""
239
 
240
+ #: lib/yit-plugin-panel.php:348 templates/panel/woocommerce/woocommerce-form.php:14
241
  msgid "If you continue with this action, you will reset all options in this page."
242
  msgstr ""
243
 
244
+ #: lib/yit-plugin-panel.php:350 lib/yit-plugin-subpanel.php:151
245
  msgid "Reset to default"
246
  msgstr ""
247
 
248
+ #: lib/yit-plugin-panel.php:350 lib/yit-plugin-subpanel.php:151
249
  #: templates/panel/woocommerce/woocommerce-form.php:18
250
  msgid "Are you sure?"
251
  msgstr ""
252
 
253
+ #: lib/yit-plugin-panel.php:487
254
  msgid "The element you have entered already exists. Please, enter another name."
255
  msgstr ""
256
 
257
+ #: lib/yit-plugin-panel.php:488
258
  msgid "Settings saved"
259
  msgstr ""
260
 
261
+ #: lib/yit-plugin-panel.php:489
262
  msgid "Settings reset"
263
  msgstr ""
264
 
265
+ #: lib/yit-plugin-panel.php:490
266
  msgid "Element deleted correctly."
267
  msgstr ""
268
 
269
+ #: lib/yit-plugin-panel.php:491 lib/yit-plugin-panel.php:492
270
  msgid "Element updated correctly."
271
  msgstr ""
272
 
273
+ #: lib/yit-plugin-panel.php:493
274
  msgid "Database imported correctly."
275
  msgstr ""
276
 
277
+ #: lib/yit-plugin-panel.php:494
278
  msgid "An error has occurred during import. Please try again."
279
  msgstr ""
280
 
281
+ #: lib/yit-plugin-panel.php:495
282
  msgid "The added file is not valid."
283
  msgstr ""
284
 
285
+ #: lib/yit-plugin-panel.php:496
286
  msgid "Sorry, import is disabled."
287
  msgstr ""
288
 
289
+ #: lib/yit-plugin-panel.php:497
290
  msgid "Sorting successful."
291
  msgstr ""
292
 
301
 
302
  #: lib/yit-pointers.php:71
303
  msgid ""
304
+ "From now on, you can find all plugin options in YITH Plugins menu.\n"
305
+ " Plugin customization settings will be "
306
+ "available as a new entry in YITH Plugins menu."
307
  msgstr ""
308
 
309
  #: lib/yit-pointers.php:73 lib/yit-pointers.php:89
320
 
321
  #: lib/yit-pointers.php:85
322
  msgid ""
323
+ "From now on, you can find the option panel of YITH plugins in YITH Plugins menu.\n"
324
+ " Every time one of our plugins is added, a new "
325
  "entry will be added to this menu.\n"
326
  " For example, after the update, plugin options "
327
  "(such as for YITH WooCommerce Wishlist, YITH WooCommerce Ajax Search, etc.)\n"
328
+ " will be moved from previous location to YITH "
329
+ "Plugins tab."
330
  msgstr ""
331
 
332
  #: lib/yit-upgrade.php:135
361
  msgid "Could not create Temporary file."
362
  msgstr ""
363
 
364
+ #: lib/yit-upgrade.php:446
365
  #, php-format
366
  msgid ""
367
  "There is a new version of %1$s available. <a href=\"%2$s\" class=\"thickbox yit-"
368
+ "changelog-button open-plugin-details-modal\" title=\"%3$s\">View version %4$s "
369
+ "details</a>."
370
  msgstr ""
371
 
372
+ #: lib/yit-upgrade.php:448
373
  #, php-format
374
  msgid ""
375
  "There is a new version of %1$s available. <a href=\"%2$s\" class=\"thickbox yit-"
376
+ "changelog-button open-plugin-details-modal\" title=\"%3$s\">View version %4$s "
377
+ "details</a>. <em>You have to activate the plugin on a single site of the network "
378
+ "to benefit from automatic updates.</em>"
379
  msgstr ""
380
 
381
+ #: lib/yit-upgrade.php:450
382
  #, php-format
383
  msgid ""
384
  "There is a new version of %1$s available. <a href=\"%2$s\" class=\"thickbox yit-"
385
+ "changelog-button open-plugin-details-modal\" title=\"%3$s\">View version %4$s "
386
+ "details</a>. <em>Automatic update is unavailable for this plugin, please <a href="
387
+ "\"%5$s\" title=\"License activation\">activate</a> your copy of %6s.</em>"
388
  msgstr ""
389
 
390
+ #: lib/yit-upgrade.php:452
391
  #, php-format
392
  msgid ""
393
  "There is a new version of %1$s available. <a href=\"%2$s\" class=\"thickbox yit-"
394
+ "changelog-button open-plugin-details-modal\" title=\"%3$s\">View version %4$s "
395
+ "details</a> or <a href=\"%5$s\">update now</a>."
396
  msgstr ""
397
 
398
+ #: lib/yit-upgrade.php:526
399
  msgid "You can't update the plugins for this site."
400
  msgstr ""
401
 
402
+ #: lib/yit-upgrade.php:530
403
  msgid "You do not have sufficient permissions to update the plugins for this site."
404
  msgstr ""
405
 
406
+ #: lib/yit-upgrade.php:537
407
  msgid "Update Plugin"
408
  msgstr ""
409
 
410
+ #: licence/lib/yit-licence.php:183
411
  #, php-format
412
  msgctxt "%s = field name"
413
  msgid "%s field cannot be empty"
414
  msgstr ""
415
 
416
+ #: licence/lib/yit-licence.php:184
417
  #, php-format
418
  msgid "%s and %s fields cannot be empty"
419
  msgstr ""
420
 
421
+ #: licence/lib/yit-licence.php:185
422
  msgid "Unable to contact the remote server, please try again later. Thanks!"
423
  msgstr ""
424
 
425
+ #: licence/lib/yit-licence.php:186
426
  #: licence/templates/panel/activation/activation-panel.php:88
427
  #: licence/templates/panel/activation/activation-panel.php:166
428
  #: licence/templates/panel/activation/activation-panel.php:197
431
  msgid "Email"
432
  msgstr ""
433
 
434
+ #: licence/lib/yit-licence.php:187
435
  #: licence/templates/panel/activation/activation-panel.php:89
436
  #: licence/templates/panel/activation/activation-panel.php:167
437
  #: licence/templates/panel/activation/activation-panel.php:198
438
  msgid "License Key"
439
  msgstr ""
440
 
441
+ #: licence/lib/yit-licence.php:188
442
  msgid "Are you sure you want to deactivate the license for current site?"
443
  msgstr ""
444
 
445
+ #: licence/lib/yit-licence.php:668
446
  msgid "Invalid Request"
447
  msgstr ""
448
 
449
+ #: licence/lib/yit-licence.php:669
450
  msgid "Invalid license key"
451
  msgstr ""
452
 
453
+ #: licence/lib/yit-licence.php:670
454
  msgid "Software has been deactivated"
455
  msgstr ""
456
 
457
+ #: licence/lib/yit-licence.php:671
458
  msgid "Maximum number of activations exceeded"
459
  msgstr ""
460
 
461
+ #: licence/lib/yit-licence.php:672
462
  msgid "Invalid instance ID"
463
  msgstr ""
464
 
465
+ #: licence/lib/yit-licence.php:673
466
  msgid "Invalid security key"
467
  msgstr ""
468
 
469
+ #: licence/lib/yit-licence.php:674
470
  msgid "License key has expired"
471
  msgstr ""
472
 
473
+ #: licence/lib/yit-licence.php:675
474
  msgid "License key has been banned"
475
  msgstr ""
476
 
477
+ #: licence/lib/yit-licence.php:676
478
  msgid "Current product is not included in your YITH Club Subscription key"
479
  msgstr ""
480
 
481
+ #: licence/lib/yit-licence.php:677
482
  msgid "Great"
483
  msgstr ""
484
 
485
+ #: licence/lib/yit-licence.php:677
486
  msgid "License successfully activated"
487
  msgstr ""
488
 
489
+ #: licence/lib/yit-licence.php:678
490
  msgid "License key deactivated for website"
491
  msgstr ""
492
 
962
  msgid "Italic bold"
963
  msgstr ""
964
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
965
  #: templates/panel/types/upload.php:32
966
  msgid "Reset"
967
  msgstr ""
plugin-fw/lib/yit-ajax.php CHANGED
@@ -40,7 +40,7 @@ if ( !class_exists( 'YIT_Ajax' ) ) {
40
  * @author Leanza Francesco <leanzafrancesco@gmail.com>
41
  */
42
  private function __construct() {
43
- add_action( 'wp_ajax_yith_plugin_panel_sidebar_set_collapse_option', array( $this, 'set_ajax_sidebar_collapse_option' ) );
44
  }
45
 
46
  /**
@@ -59,17 +59,6 @@ if ( !class_exists( 'YIT_Ajax' ) ) {
59
 
60
  return self::$_instance;
61
  }
62
-
63
- /**
64
- * Set Sidebar collapse option [AJAX]
65
- */
66
- public function set_ajax_sidebar_collapse_option() {
67
- if ( isset( $_REQUEST[ 'option' ] ) ) {
68
- $option = $_REQUEST[ 'option' ];
69
- update_option( YIT_Plugin_Panel_Sidebar::$collapse_option, $option );
70
- }
71
- die();
72
- }
73
  }
74
  }
75
 
40
  * @author Leanza Francesco <leanzafrancesco@gmail.com>
41
  */
42
  private function __construct() {
43
+
44
  }
45
 
46
  /**
59
 
60
  return self::$_instance;
61
  }
 
 
 
 
 
 
 
 
 
 
 
62
  }
63
  }
64
 
plugin-fw/lib/yit-plugin-panel-wc.php CHANGED
@@ -94,9 +94,6 @@ if ( ! class_exists( 'YIT_Plugin_Panel_WooCommerce' ) ) {
94
  /* WooCommerce 2.4 Support */
95
  add_filter( 'admin_body_class', array( $this, 'admin_body_class' ) );
96
  }
97
-
98
- /* add YIT Plugin sidebar */
99
- $this->sidebar = YIT_Plugin_Panel_Sidebar::instance( $this );
100
  }
101
 
102
 
@@ -251,10 +248,9 @@ if ( ! class_exists( 'YIT_Plugin_Panel_WooCommerce' ) ) {
251
  $yit_options = $this->get_main_array_options();
252
  $current_tab = $this->get_current_tab();
253
  $custom_tab_action = $this->is_custom_tab( $yit_options, $current_tab );
254
- $hide_sidebar = $this->hide_sidebar( $yit_options, $current_tab );
255
 
256
  if ( $custom_tab_action ) {
257
- $this->print_custom_tab( $custom_tab_action, $hide_sidebar );
258
  return;
259
  }
260
  else {
94
  /* WooCommerce 2.4 Support */
95
  add_filter( 'admin_body_class', array( $this, 'admin_body_class' ) );
96
  }
 
 
 
97
  }
98
 
99
 
248
  $yit_options = $this->get_main_array_options();
249
  $current_tab = $this->get_current_tab();
250
  $custom_tab_action = $this->is_custom_tab( $yit_options, $current_tab );
 
251
 
252
  if ( $custom_tab_action ) {
253
+ $this->print_custom_tab( $custom_tab_action);
254
  return;
255
  }
256
  else {
plugin-fw/lib/yit-plugin-panel.php CHANGED
@@ -46,11 +46,6 @@ if ( ! class_exists( 'YIT_Plugin_Panel' ) ) {
46
  */
47
  private $_main_array_options = array();
48
 
49
- /**
50
- * @var YIT_Plugin_Panel_Sidebar
51
- */
52
- public $sidebar;
53
-
54
  /**
55
  * @var array
56
  */
@@ -97,9 +92,6 @@ if ( ! class_exists( 'YIT_Plugin_Panel' ) ) {
97
  add_action( 'admin_init', array( $this, 'add_fields' ) );
98
  }
99
 
100
- /* add YIT Plugin sidebar */
101
- $this->sidebar = YIT_Plugin_Panel_Sidebar::instance( $this );
102
-
103
  add_action( 'admin_enqueue_scripts', array( $this, 'admin_enqueue_scripts' ) );
104
  }
105
 
@@ -331,15 +323,14 @@ if ( ! class_exists( 'YIT_Plugin_Panel' ) ) {
331
  </h2>
332
  <?php
333
  $custom_tab_action = $this->is_custom_tab( $yit_options, $current_tab );
334
- $hide_sidebar = $this->hide_sidebar();
335
  if ( $custom_tab_action ) {
336
- $this->print_custom_tab( $custom_tab_action, $hide_sidebar );
337
  return;
338
  }
339
  ?>
340
  <?php $this->print_video_box(); ?>
341
  <?php
342
- $panel_content_class = !$hide_sidebar ? apply_filters( 'yit_admin_panel_content_class', 'yit-admin-panel-content-wrap' ) : 'yit-admin-panel-content-wrap-no-sidebar';
343
  ?>
344
  <div id="wrap" class="plugin-option yit-admin-panel-container">
345
  <?php $this->message(); ?>
@@ -361,13 +352,6 @@ if ( ! class_exists( 'YIT_Plugin_Panel' ) ) {
361
  <p>&nbsp;</p>
362
  <?php endif ?>
363
  </div>
364
- <?php
365
- /**
366
- * Add panel Sidebar
367
- */
368
- if ( !$hide_sidebar )
369
- $this->print_panel_sidebar();
370
- ?>
371
  </div>
372
  <?php
373
  }
@@ -384,71 +368,19 @@ if ( ! class_exists( 'YIT_Plugin_Panel' ) ) {
384
  return false;
385
  }
386
 
387
- /**
388
- * Print the panel sidebar
389
- *
390
- * @return void
391
- * @since 1.0
392
- * @author Leanza Francesco <leanzafrancesco@gmail.com>
393
- */
394
- public function print_panel_sidebar() {
395
- $this->sidebar->print_panel_sidebar();
396
- }
397
-
398
- /**
399
- * @param $options
400
- * @param $current_tab
401
- *
402
- * @return bool
403
- *
404
- * @author Leanza Francesco <leanzafrancesco@gmail.com>
405
- */
406
- public function hide_sidebar( $options = '', $current_tab = '' ) {
407
- if ( $options === '' )
408
- $options = $this->get_main_array_options();
409
- if ( $current_tab === '' )
410
- $current_tab = $this->get_current_tab();
411
-
412
- $hide = false;
413
-
414
- foreach ( $options[ $current_tab ] as $section => $option ) {
415
- if ( isset( $option[ 'hide_sidebar' ] ) ) {
416
- $hide = !!$option[ 'hide_sidebar' ];
417
- }
418
- break;
419
- }
420
-
421
- $page = isset( $this->settings[ 'page' ] ) ? $this->settings[ 'page' ] : '';
422
-
423
- return apply_filters( 'yit_panel_hide_sidebar', $hide, $page );
424
- }
425
-
426
  /**
427
  * Fire the action to print the custom tab
428
  *
429
  *
430
  * @param string $action Action to fire
431
- * @param bool $hide_sidebar
432
  *
433
  * @return void
434
  * @since 1.0
435
  * @author Andrea Grillo <andrea.grillo@yithemes.com>
436
  * @author Leanza Francesco <leanzafrancesco@gmail.com>
437
  */
438
- public function print_custom_tab( $action, $hide_sidebar = false ) {
439
- if ( !$hide_sidebar ) {
440
- $panel_content_class = apply_filters( 'yit_admin_panel_content_class', 'yit-admin-panel-content-wrap' ) ;
441
- echo "<div class='yit-admin-panel-container'>";
442
- echo "<div class='$panel_content_class'>";
443
-
444
- do_action( $action );
445
-
446
- echo "</div>";
447
- $this->print_panel_sidebar();
448
- echo "</div>";
449
- } else {
450
- do_action( $action );
451
- }
452
  }
453
 
454
  /**
46
  */
47
  private $_main_array_options = array();
48
 
 
 
 
 
 
49
  /**
50
  * @var array
51
  */
92
  add_action( 'admin_init', array( $this, 'add_fields' ) );
93
  }
94
 
 
 
 
95
  add_action( 'admin_enqueue_scripts', array( $this, 'admin_enqueue_scripts' ) );
96
  }
97
 
323
  </h2>
324
  <?php
325
  $custom_tab_action = $this->is_custom_tab( $yit_options, $current_tab );
 
326
  if ( $custom_tab_action ) {
327
+ $this->print_custom_tab( $custom_tab_action );
328
  return;
329
  }
330
  ?>
331
  <?php $this->print_video_box(); ?>
332
  <?php
333
+ $panel_content_class = apply_filters( 'yit_admin_panel_content_class', 'yit-admin-panel-content-wrap' );
334
  ?>
335
  <div id="wrap" class="plugin-option yit-admin-panel-container">
336
  <?php $this->message(); ?>
352
  <p>&nbsp;</p>
353
  <?php endif ?>
354
  </div>
 
 
 
 
 
 
 
355
  </div>
356
  <?php
357
  }
368
  return false;
369
  }
370
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
371
  /**
372
  * Fire the action to print the custom tab
373
  *
374
  *
375
  * @param string $action Action to fire
 
376
  *
377
  * @return void
378
  * @since 1.0
379
  * @author Andrea Grillo <andrea.grillo@yithemes.com>
380
  * @author Leanza Francesco <leanzafrancesco@gmail.com>
381
  */
382
+ public function print_custom_tab( $action) {
383
+ do_action( $action );
 
 
 
 
 
 
 
 
 
 
 
 
384
  }
385
 
386
  /**
plugin-fw/templates/panel/woocommerce/woocommerce-form.php CHANGED
@@ -1,6 +1,5 @@
1
  <?php
2
- $hide_sidebar = $this->hide_sidebar();
3
- $panel_content_class = !$hide_sidebar ? apply_filters( 'yit_admin_panel_content_class', 'yit-admin-panel-content-wrap' ) : 'yit-admin-panel-content-wrap-no-sidebar';
4
  ?>
5
 
6
  <div id="<?php echo $this->settings[ 'page' ] ?>_<?php echo $this->get_current_tab() ?>" class="yit-admin-panel-container">
@@ -19,12 +18,5 @@ $panel_content_class = !$hide_sidebar ? apply_filters( 'yit_admin_panel_content_
19
  onclick="return confirm('<?php echo $warning . '\n' . __( 'Are you sure?', 'yith-plugin-fw' ) ?>');"/>
20
  </form>
21
  </div>
22
- <?php
23
- /**
24
- * Add panel Sidebar
25
- */
26
- if ( !$hide_sidebar )
27
- $this->print_panel_sidebar();
28
- ?>
29
  <?php do_action( 'yit_framework_after_print_wc_panel_content', $current_tab ); ?>
30
  </div>
1
  <?php
2
+ $panel_content_class = apply_filters( 'yit_admin_panel_content_class', 'yit-admin-panel-content-wrap' );
 
3
  ?>
4
 
5
  <div id="<?php echo $this->settings[ 'page' ] ?>_<?php echo $this->get_current_tab() ?>" class="yit-admin-panel-container">
18
  onclick="return confirm('<?php echo $warning . '\n' . __( 'Are you sure?', 'yith-plugin-fw' ) ?>');"/>
19
  </form>
20
  </div>
 
 
 
 
 
 
 
21
  <?php do_action( 'yit_framework_after_print_wc_panel_content', $current_tab ); ?>
22
  </div>
plugin-fw/yit-plugin-registration-hook.php CHANGED
@@ -19,11 +19,5 @@ if( ! function_exists( 'yith_plugin_registration_hook' ) ){
19
  $option = get_option( 'yit_recently_activated', array() );
20
  $option[] = $hook;
21
  update_option( 'yit_recently_activated', $option );
22
-
23
- /* set remote widget transient for first activation */
24
- if ( !class_exists( 'YIT_Plugin_Panel_Sidebar' ) ) {
25
- require_once 'lib/yit-plugin-panel-sidebar.php';
26
- }
27
- YIT_Plugin_Panel_Sidebar::set_transient_for_first_activation();
28
  }
29
  }
19
  $option = get_option( 'yit_recently_activated', array() );
20
  $option[] = $hook;
21
  update_option( 'yit_recently_activated', $option );
 
 
 
 
 
 
22
  }
23
  }
plugin-fw/yit-plugin.php CHANGED
@@ -25,7 +25,6 @@ include_once( 'lib/yit-metabox.php' );
25
  include_once( 'lib/yit-plugin-panel.php' );
26
  include_once( 'lib/yit-plugin-panel-wc.php' );
27
  include_once( 'lib/yit-ajax.php' );
28
- include_once( 'lib/yit-plugin-panel-sidebar.php' );
29
  include_once( 'lib/yit-plugin-subpanel.php' );
30
  include_once( 'lib/yit-plugin-common.php' );
31
  include_once( 'lib/yit-plugin-gradients.php');
25
  include_once( 'lib/yit-plugin-panel.php' );
26
  include_once( 'lib/yit-plugin-panel-wc.php' );
27
  include_once( 'lib/yit-ajax.php' );
 
28
  include_once( 'lib/yit-plugin-subpanel.php' );
29
  include_once( 'lib/yit-plugin-common.php' );
30
  include_once( 'lib/yit-plugin-gradients.php');
widgets/class.yith-wcan-navigation-widget.php CHANGED
@@ -41,6 +41,8 @@ if ( ! class_exists( 'YITH_WCAN_Navigation_Widget' ) ) {
41
 
42
 
43
  function widget( $args, $instance ) {
 
 
44
  $_chosen_attributes = YITH_WCAN()->get_layered_nav_chosen_attributes();
45
  $queried_object = get_queried_object();
46
 
@@ -148,7 +150,7 @@ if ( ! class_exists( 'YITH_WCAN_Navigation_Widget' ) ) {
148
  echo "</ul>";
149
  }
150
  elseif ( $display_type == 'select' ) {
151
- $dropdown_label = __( 'Filters:', 'yith-woocommerce-ajax-navigation' );
152
  ?>
153
 
154
  <a class="yit-wcan-select-open" href="#"><?php echo apply_filters( 'yith_wcan_dropdown_default_label', $dropdown_label ) ?></a>
@@ -594,7 +596,7 @@ if ( ! class_exists( 'YITH_WCAN_Navigation_Widget' ) ) {
594
 
595
  foreach ( $terms as $term ) {
596
 
597
- // Get count based on current view - uses transients
598
  // $transient_name = 'wc_ln_count_' . md5( sanitize_key( $taxonomy ) . sanitize_key( $term->term_id ) );
599
 
600
  //if ( false === ( $_products_in_term = get_transient( $transient_name ) ) ) {
@@ -791,13 +793,23 @@ if ( ! class_exists( 'YITH_WCAN_Navigation_Widget' ) ) {
791
 
792
  $term_id = yit_wcan_localize_terms( $term->term_id, $taxonomy );
793
 
794
- if ( ! empty( $instance['labels'][$term_id] ) ) {
 
 
 
 
 
 
 
 
 
 
795
 
796
  echo '<li ' . $class . '>';
797
 
798
  echo ( $count > 0 || $option_is_set ) ? '<a title="' . $term->name . '" href="' . $link . '">' : '<span>';
799
 
800
- echo $instance['labels'][$term_id];
801
 
802
  echo ( $count > 0 || $option_is_set ) ? '</a>' : '</span>';
803
  }
41
 
42
 
43
  function widget( $args, $instance ) {
44
+ global $wc_product_attributes;
45
+
46
  $_chosen_attributes = YITH_WCAN()->get_layered_nav_chosen_attributes();
47
  $queried_object = get_queried_object();
48
 
150
  echo "</ul>";
151
  }
152
  elseif ( $display_type == 'select' ) {
153
+ $dropdown_label = apply_filters( 'yith_wcan_dropdown_label', __( 'Filters:', 'yith-woocommerce-ajax-navigation' ), $this );
154
  ?>
155
 
156
  <a class="yit-wcan-select-open" href="#"><?php echo apply_filters( 'yith_wcan_dropdown_default_label', $dropdown_label ) ?></a>
596
 
597
  foreach ( $terms as $term ) {
598
 
599
+ // Get count based on current view - uses transients
600
  // $transient_name = 'wc_ln_count_' . md5( sanitize_key( $taxonomy ) . sanitize_key( $term->term_id ) );
601
 
602
  //if ( false === ( $_products_in_term = get_transient( $transient_name ) ) ) {
793
 
794
  $term_id = yit_wcan_localize_terms( $term->term_id, $taxonomy );
795
 
796
+ $label = '';
797
+
798
+ if( ! empty( $instance['labels'][$term_id] ) ){
799
+ $label = $instance['labels'][ $term_id ];
800
+ }
801
+
802
+ elseif( function_exists( 'ywccl_get_term_meta' ) && ! empty( $wc_product_attributes[ $term->taxonomy ]->attribute_type ) && 'label' == $wc_product_attributes[ $term->taxonomy ]->attribute_type ) {
803
+ $label = ywccl_get_term_meta( $term->term_id, $term->taxonomy . '_yith_wccl_value' );
804
+ }
805
+
806
+ if ( $label ) {
807
 
808
  echo '<li ' . $class . '>';
809
 
810
  echo ( $count > 0 || $option_is_set ) ? '<a title="' . $term->name . '" href="' . $link . '">' : '<span>';
811
 
812
+ echo $label;
813
 
814
  echo ( $count > 0 || $option_is_set ) ? '</a>' : '</span>';
815
  }