Skip to content

Commit adff75b

Browse files
committed
2.0.0 Versioning
1 parent db2a0bd commit adff75b

File tree

3 files changed

+24
-21
lines changed

3 files changed

+24
-21
lines changed

includes/class-wc-customizer-settings.php

+5-5
Original file line numberDiff line numberDiff line change
@@ -29,15 +29,15 @@
2929
*
3030
* Adds UX for adding/modifying customizations
3131
*
32-
* @since 1.2.1-1
32+
* @since 2.0.0
3333
*/
3434
class WC_Customizer_Settings extends WC_Settings_Page {
3535

3636

3737
/**
3838
* Add various admin hooks/filters
3939
*
40-
* @since 1.2.1-1
40+
* @since 2.0.0
4141
*/
4242
public function __construct() {
4343

@@ -77,7 +77,7 @@ public function get_sections() {
7777
/**
7878
* Render the settings for the current section
7979
*
80-
* @since 1.2.1-1
80+
* @since 2.0.0
8181
*/
8282
public function output() {
8383

@@ -98,7 +98,7 @@ public function output() {
9898
/**
9999
* Return the customization value for the given filter
100100
*
101-
* @since 1.2.1-1
101+
* @since 2.0.0
102102
* @return string
103103
*/
104104
public function get_customization() {
@@ -112,7 +112,7 @@ public function get_customization() {
112112
/**
113113
* Save the customizations
114114
*
115-
* @since 1.2.1-1
115+
* @since 2.0.0
116116
*/
117117
public function save() {
118118

readme.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&business=paypal@s
44
Tags: woocommerce
55
Requires at least: 3.8
66
Tested up to: 4.0
7-
Stable tag: 1.3.0
7+
Stable tag: 2.0.0
88
License: GPLv3 or later
99
License URI: http://www.gnu.org/licenses/gpl-3.0.html
1010

@@ -55,7 +55,7 @@ Yes! Fork the plugin on [Github](https://github.com/skyverge/woocommerce-customi
5555

5656
== Changelog ==
5757

58-
= 1.2.1-1 =
58+
= 2.0.0 =
5959
* Added Checkout "Create Account" checkbox default customization
6060
* Added Placeholder image source customization
6161
* Moved settings to WooCommerce > Settings > Customizer

woocommerce-customizer.php

+17-14
Original file line numberDiff line numberDiff line change
@@ -5,19 +5,19 @@
55
* Description: Customize WooCommerce without code! Easily change add to cart button text and more.
66
* Author: SkyVerge
77
* Author URI: http://www.skyverge.com
8-
* Version: 1.2.1
8+
* Version: 2.0.0
99
* Text Domain: wc-customizer
1010
* Domain Path: /languages/
1111
*
12-
* Copyright: (c) 2013 SkyVerge, Inc. ([email protected])
12+
* Copyright: (c) 2013-2014 SkyVerge, Inc. ([email protected])
1313
*
1414
* License: GNU General Public License v3.0
1515
* License URI: http://www.gnu.org/licenses/gpl-3.0.html
1616
*
1717
* @package WC-Customizer
1818
* @author SkyVerge
1919
* @category Utility
20-
* @copyright Copyright (c) 2013, SkyVerge, Inc.
20+
* @copyright Copyright (c) 2013-2014, SkyVerge, Inc.
2121
* @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License v3.0
2222
*/
2323

@@ -84,7 +84,10 @@ class WC_Customizer {
8484

8585

8686
/** plugin version number */
87-
const VERSION = '1.2.1';
87+
const VERSION = '1.2.0.1';
88+
89+
/** @var \WC_Customizer_Settings instance */
90+
public $settings;
8891

8992
/** var array the active filters */
9093
public $filters;
@@ -93,7 +96,7 @@ class WC_Customizer {
9396
/**
9497
* Initializes the plugin
9598
*
96-
* @since 1.0
99+
* @since 1.0.0
97100
*/
98101
public function __construct() {
99102

@@ -120,7 +123,7 @@ public function __construct() {
120123
/**
121124
* Add settings page
122125
*
123-
* @since 1.2.1-1
126+
* @since 2.0.0
124127
* @param array $settings
125128
* @return array
126129
*/
@@ -134,7 +137,7 @@ public function add_settings_page( $settings ) {
134137
/**
135138
* Load customizations after WC is loaded so the version can be checked
136139
*
137-
* @since 1.2
140+
* @since 1.2.0
138141
*/
139142
public function load_customizations() {
140143

@@ -170,7 +173,7 @@ public function load_customizations() {
170173
/**
171174
* Handle localization, WPML compatible
172175
*
173-
* @since 1.1
176+
* @since 1.1.0
174177
*/
175178
public function load_translation() {
176179

@@ -185,7 +188,7 @@ public function load_translation() {
185188
/**
186189
* Add hook to selected filters
187190
*
188-
* @since 1.0
191+
* @since 1.0.0
189192
* @return string $filter_value value to use for selected hook
190193
*/
191194
public function customize() {
@@ -212,7 +215,7 @@ public function customize() {
212215
/**
213216
* Apply the single add to cart button text customization
214217
*
215-
* @since 1.2
218+
* @since 1.2.0
216219
*/
217220
public function customize_single_add_to_cart_text() {
218221

@@ -223,7 +226,7 @@ public function customize_single_add_to_cart_text() {
223226
/**
224227
* Apply the shop loop add to cart button text customization
225228
*
226-
* @since 1.2
229+
* @since 1.2.0
227230
* @param string $text add to cart text
228231
* @param WC_Product $product product object
229232
* @return string modified add to cart text
@@ -268,7 +271,7 @@ public function customize_add_to_cart_text( $text, $product ) {
268271
* Return the plugin action links. This will only be called if the plugin
269272
* is active.
270273
*
271-
* @since 1.0
274+
* @since 1.0.0
272275
* @param array $actions associative array of action names to anchor tags
273276
* @return array associative array of plugin action links
274277
*/
@@ -291,7 +294,7 @@ public function add_plugin_action_links( $actions ) {
291294
/**
292295
* Run every time. Used since the activation hook is not executed when updating a plugin
293296
*
294-
* @since 1.1
297+
* @since 1.1.0
295298
*/
296299
private function install() {
297300

@@ -314,7 +317,7 @@ private function install() {
314317
/**
315318
* Perform any version-related changes.
316319
*
317-
* @since 1.1
320+
* @since 1.1.0
318321
* @param int $installed_version the currently installed version of the plugin
319322
*/
320323
private function upgrade( $installed_version ) {

0 commit comments

Comments
 (0)