From 6c9e32ba94b624c5ed55ffe01cf079478128b518 Mon Sep 17 00:00:00 2001 From: James Koster Date: Fri, 11 May 2018 14:25:19 +0100 Subject: [PATCH] Hide debug info. closes #18 --- readme.txt | 5 ++++- woocommerce-grid-list-toggle.php | 3 +-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/readme.txt b/readme.txt index 6bc7e31..14795f3 100755 --- a/readme.txt +++ b/readme.txt @@ -3,7 +3,7 @@ Contributors: jameskoster Tags: woocommerce, grid, list, products, ecommerce Requires at least: 4.0 Tested up to: 4.9.5 -Stable tag: 1.2.0 +Stable tag: 1.2.1 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html @@ -65,6 +65,9 @@ function remove_gridlist_styles() { == Changelog == += 1.2.1 - 11/05/18 = +* Hide debug info. + = 1.2.0 - 01/05/18 = * Moved the settings to the Customizer (WooCommerce > Product Catalog) * Removed unnecessary .less files diff --git a/woocommerce-grid-list-toggle.php b/woocommerce-grid-list-toggle.php index 8bf6655..2b3225b 100755 --- a/woocommerce-grid-list-toggle.php +++ b/woocommerce-grid-list-toggle.php @@ -2,7 +2,7 @@ /* Plugin Name: WooCommerce Grid / List toggle Description: Adds a grid/list view toggle to product archives -Version: 1.2.0 +Version: 1.2.1 Author: jameskoster Author URI: http://jameskoster.co.uk Requires at least: 4.0 @@ -139,7 +139,6 @@ function gridlist_buttonwrap_close() { function gridlist_set_default_view() { $default = get_theme_mod( 'wc_glt_default_format', 'grid' ); - var_dump( $default ); ?>