Skip to content

Commit

Permalink
Hide debug info. closes #18
Browse files Browse the repository at this point in the history
  • Loading branch information
jameskoster committed May 11, 2018
1 parent 3039a3a commit 6c9e32b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
5 changes: 4 additions & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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
Expand Down
3 changes: 1 addition & 2 deletions woocommerce-grid-list-toggle.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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 );
?>
<script>
if ( 'function' == typeof(jQuery) ) {
Expand Down

0 comments on commit 6c9e32b

Please sign in to comment.