Version Description
- Fix error when upgrading to WooCommerce 2.2
Download this release
Release Info
Developer | SkyVerge |
Plugin | WooCommerce Customizer |
Version | 2.0.1 |
Comparing to | |
See all releases |
Code changes from version 2.0.0 to 2.0.1
i18n/languages/woocommerce-customizer.pot
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
# This file is distributed under the GNU General Public License v3.0.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
-
"Project-Id-Version: WooCommerce Customizer 2.0.
|
6 |
"Report-Msgid-Bugs-To: "
|
7 |
"https://github.com/skyverge/woocommerce-customizer/issues\n"
|
8 |
"POT-Creation-Date: 2014-09-05 23:18:53+00:00\n"
|
2 |
# This file is distributed under the GNU General Public License v3.0.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
+
"Project-Id-Version: WooCommerce Customizer 2.0.1\n"
|
6 |
"Report-Msgid-Bugs-To: "
|
7 |
"https://github.com/skyverge/woocommerce-customizer/issues\n"
|
8 |
"POT-Creation-Date: 2014-09-05 23:18:53+00:00\n"
|
includes/class-wc-customizer-settings.php
CHANGED
@@ -393,11 +393,13 @@ class WC_Customizer_Settings extends WC_Settings_Page {
|
|
393 |
),
|
394 |
);
|
395 |
|
396 |
-
|
|
|
|
|
397 |
}
|
398 |
|
399 |
|
400 |
}
|
401 |
|
402 |
// setup settings
|
403 |
-
$GLOBALS['wc_customizer']->settings = new WC_Customizer_Settings();
|
393 |
),
|
394 |
);
|
395 |
|
396 |
+
$current_section = isset( $GLOBALS['current_section'] ) ? $GLOBALS['current_section'] : 'shop_loop';
|
397 |
+
|
398 |
+
return isset( $settings[ $current_section ] ) ? $settings[ $current_section ] : $settings['shop_loop'];
|
399 |
}
|
400 |
|
401 |
|
402 |
}
|
403 |
|
404 |
// setup settings
|
405 |
+
return $GLOBALS['wc_customizer']->settings = new WC_Customizer_Settings();
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&business=paypal@s
|
|
4 |
Tags: woocommerce
|
5 |
Requires at least: 3.8
|
6 |
Tested up to: 4.0
|
7 |
-
Stable tag: 2.0.
|
8 |
License: GPLv3 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
10 |
|
@@ -42,11 +42,11 @@ Most likely because a filter does not yet exist within WooCommerce, or a filter
|
|
42 |
|
43 |
= I found a bug! What do I do? =
|
44 |
|
45 |
-
Please submit an issue on [
|
46 |
|
47 |
= Can I contribute to the plugin? =
|
48 |
|
49 |
-
Yes! Fork the plugin on [
|
50 |
|
51 |
== Screenshots ==
|
52 |
|
@@ -55,6 +55,9 @@ Yes! Fork the plugin on [Github](https://github.com/skyverge/woocommerce-customi
|
|
55 |
|
56 |
== Changelog ==
|
57 |
|
|
|
|
|
|
|
58 |
= 2.0.0 =
|
59 |
* Added Checkout "Create Account" checkbox default customization
|
60 |
* Added Placeholder image source customization
|
4 |
Tags: woocommerce
|
5 |
Requires at least: 3.8
|
6 |
Tested up to: 4.0
|
7 |
+
Stable tag: 2.0.1
|
8 |
License: GPLv3 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
10 |
|
42 |
|
43 |
= I found a bug! What do I do? =
|
44 |
|
45 |
+
Please submit an issue on [GitHub](https://github.com/skyverge/woocommerce-customizer/) along with a description of the problem so we can fix it :)
|
46 |
|
47 |
= Can I contribute to the plugin? =
|
48 |
|
49 |
+
Yes! Fork the plugin on [GitHub](https://github.com/skyverge/woocommerce-customizer/) and send a pull request.
|
50 |
|
51 |
== Screenshots ==
|
52 |
|
55 |
|
56 |
== Changelog ==
|
57 |
|
58 |
+
= 2.0.1 =
|
59 |
+
* Fix error when upgrading to WooCommerce 2.2
|
60 |
+
|
61 |
= 2.0.0 =
|
62 |
* Added Checkout "Create Account" checkbox default customization
|
63 |
* Added Placeholder image source customization
|
woocommerce-customizer.php
CHANGED
@@ -5,7 +5,7 @@
|
|
5 |
* Description: Customize WooCommerce without code! Easily change add to cart button text and more.
|
6 |
* Author: SkyVerge
|
7 |
* Author URI: http://www.skyverge.com
|
8 |
-
* Version: 2.0.
|
9 |
* Text Domain: wc-customizer
|
10 |
* Domain Path: /languages/
|
11 |
*
|
@@ -84,7 +84,7 @@ class WC_Customizer {
|
|
84 |
|
85 |
|
86 |
/** plugin version number */
|
87 |
-
const VERSION = '
|
88 |
|
89 |
/** @var \WC_Customizer_Settings instance */
|
90 |
public $settings;
|
5 |
* Description: Customize WooCommerce without code! Easily change add to cart button text and more.
|
6 |
* Author: SkyVerge
|
7 |
* Author URI: http://www.skyverge.com
|
8 |
+
* Version: 2.0.1
|
9 |
* Text Domain: wc-customizer
|
10 |
* Domain Path: /languages/
|
11 |
*
|
84 |
|
85 |
|
86 |
/** plugin version number */
|
87 |
+
const VERSION = '2.0.1';
|
88 |
|
89 |
/** @var \WC_Customizer_Settings instance */
|
90 |
public $settings;
|