WooCommerce Menu Cart - Version 2.9.2

Version Description

  • Fix: EDD compatibility
Download this release

Release Info

Developer wpovernight
Plugin Icon 128x128 WooCommerce Menu Cart
Version 2.9.2
Comparing to
See all releases

Code changes from version 2.9.1 to 2.9.2

Files changed (2) hide show
  1. readme.txt +4 -1
  2. wp-menu-cart.php +3 -3
readme.txt CHANGED
@@ -5,7 +5,7 @@ Tags: woocommerce, menu, bar, cart, basket, header, shopping cart, navigation, e
5
  Requires at least: 3.4
6
  Tested up to: 5.4
7
  Requires PHP: 5.3
8
- Stable tag: 2.9.1
9
 
10
  Automatically displays a shopping cart in your menu bar. Works with WooCommerce, WP-Ecommerce, EDD, Eshop and Jigoshop
11
 
@@ -85,6 +85,9 @@ Once the plugin is activated navigate to Settings > Menu Cart Setup. Select your
85
 
86
  == Changelog ==
87
 
 
 
 
88
  = 2.9.1 =
89
  * Fix: Menu issues on cart & checkout if Menu Cart was the only item in the menu
90
 
5
  Requires at least: 3.4
6
  Tested up to: 5.4
7
  Requires PHP: 5.3
8
+ Stable tag: 2.9.2
9
 
10
  Automatically displays a shopping cart in your menu bar. Works with WooCommerce, WP-Ecommerce, EDD, Eshop and Jigoshop
11
 
85
 
86
  == Changelog ==
87
 
88
+ = 2.9.2 =
89
+ * Fix: EDD compatibility
90
+
91
  = 2.9.1 =
92
  * Fix: Menu issues on cart & checkout if Menu Cart was the only item in the menu
93
 
wp-menu-cart.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: WooCommerce Menu Cart
4
  * Plugin URI: www.wpovernight.com/plugins
5
  * Description: Extension for your e-commerce plugin (WooCommerce, WP-Ecommerce, Easy Digital Downloads, Eshop or Jigoshop) that places a cart icon with number of items and total cost in the menu bar. Activate the plugin, set your options and you're ready to go! Will automatically conform to your theme styles.
6
- * Version: 2.9.1
7
  * Author: Jeremiah Prummer, Ewout Fernhout
8
  * Author URI: www.wpovernight.com/
9
  * License: GPL2
@@ -14,7 +14,7 @@
14
 
15
  class WpMenuCart {
16
 
17
- protected $plugin_version = '2.9.1';
18
  public static $plugin_slug;
19
  public static $plugin_basename;
20
 
@@ -469,7 +469,7 @@ class WpMenuCart {
469
  $classes .= ' ' . $this->get_common_li_classes($items);
470
  }
471
 
472
- if ( ( is_checkout() || is_cart() ) && empty($this->options['show_on_cart_checkout_page']) ) {
473
  $classes .= ' hidden-wpmenucart';
474
  }
475
 
3
  * Plugin Name: WooCommerce Menu Cart
4
  * Plugin URI: www.wpovernight.com/plugins
5
  * Description: Extension for your e-commerce plugin (WooCommerce, WP-Ecommerce, Easy Digital Downloads, Eshop or Jigoshop) that places a cart icon with number of items and total cost in the menu bar. Activate the plugin, set your options and you're ready to go! Will automatically conform to your theme styles.
6
+ * Version: 2.9.2
7
  * Author: Jeremiah Prummer, Ewout Fernhout
8
  * Author URI: www.wpovernight.com/
9
  * License: GPL2
14
 
15
  class WpMenuCart {
16
 
17
+ protected $plugin_version = '2.9.2';
18
  public static $plugin_slug;
19
  public static $plugin_basename;
20
 
469
  $classes .= ' ' . $this->get_common_li_classes($items);
470
  }
471
 
472
+ if ( function_exists( 'is_checkout' ) && function_exists( 'is_cart' ) && ( is_checkout() || is_cart() ) && empty($this->options['show_on_cart_checkout_page']) ) {
473
  $classes .= ' hidden-wpmenucart';
474
  }
475