YITH Essential Kit for WooCommerce #1 - Version 1.0.4

Version Description

  • Fixed: Prevent warning
Download this release

Release Info

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

Code changes from version 1.0.3 to 1.0.4

Files changed (3) hide show
  1. README.txt +29 -24
  2. init.php +1 -1
  3. yith-jetpack.php +18 -3
README.txt CHANGED
@@ -4,7 +4,7 @@ Contributors: yithemes
4
  Tags: 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,yith woocommerce zoom magnifier,zoom magnifier,yith woocommerce wishlist,wishlist,yith woocommerce compare,compare,yith woocommerce ajax product filter,ajax product filter,yith woocommerce ajax search,ajax search,yith woocommerce catalog mode,catalog mode,yith woocommerce order tracking,order tracking, yith woocommerce advanced reviews,advanced reviews,yith woocommerce badges management,badges management,yith woocommerce cart messages,cart messages,yith woocommerce review reminder,review reminder,yith woocommerce quick view,quick view,yith live chat,live chat,yith woocommerce eu vat,eu vat,yith woocommerce mailchimp,mailchimp,yith woocommerce stripe,stripe,yith infinite scrolling,infinite scrolling,yith woocommerce request a quote,request a quote,yith woocommerce waiting list,waiting list,yith woocommerce tab manager,tab manager,yith woocommerce multi vendor,multi vendor,product vendor,products vendor
5
  Requires at least: 3.5.1
6
  Tested up to: 4.2.4
7
- Stable tag: 1.0.3
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -16,29 +16,30 @@ With YITH Essential Kit for WooCommerce #1 you will be free to add new and power
16
 
17
  **Plugins Included:**
18
 
19
- * YITH WooCommerce Wishlist
20
- * YITH WooCommerce Zoom Magnifier
21
- * YITH WooCommerce Compare
22
- * YITH WooCommerce Ajax Product Filter
23
- * YITH WooCommerce Ajax Search
24
- * YITH WooCommerce Advanced Reviews
25
- * YITH WooCommerce Order Tracking
26
- * YITH WooCommerce Catalog Mode
27
- * YITH WooCommerce Authorize.net Payment Gateway
28
- * YITH WooCommerce Cart Messages
29
- * YITH WooCommerce Stripe
30
- * YITH WooCommerce Request A Quote
31
- * YITH WooCommerce Review Reminder
32
- * YITH WooCommerce Quick View
33
- * YITH WooCommerce Multi Vendor
34
- * YITH WooCommerce Badge Management
35
- * YITH WooCommerce Tab Manager
36
- * YITH WooCommerce Mailchimp
37
- * YITH WooCommerce Waiting List
38
- * YITH WooCommerce EU VAT
39
  * YITH WooCommerce Color and Label Variations
40
- * YITH Live Chat
41
- * YITH Infinite Scrolling
 
42
 
43
  == Screenshots ==
44
  1. Admin: plugins list
@@ -61,6 +62,10 @@ YITH Essential Kit for WooCommerce #1 will add a new submenu called "YITH Essent
61
 
62
  == Changelog ==
63
 
 
 
 
 
64
  = 1.0.3 =
65
 
66
  * Added: Wordpress 4.3 compatibility
@@ -79,5 +84,5 @@ YITH Essential Kit for WooCommerce #1 will add a new submenu called "YITH Essent
79
 
80
  == Upgrade Notice ==
81
 
82
- Last Stable Tag 1.0.3
83
 
4
  Tags: 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,yith woocommerce zoom magnifier,zoom magnifier,yith woocommerce wishlist,wishlist,yith woocommerce compare,compare,yith woocommerce ajax product filter,ajax product filter,yith woocommerce ajax search,ajax search,yith woocommerce catalog mode,catalog mode,yith woocommerce order tracking,order tracking, yith woocommerce advanced reviews,advanced reviews,yith woocommerce badges management,badges management,yith woocommerce cart messages,cart messages,yith woocommerce review reminder,review reminder,yith woocommerce quick view,quick view,yith live chat,live chat,yith woocommerce eu vat,eu vat,yith woocommerce mailchimp,mailchimp,yith woocommerce stripe,stripe,yith infinite scrolling,infinite scrolling,yith woocommerce request a quote,request a quote,yith woocommerce waiting list,waiting list,yith woocommerce tab manager,tab manager,yith woocommerce multi vendor,multi vendor,product vendor,products vendor
5
  Requires at least: 3.5.1
6
  Tested up to: 4.2.4
7
+ Stable tag: 1.0.4
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
16
 
17
  **Plugins Included:**
18
 
