Skip to content

Commit

Permalink
2.0.0 Versioning
Browse files Browse the repository at this point in the history
  • Loading branch information
maxrice committed Sep 6, 2014
1 parent db2a0bd commit adff75b
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 21 deletions.
10 changes: 5 additions & 5 deletions includes/class-wc-customizer-settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,15 @@
*
* Adds UX for adding/modifying customizations
*
* @since 1.2.1-1
* @since 2.0.0
*/
class WC_Customizer_Settings extends WC_Settings_Page {


/**
* Add various admin hooks/filters
*
* @since 1.2.1-1
* @since 2.0.0
*/
public function __construct() {

Expand Down Expand Up @@ -77,7 +77,7 @@ public function get_sections() {
/**
* Render the settings for the current section
*
* @since 1.2.1-1
* @since 2.0.0
*/
public function output() {

Expand All @@ -98,7 +98,7 @@ public function output() {
/**
* Return the customization value for the given filter
*
* @since 1.2.1-1
* @since 2.0.0
* @return string
*/
public function get_customization() {
Expand All @@ -112,7 +112,7 @@ public function get_customization() {
/**
* Save the customizations
*
* @since 1.2.1-1
* @since 2.0.0
*/
public function save() {

Expand Down
4 changes: 2 additions & 2 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&business=paypal@s
Tags: woocommerce
Requires at least: 3.8
Tested up to: 4.0
Stable tag: 1.3.0
Stable tag: 2.0.0
License: GPLv3 or later
License URI: http://www.gnu.org/licenses/gpl-3.0.html

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

== Changelog ==

= 1.2.1-1 =
= 2.0.0 =
* Added Checkout "Create Account" checkbox default customization
* Added Placeholder image source customization
* Moved settings to WooCommerce > Settings > Customizer
Expand Down
31 changes: 17 additions & 14 deletions woocommerce-customizer.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,19 @@
* Description: Customize WooCommerce without code! Easily change add to cart button text and more.
* Author: SkyVerge
* Author URI: http://www.skyverge.com
* Version: 1.2.1
* Version: 2.0.0
* Text Domain: wc-customizer
* Domain Path: /languages/
*
* Copyright: (c) 2013 SkyVerge, Inc. ([email protected])
* Copyright: (c) 2013-2014 SkyVerge, Inc. ([email protected])
*
* License: GNU General Public License v3.0
* License URI: http://www.gnu.org/licenses/gpl-3.0.html
*
* @package WC-Customizer
* @author SkyVerge
* @category Utility
* @copyright Copyright (c) 2013, SkyVerge, Inc.
* @copyright Copyright (c) 2013-2014, SkyVerge, Inc.
* @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License v3.0
*/

Expand Down Expand Up @@ -84,7 +84,10 @@ class WC_Customizer {


/** plugin version number */
const VERSION = '1.2.1';
const VERSION = '1.2.0.1';

/** @var \WC_Customizer_Settings instance */
public $settings;

/** var array the active filters */
public $filters;
Expand All @@ -93,7 +96,7 @@ class WC_Customizer {
/**
* Initializes the plugin
*
* @since 1.0
* @since 1.0.0
*/
public function __construct() {

Expand All @@ -120,7 +123,7 @@ public function __construct() {
/**
* Add settings page
*
* @since 1.2.1-1
* @since 2.0.0
* @param array $settings
* @return array
*/
Expand All @@ -134,7 +137,7 @@ public function add_settings_page( $settings ) {
/**
* Load customizations after WC is loaded so the version can be checked
*
* @since 1.2
* @since 1.2.0
*/
public function load_customizations() {

Expand Down Expand Up @@ -170,7 +173,7 @@ public function load_customizations() {
/**
* Handle localization, WPML compatible
*
* @since 1.1
* @since 1.1.0
*/
public function load_translation() {

Expand All @@ -185,7 +188,7 @@ public function load_translation() {
/**
* Add hook to selected filters
*
* @since 1.0
* @since 1.0.0
* @return string $filter_value value to use for selected hook
*/
public function customize() {
Expand All @@ -212,7 +215,7 @@ public function customize() {
/**
* Apply the single add to cart button text customization
*
* @since 1.2
* @since 1.2.0
*/
public function customize_single_add_to_cart_text() {

Expand All @@ -223,7 +226,7 @@ public function customize_single_add_to_cart_text() {
/**
* Apply the shop loop add to cart button text customization
*
* @since 1.2
* @since 1.2.0
* @param string $text add to cart text
* @param WC_Product $product product object
* @return string modified add to cart text
Expand Down Expand Up @@ -268,7 +271,7 @@ public function customize_add_to_cart_text( $text, $product ) {
* Return the plugin action links. This will only be called if the plugin
* is active.
*
* @since 1.0
* @since 1.0.0
* @param array $actions associative array of action names to anchor tags
* @return array associative array of plugin action links
*/
Expand All @@ -291,7 +294,7 @@ public function add_plugin_action_links( $actions ) {
/**
* Run every time. Used since the activation hook is not executed when updating a plugin
*
* @since 1.1
* @since 1.1.0
*/
private function install() {

Expand All @@ -314,7 +317,7 @@ private function install() {
/**
* Perform any version-related changes.
*
* @since 1.1
* @since 1.1.0
* @param int $installed_version the currently installed version of the plugin
*/
private function upgrade( $installed_version ) {
Expand Down

0 comments on commit adff75b

Please sign in to comment.