Skip to content

Commit 04844ec

Browse files
committed
changelog etc
1 parent 5f2def7 commit 04844ec

File tree

3 files changed

+17
-13
lines changed

3 files changed

+17
-13
lines changed

languages/woocommerce-grid-list-toggle.pot

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
1-
# Copyright (C) 2015 WooCommerce Grid / List toggle
1+
# Copyright (C) 2016 WooCommerce Grid / List toggle
22
# This file is distributed under the same license as the WooCommerce Grid / List toggle package.
33
msgid ""
44
msgstr ""
5-
"Project-Id-Version: WooCommerce Grid / List toggle 1.0.0\n"
6-
"Report-Msgid-Bugs-To: http://wordpress.org/tag/woocommerce-grid-list-toggle\n"
7-
"POT-Creation-Date: 2015-06-19 10:52:18+00:00\n"
5+
"Project-Id-Version: WooCommerce Grid / List toggle 1.1.0\n"
6+
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/woocommerce-grid-"
7+
"list-toggle\n"
8+
"POT-Creation-Date: 2016-12-12 10:08:40+00:00\n"
89
"MIME-Version: 1.0\n"
910
"Content-Type: text/plain; charset=UTF-8\n"
1011
"Content-Transfer-Encoding: 8bit\n"
11-
"PO-Revision-Date: 2015-MO-DA HO:MI+ZONE\n"
12+
"PO-Revision-Date: 2016-MO-DA HO:MI+ZONE\n"
1213
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
1314
"Language-Team: LANGUAGE <LL@li.org>\n"
1415

@@ -28,7 +29,7 @@ msgstr ""
2829
msgid "List"
2930
msgstr ""
3031

31-
#: woocommerce-grid-list-toggle.php:110
32+
#: woocommerce-grid-list-toggle.php:109
3233
msgid "Grid view"
3334
msgstr ""
3435

readme.txt

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
Contributors: jameskoster
33
Tags: woocommerce, grid, list, products, ecommerce
44
Requires at least: 4.0
5-
Tested up to: 4.6
6-
Stable tag: 1.0.0
5+
Tested up to: 4.7
6+
Stable tag: 1.1.0
77
License: GPLv2 or later
88
License URI: http://www.gnu.org/licenses/gpl-2.0.html
99

@@ -65,6 +65,9 @@ function remove_gridlist_styles() {
6565

6666
== Changelog ==
6767

68+
= 1.1.0 - 12/12/16 =
69+
* Outputs are now filterable. Kudos joshuadavidnelson.
70+
6871
= 1.0.0 - 19/06/2015 =
6972
* Revamped button styles.
7073
* Updated textdomain to 'woocommerce-grid-list-toggle'.

woocommerce-grid-list-toggle.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33
Plugin Name: WooCommerce Grid / List toggle
44
Plugin URI: http://jameskoster.co.uk/tag/grid-list-toggle/
55
Description: Adds a grid/list view toggle to product archives
6-
Version: 1.0.0
6+
Version: 1.1.0
77
Author: jameskoster
88
Author URI: http://jameskoster.co.uk
99
Requires at least: 4.0
10-
Tested up to: 4.6
10+
Tested up to: 4.7
1111
License: GPLv2 or later
1212
License URI: http://www.gnu.org/licenses/gpl-2.0.html
1313
Text Domain: woocommerce-grid-list-toggle
@@ -105,12 +105,12 @@ function setup_scripts_script() {
105105

106106
// Toggle button
107107
function gridlist_toggle_button() {
108-
108+
109109
$grid_view = __( 'Grid view', 'woocommerce-grid-list-toggle' );
110110
$list_view = __( 'List view', 'woocommerce-grid-list-toggle' );
111-
111+
112112
$output = sprintf( '<nav class="gridlist-toggle"><a href="#" id="grid" title="%1$s"><span class="dashicons dashicons-grid-view"></span> <em>%1$s</em></a><a href="#" id="list" title="%2$s"><span class="dashicons dashicons-exerpt-view"></span> <em>%2$s</em></a></nav>', $grid_view, $list_view );
113-
113+
114114
echo apply_filters( 'gridlist_toggle_button_output', $output, $grid_view, $list_view );
115115
}
116116

0 commit comments

Comments
 (0)