19
+ * [YITH WooCommerce Wishlist](https://wordpress.org/plugins/yith-woocommerce-wishlist)
20
+ * [YITH WooCommerce Zoom Magnifier](https://wordpress.org/plugins/yith-woocommerce-zoom-magnifier)
21
+ * [YITH WooCommerce Compare](https://wordpress.org/plugins/yith-woocommerce-compare)
22
+ * [YITH WooCommerce Ajax Product Filter](https://wordpress.org/plugins/yith-woocommerce-ajax-navigation)
23
+ * [YITH WooCommerce Ajax Search](https://wordpress.org/plugins/yith-woocommerce-ajax-search)
24
+ * [YITH WooCommerce Advanced Reviews](https://wordpress.org/plugins/yith-woocommerce-advanced-reviews)
25
+ * [YITH WooCommerce Order Tracking](https://wordpress.org/plugins/yith-woocommerce-order-tracking)
26
+ * [YITH WooCommerce Catalog Mode](https://wordpress.org/plugins/yith-woocommerce-catalog-mode)
27
+ * [YITH WooCommerce Authorize.net Payment Gateway](https://wordpress.org/plugins/yith-woocommerce-authorizenet-payment-gateway)
28
+ * [YITH WooCommerce Cart Messages](https://wordpress.org/plugins/yith-woocommerce-cart-messages)
29
+ * [YITH WooCommerce Stripe](https://wordpress.org/plugins/yith-woocommerce-stripe)
30
+ * [YITH WooCommerce Request A Quote](https://wordpress.org/plugins/yith-woocommerce-request-a-quote)
31
+ * [YITH WooCommerce Review Reminder](https://wordpress.org/plugins/yith-woocommerce-review-reminder)
32
+ * [YITH WooCommerce Quick View](https://wordpress.org/plugins/yith-woocommerce-quick-view)
33
+ * [YITH WooCommerce Multi Vendor](https://wordpress.org/plugins/yith-woocommerce-product-vendors)
34
+ * [YITH WooCommerce Badge Management](https://wordpress.org/plugins/yith-woocommerce-badges-management)
35
+ * [YITH WooCommerce Tab Manager](https://wordpress.org/plugins/yith-woocommerce-tab-manager)
36
+ * [YITH WooCommerce Mailchimp](https://wordpress.org/plugins/yith-woocommerce-mailchimp)
37
+ * [YITH WooCommerce Waiting List](https://wordpress.org/plugins/yith-woocommerce-waiting-list)
38
+ * [YITH WooCommerce EU VAT](https://wordpress.org/plugins/yith-woocommerce-eu-vat)
39
  * YITH WooCommerce Color and Label Variations
40
+ * [YITH Live Chat](https://wordpress.org/plugins/yith-live-chat)
41
+ * [YITH Infinite Scrolling](https://wordpress.org/plugins/yith-infinite-scrolling)
42
+
43
 
44
  == Screenshots ==
45
  1. Admin: plugins list
62
 
63
  == Changelog ==
64
 
65
+ = 1.0.4 =
66
+
67
+ * Fixed: Prevent warning
68
+
69
  = 1.0.3 =
70
 
71
  * Added: Wordpress 4.3 compatibility
84
 
85
  == Upgrade Notice ==
86
 
87
+ Last Stable Tag 1.0.4
88
 
init.php CHANGED
@@ -7,7 +7,7 @@ Text Domain: yith-jetpack
7
  Domain Path: /languages/
8
  Author: YIThemes
9
  Author URI: http://yithemes.com/
10
- Version: 1.0.3
11
  */
12
 
13
  if ( ! defined( 'ABSPATH' ) ) {
7
  Domain Path: /languages/
8
  Author: YIThemes
9
  Author URI: http://yithemes.com/
10
+ Version: 1.0.4
11
  */
12
 
13
  if ( ! defined( 'ABSPATH' ) ) {
yith-jetpack.php CHANGED
@@ -42,10 +42,11 @@ if ( ! class_exists( 'YITH_JetPack' ) ) {
42
  $this->_menu_title = $title;
43
  $this->_activate_module_option_name = self::ACTIVATED_MODULES_OPTION_BASE_NAME.$index;
44
 
 
45
  $this->load_modules();
46
-
47
  add_action( 'plugins_loaded', array( $this, 'load_plugin_textdomain' ), 5 );
48
-
49
  // admin page
50
  add_action( 'admin_init', array( $this, 'deactivate_singular_plugins' ) );
51
  add_action( 'admin_init', array( $this, 'activate_module_action' ) );
@@ -65,6 +66,21 @@ if ( ! class_exists( 'YITH_JetPack' ) ) {
65
  ) );
66
 
67
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
68
 
69
  /**
70
  * Action Links
@@ -197,7 +213,6 @@ if ( ! class_exists( 'YITH_JetPack' ) ) {
197
  public function load_modules() {
198
  $modules = $this->get_modules();
199
  $active_modules = $this->active_modules();
200
-
201
  foreach ( $modules as $module => $args ) {
202
  if ( in_array( $module, array_keys( $active_modules ) ) ) {
203
  include_once( $this->module_path( $module, $args['file'] ) );
42
  $this->_menu_title = $title;
43
  $this->_activate_module_option_name = self::ACTIVATED_MODULES_OPTION_BASE_NAME.$index;
44
 
45
+ $this->plugin_fw_loader();
46
  $this->load_modules();
47
+
48
  add_action( 'plugins_loaded', array( $this, 'load_plugin_textdomain' ), 5 );
49
+
50
  // admin page
51
  add_action( 'admin_init', array( $this, 'deactivate_singular_plugins' ) );
52
  add_action( 'admin_init', array( $this, 'activate_module_action' ) );
66
  ) );
67
 
68
  }
69
+
70
+ /**
71
+ * Load plugin framework
72
+ *
73
+ * @author Andrea Grillo <andrea.grillo@yithemes.com>
74
+ * @since 1.0
75
+ * @return void
76
+ */
77
+ public function plugin_fw_loader() {
78
+ if ( ! defined( 'YIT' ) || ! defined( 'YIT_CORE_PLUGIN' ) ) {
79
+ ! defined( 'YIT' ) && define( 'YIT', true );
80
+ require_once( YJP_DIR . 'plugin-fw/yit-plugin.php' );
81
+ }
82
+ }
83
+
84
 
85
  /**
86
  * Action Links
213
  public function load_modules() {
214
  $modules = $this->get_modules();
215
  $active_modules = $this->active_modules();
 
216
  foreach ( $modules as $module => $args ) {
217
  if ( in_array( $module, array_keys( $active_modules ) ) ) {
218
  include_once( $this->module_path( $module, $args['file'] ) );