YITH Essential Kit for WooCommerce #1 - Version 1.1.14

Version Description

  • Fixed: Minor Bugs
Download this release

Release Info

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

Code changes from version 1.1.13 to 1.1.14

README.txt CHANGED
@@ -4,7 +4,7 @@ Contributors: yithemes
4
Tags: woocommerce,jetpack,woocommerce jetpack, essential, kit, plugins, plugin, product, e-commerce, ecommerce, commerce, shop, yith, yit, yithemes,yith woocommerce colors and labels variations, colors and labels variations,colors and labels variations jetpack,yith woocommerce zoom magnifier,zoom magnifier,zoom magnifier jetpack,yith woocommerce wishlist,wishlist,wishlist jetpack,yith woocommerce compare,compare,compare jetpack,yith woocommerce ajax product filter,ajax product filter,ajax product filter jetpack,yith woocommerce ajax search,ajax search,ajax search jetpack,yith woocommerce catalog mode,catalog mode,catalog mode jetpack,yith woocommerce order tracking,order tracking,order tracking jetpack, yith woocommerce advanced reviews,advanced reviews,advanced reviews jetpack,yith woocommerce badges management,badges management,badges management jetpack,yith woocommerce cart messages,cart messages,cart messages jetpack,yith woocommerce review reminder,review reminder,review reminder jetpack,yith woocommerce quick view,quick view,quick view jetpack,yith live chat,live chat,live chat jetpack,yith woocommerce eu vat,eu vat,eu vat jetpack,yith woocommerce mailchimp,mailchimp,mailchimp jetpack,yith woocommerce stripe,stripe, stripe jetpack,yith infinite scrolling,infinite scrolling,infinite scrolling jetpack,yith woocommerce request a quote,request a quote,request a quote jetpack,yith woocommerce waiting list,waiting list,waiting list jetpack,yith woocommerce tab manager,tab manager,tab manager jetpack,yith woocommerce multi vendor,multi vendor,multi vendor jetpack,product vendor,products vendor,products vendor jetpack, booster for woocommerce
5
Requires at least: 3.5.1
6
Tested up to: 4.2.4
7
- Stable tag: 1.1.13
8
License: GPLv2 or later
9
License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
@@ -151,6 +151,10 @@ YITH Essential Kit for WooCommerce #1 will add a new submenu called "YITH Essent
151
152
== Changelog ==
153
154
= 1.1.13 =
155
156
* Update: YITH WooCommerce Multi Vendor
@@ -257,4 +261,4 @@ YITH Essential Kit for WooCommerce #1 will add a new submenu called "YITH Essent
257
258
== Upgrade Notice ==
259
260
- Last Stable Tag 1.1.12
4
Tags: woocommerce,jetpack,woocommerce jetpack, essential, kit, plugins, plugin, product, e-commerce, ecommerce, commerce, shop, yith, yit, yithemes,yith woocommerce colors and labels variations, colors and labels variations,colors and labels variations jetpack,yith woocommerce zoom magnifier,zoom magnifier,zoom magnifier jetpack,yith woocommerce wishlist,wishlist,wishlist jetpack,yith woocommerce compare,compare,compare jetpack,yith woocommerce ajax product filter,ajax product filter,ajax product filter jetpack,yith woocommerce ajax search,ajax search,ajax search jetpack,yith woocommerce catalog mode,catalog mode,catalog mode jetpack,yith woocommerce order tracking,order tracking,order tracking jetpack, yith woocommerce advanced reviews,advanced reviews,advanced reviews jetpack,yith woocommerce badges management,badges management,badges management jetpack,yith woocommerce cart messages,cart messages,cart messages jetpack,yith woocommerce review reminder,review reminder,review reminder jetpack,yith woocommerce quick view,quick view,quick view jetpack,yith live chat,live chat,live chat jetpack,yith woocommerce eu vat,eu vat,eu vat jetpack,yith woocommerce mailchimp,mailchimp,mailchimp jetpack,yith woocommerce stripe,stripe, stripe jetpack,yith infinite scrolling,infinite scrolling,infinite scrolling jetpack,yith woocommerce request a quote,request a quote,request a quote jetpack,yith woocommerce waiting list,waiting list,waiting list jetpack,yith woocommerce tab manager,tab manager,tab manager jetpack,yith woocommerce multi vendor,multi vendor,multi vendor jetpack,product vendor,products vendor,products vendor jetpack, booster for woocommerce
5
Requires at least: 3.5.1
6
Tested up to: 4.2.4
7
+ Stable tag: 1.1.14
8
License: GPLv2 or later
9
License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
151
152
== Changelog ==
153
154
+ = 1.1.14 =
155
+
156
+ * Fixed: Minor Bugs
157
+
158
= 1.1.13 =
159
160
* Update: YITH WooCommerce Multi Vendor
261
262
== Upgrade Notice ==
263
264
+ Last Stable Tag 1.1.4
init.php CHANGED
@@ -7,7 +7,7 @@ Text Domain: yith-essential-kit-for-woocommerce-1
7
Domain Path: /languages/
8
Author: YIThemes
9
Author URI: http://yithemes.com/
10
- Version: 1.1.13
11
*/
12
13
if ( ! defined( 'ABSPATH' ) ) {
7
Domain Path: /languages/
8
Author: YIThemes
9
Author URI: http://yithemes.com/
10
+ Version: 1.1.14
11
*/
12
13
if ( ! defined( 'ABSPATH' ) ) {
templates/yith-list-plugins.php CHANGED
@@ -36,9 +36,17 @@ $count_recommended = count( $recommended_modules_list );
36
37
$plugin_filter_status = ! isset( $_GET['plugin_status'] ) ? 'all' : $_GET['plugin_status'];
38
39
$theme = wp_get_theme();
40
$uri = $theme->get( 'ThemeURI' );
41
$is_referral_theme = strstr( $uri , 'despacho' );
42
//--------------------------------------------------
43
if ( isset( $_GET['message'] ) && $_GET['message'] == 'activated' ) : ?>
44
<div id="message" class="updated notice is-dismissible">
@@ -106,7 +114,7 @@ elseif ( isset( $_GET['message'] ) && $_GET['message'] == 'deactivated-all' ) :
106
continue;
107
}
108
109
- $this->print_single_plugin( $module_data, $is_active , $is_new , $is_recommended , $is_premium_installed , $is_referral_theme );
110
111
}
112
36
37
$plugin_filter_status = ! isset( $_GET['plugin_status'] ) ? 'all' : $_GET['plugin_status'];
38
39
+
40
+ $refer_id = 0;
41
$theme = wp_get_theme();
42
$uri = $theme->get( 'ThemeURI' );
43
$is_referral_theme = strstr( $uri , 'despacho' );
44
+
45
+ if( defined( 'YITH_REFER_ID' ) ) {
46
+ $refer_id = YITH_REFER_ID;
47
+ } else if ( $is_referral_theme ) {
48
+ $refer_id = 1036888;
49
+ }
50
//--------------------------------------------------
51
if ( isset( $_GET['message'] ) && $_GET['message'] == 'activated' ) : ?>
52
<div id="message" class="updated notice is-dismissible">
114
continue;
115
}
116
117
+ $this->print_single_plugin( $module_data, $is_active , $is_new , $is_recommended , $is_premium_installed , $refer_id );
118
119
}
120
templates/yith-single-plugin.php CHANGED
@@ -14,7 +14,7 @@ if ( ! defined( 'ABSPATH' ) ) {
14
15
$is_premium_activated = isset( $module_data['premium_constat'] ) && defined( $module_data['premium_constat'] );
16
$is_yith_repository = ( isset( $module_data['repository'] ) && $module_data['repository'] == 'yith' );
17
- $referral_arg = $is_referral_theme ? '?refer_id=1036888' : '' ;
18
// yith repository
19
if ( $is_yith_repository ) {
20
$plugin = $module_data;
14
15
$is_premium_activated = isset( $module_data['premium_constat'] ) && defined( $module_data['premium_constat'] );
16
$is_yith_repository = ( isset( $module_data['repository'] ) && $module_data['repository'] == 'yith' );
17
+ $referral_arg = $refer_id > 0 ? '?refer_id='.$refer_id : '' ;
18
// yith repository
19
if ( $is_yith_repository ) {
20
$plugin = $module_data;
yith-jetpack.php CHANGED
@@ -617,7 +617,7 @@ if ( ! class_exists( 'YITH_JetPack' ) ) {
617
*
618
* @since 1.0.0
619
*/
620
- public function print_single_plugin( $module_data, $is_active , $is_new , $is_recommended , $is_premium_installed , $is_referral_theme ) {
621
622
$plugins_allowedtags = array(
623
'a' => array( 'href' => array(), 'title' => array(), 'target' => array() ),
617
*
618
* @since 1.0.0
619
*/
620
+ public function print_single_plugin( $module_data, $is_active , $is_new , $is_recommended , $is_premium_installed , $refer_id ) {
621
622
$plugins_allowedtags = array(
623
'a' => array( 'href' => array(), 'title' => array(), 'target' => array() ),