YITH Essential Kit for WooCommerce #1 - Version 2.1.2

Version Description

  • Released on 04 February 2020 =

  • Update: Plugin framework

  • New: Tested compatibility with WooCommerce 3.9+

Download this release

Release Info

Developer yithemes
Plugin Icon 128x128 YITH Essential Kit for WooCommerce #1
Version 2.1.2
Comparing to
See all releases

Code changes from version 2.1.1 to 2.1.2

README.txt CHANGED
@@ -4,7 +4,7 @@ Contributors: yithemes
4
  Tags: woocommerce,yith woocommerce colors and labels variations,yith woocommerce zoom magnifier,yith woocommerce wishlist,yith woocommerce ajax product filter,yith woocommerce ajax search,yith woocommerce catalog mode,yith woocommerce advanced reviews, yith woocommerce badges management,yith woocommerce cart messages,yith woocommerce review reminder,yith woocommerce quick view,yith woocommerce mailchimp,yith woocommerce stripe,yith woocommerce request a quote,yith woocommerce tab manager,yith woocommerce multi vendor
5
  Requires at least: 3.5.1
6
  Tested up to: 5.3
7
- Stable tag: 2.1.1
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -151,10 +151,14 @@ YITH Essential Kit for WooCommerce #1 will add a new submenu called "YITH Essent
151
 
152
  == Changelog ==
153
 
 
 
 
 
 
154
  = 2.1.1 - Released on 28 November 2019 =
155
 
156
  * Update: Plugin framework
157
- * Update: Notice handler
158
 
159
  = 2.1.0 - Released on 14 November 2019 =
160
 
4
  Tags: woocommerce,yith woocommerce colors and labels variations,yith woocommerce zoom magnifier,yith woocommerce wishlist,yith woocommerce ajax product filter,yith woocommerce ajax search,yith woocommerce catalog mode,yith woocommerce advanced reviews, yith woocommerce badges management,yith woocommerce cart messages,yith woocommerce review reminder,yith woocommerce quick view,yith woocommerce mailchimp,yith woocommerce stripe,yith woocommerce request a quote,yith woocommerce tab manager,yith woocommerce multi vendor
5
  Requires at least: 3.5.1
6
  Tested up to: 5.3
7
+ Stable tag: 2.1.2
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
151
 
152
  == Changelog ==
153
 
154
+ = 2.1.2 - Released on 04 February 2020 =
155
+
156
+ * Update: Plugin framework
157
+ * New: Tested compatibility with WooCommerce 3.9+
158
+
159
  = 2.1.1 - Released on 28 November 2019 =
160
 
161
  * Update: Plugin framework
 
162
 
163
  = 2.1.0 - Released on 14 November 2019 =
164
 
init.php CHANGED
@@ -7,12 +7,12 @@
7
  * Domain Path: /languages/
8
  * Author: YITH
9
  * Author URI: https://yithemes.com/
10
- * Version: 2.1.1
11
  * WC requires at least: 2.5.0
12
- * WC tested up to: 3.8
13
  * @author YITHEMES
14
  * @package YITH Essential Kit for Woocommerce #1
15
- * @version 2.1.0
16
  */
17
 
18
  if ( ! defined( 'ABSPATH' ) ) {
7
  * Domain Path: /languages/
8
  * Author: YITH
9
  * Author URI: https://yithemes.com/
10
+ * Version: 2.1.2
11
  * WC requires at least: 2.5.0
12
+ * WC tested up to: 3.9
13
  * @author YITHEMES
14
  * @package YITH Essential Kit for Woocommerce #1
15
+ * @version 2.1.2
16
  */
17
 
18
  if ( ! defined( 'ABSPATH' ) ) {
plugin-fw/init.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /**
3
  * Framework Name: YIT Plugin Framework
4
- * Version: 3.4.3
5
  * Author: YITHEMES
6
  * Text Domain: yith-plugin-fw
7
  * Domain Path: /languages/
1
  <?php
2
  /**
3
  * Framework Name: YIT Plugin Framework
4
+ * Version: 3.4.2
5
  * Author: YITHEMES
6
  * Text Domain: yith-plugin-fw
7
  * Domain Path: /languages/
plugin-fw/lib/promo/yith-promo.php CHANGED
@@ -21,22 +21,11 @@ if( ! function_exists( 'yith_plugin_fw_promo_notices' ) ){
21
  global $pagenow;
22
  $not_administrator = function_exists( 'current_user_can' ) && ! current_user_can( 'administrator' );
23
  $is_dashboard = 'index.php' == $pagenow;
24
- $is_wc_pages = '';
25
- $is_plugin_page = 'plugins.php' == $pagenow || 'plugin-install.php' == $pagenow && 'plugin-editor.php' == $pagenow;
26
- $wc_post_types = array( 'shop_order', 'shop_coupon', );
27
- $is_wc_post_types = isset( $_GET['post_type'] ) && in_array( $_GET['post_type'], $wc_post_types );
28
- $wc_pages = array( 'wc-reports', 'wc-settings', 'wc-status', 'wc-addons' );
29
- $is_wc_pages = isset( $_GET['page'] ) && in_array( $_GET['page'], $wc_pages );
30
- $is_yith_page = isset( $_GET['page'] ) && false !== strstr( $_GET['page'], 'yith' ) ;
31
-
32
- if( $not_administrator ){
33
  return false;
34
  }
35
 
36
- if( ! $is_plugin_page && ! $is_wc_pages && ! $is_wc_post_types && ! $is_yith_page ){
37
- return false;
38
- }
39
-
40
  $base_url = apply_filters( 'yith_plugin_fw_promo_base_url', YIT_CORE_PLUGIN_URL . '/lib/promo/' );
41
  $xml = apply_filters( 'yith_plugin_fw_promo_xml_url', YIT_CORE_PLUGIN_PATH . '/lib/promo/yith-promo.xml' );
42
  $transient = "yith_promo_message";
21
  global $pagenow;
22
  $not_administrator = function_exists( 'current_user_can' ) && ! current_user_can( 'administrator' );
23
  $is_dashboard = 'index.php' == $pagenow;
24
+
25
+ if( $not_administrator || $is_dashboard ){
 
 
 
 
 
 
 
26
  return false;
27
  }
28
 
 
 
 
 
29
  $base_url = apply_filters( 'yith_plugin_fw_promo_base_url', YIT_CORE_PLUGIN_URL . '/lib/promo/' );
30
  $xml = apply_filters( 'yith_plugin_fw_promo_xml_url', YIT_CORE_PLUGIN_PATH . '/lib/promo/yith-promo.xml' );
31
  $transient = "yith_promo_message";