diff --git a/cart-tab.php b/cart-tab.php index 94ba7c1..4a93c38 100755 --- a/cart-tab.php +++ b/cart-tab.php @@ -2,7 +2,7 @@ /** * Plugin Name: WooCommerce Cart Tab * Plugin URI: http://jameskoster.co.uk/tag/cart-tab/ - * Version: 0.4.0 + * Version: 0.5.0 * Description: Displays a sitewide link to the cart which reveals the cart contents on hover. * Author: jameskoster * Tested up to: 4.5.2 @@ -172,7 +172,7 @@ function woocommerce_cart_tab() { } if ( ! is_cart() && ! is_checkout() ) { - if ( 'yes' == $widget && !wp_is_mobile() ) { + if ( 'yes' == $widget && ! wp_is_mobile() ) { echo '
'; } else { echo '
'; @@ -181,7 +181,7 @@ function woocommerce_cart_tab() { wcct_cart_button(); // Display the widget if specified. - if ( 'yes' == $widget && !wp_is_mobile() ) { + if ( 'yes' == $widget && ! wp_is_mobile() ) { // Check for WooCommerce 2.0 and display the cart widget. if ( version_compare( WOOCOMMERCE_VERSION, '2.0.0' ) >= 0 ) { the_widget( 'WC_Widget_Cart', 'title=' ); diff --git a/readme.txt b/readme.txt index 01917d0..8560cd6 100755 --- a/readme.txt +++ b/readme.txt @@ -2,8 +2,8 @@ Contributors: jameskoster Tags: woocommerce, ecommerce, cart Requires at least: 4.4 -Tested up to: 4.5.2 -Stable tag: 0.4.0 +Tested up to: 4.5.3 +Stable tag: 0.5.0 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html @@ -46,6 +46,9 @@ Thanks! Please fork the repo on