WooCommerce Customizer - Version 2.7.5

Version Description

Download this release

Release Info

Developer SkyVerge
Plugin Icon WooCommerce Customizer
Version 2.7.5
Comparing to
See all releases

Code changes from version 2.7.4 to 2.7.5

i18n/languages/woocommerce-customizer.pot CHANGED
@@ -1,15 +1,15 @@
1
- # Copyright (C) 2020 SkyVerge
2
  # This file is distributed under the GNU General Public License v3.0.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: WooCommerce Customizer 2.7.4\n"
6
  "Report-Msgid-Bugs-To: "
7
  "https://woocommerce.com/my-account/marketplace-ticket-form/\n"
8
- "POT-Creation-Date: 2020-05-05 06:19:01+00:00\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=utf-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
- "PO-Revision-Date: 2020-MO-DA HO:MI+ZONE\n"
13
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14
  "Language-Team: LANGUAGE <LL@li.org>\n"
15
 
1
+ # Copyright (C) 2022 SkyVerge
2
  # This file is distributed under the GNU General Public License v3.0.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: WooCommerce Customizer 2.7.5\n"
6
  "Report-Msgid-Bugs-To: "
7
  "https://woocommerce.com/my-account/marketplace-ticket-form/\n"
8
+ "POT-Creation-Date: 2022-03-01 09:03:43+00:00\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=utf-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
+ "PO-Revision-Date: 2022-MO-DA HO:MI+ZONE\n"
13
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14
  "Language-Team: LANGUAGE <LL@li.org>\n"
15
 
includes/class-wc-customizer-integrations.php CHANGED
@@ -17,7 +17,7 @@
17
  * needs please refer to http://www.skyverge.com/product/woocommerce-customizer/ for more information.
18
  *
19
  * @author SkyVerge
20
- * @copyright Copyright (c) 2013-2020, SkyVerge, Inc. (info@skyverge.com)
21
  * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License v3.0
22
  */
23
 
17
  * needs please refer to http://www.skyverge.com/product/woocommerce-customizer/ for more information.
18
  *
19
  * @author SkyVerge
20
+ * @copyright Copyright (c) 2013-2022, SkyVerge, Inc. (info@skyverge.com)
21
  * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License v3.0
22
  */
23
 
includes/class-wc-customizer-settings.php CHANGED
@@ -17,7 +17,7 @@
17
  * needs please refer to http://www.skyverge.com/product/woocommerce-customizer/ for more information.
18
  *
19
  * @author SkyVerge
20
- * @copyright Copyright (c) 2013-2020, SkyVerge, Inc. (info@skyverge.com)
21
  * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License v3.0
22
  */
23
 
@@ -394,7 +394,7 @@ class WC_Customizer_Settings extends WC_Settings_Page {
394
  ),
395
 
396
  array(
397
- 'id' => 'woocommerce_countries_tax_or_vat',
398
  'title' => __( 'Tax Label', 'woocommerce-customizer' ),
399
  'desc_tip' => __( 'Changes the Taxes label. Defaults to Tax for USA, VAT for European countries', 'woocommerce-customizer' ),
400
  'type' => 'text'
17
  * needs please refer to http://www.skyverge.com/product/woocommerce-customizer/ for more information.
18
  *
19
  * @author SkyVerge
20
+ * @copyright Copyright (c) 2013-2022, SkyVerge, Inc. (info@skyverge.com)
21
  * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License v3.0
22
  */
23
 
394
  ),
395
 
396
  array(
397
+ 'id' => 'woocommerce_rate_label',
398
  'title' => __( 'Tax Label', 'woocommerce-customizer' ),
399
  'desc_tip' => __( 'Changes the Taxes label. Defaults to Tax for USA, VAT for European countries', 'woocommerce-customizer' ),
400
  'type' => 'text'
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: SkyVerge, maxrice, tamarazuk, chasewiseman, nekojira, beka.rice
3
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&business=paypal@skyverge.com&item_name=Donation+for+WooCommerce+Customizer
4
  Tags: woocommerce, woocommerce shop, woocommerce filters, woocommerce text
5
  Requires at least: 4.4
6
- Tested up to: 5.4.1
7
- Stable tag: 2.7.4
8
  License: GPLv3 or later
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
@@ -14,7 +14,7 @@ Helps you customize WooCommerce without writing any code!
14
 
15
  WooCommerce includes tons of filters to let you customize button text, labels, and more, but you have to write PHP code to use them. This plugin provides a settings page where you can add your customizations and save them without needing to write any code or modify any templates, which is helpful for quick change testing.
16
 
17
- > **Requires** WooCommerce 3.0.9+
18
 
19
  Here are some customizations you can make:
20
 
@@ -71,6 +71,9 @@ Of course! Please fork the [GitHub](https://github.com/skyverge/woocommerce-cust
71
 
72
  == Changelog ==
73
 
 
 
 
74
  = 2020.05.04 - version 2.7.4 =
75
  * Misc - Add support for WooCommerce 4.1
76
 
@@ -83,12 +86,12 @@ Of course! Please fork the [GitHub](https://github.com/skyverge/woocommerce-cust
83
  = 2019.11.11 - version 2.7.1 =
84
  * Misc - Add support for WooCommerce 3.8
85
 
86
- = 2019.08.15 - version 2.7.0
87
  * Misc - Add support for WooCommerce 3.7
88
  * Misc - Remove support for WooCommerce 2.6
89
  * Misc - Require WordPress 4.4+
90
 
91
- = 2019.06.12 - version 2.6.1
92
  * Misc - Declare WooCommerce 3.6 compatibility
93
 
94
  = 2018.07.17 - version 2.6.0 =
3
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&business=paypal@skyverge.com&item_name=Donation+for+WooCommerce+Customizer
4
  Tags: woocommerce, woocommerce shop, woocommerce filters, woocommerce text
5
  Requires at least: 4.4
6
+ Tested up to: 5.9.1
7
+ Stable tag: 2.7.5
8
  License: GPLv3 or later
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
14
 
15
  WooCommerce includes tons of filters to let you customize button text, labels, and more, but you have to write PHP code to use them. This plugin provides a settings page where you can add your customizations and save them without needing to write any code or modify any templates, which is helpful for quick change testing.
16
 
17
+ > **Requires** WooCommerce 3.9.4+
18
 
19
  Here are some customizations you can make:
20
 
71
 
72
  == Changelog ==
73
 
74
+ = 2022.03.01 - version 2.7.5 =
75
+ * Misc - Require WooCommerce 3.9.4 or newer
76
+
77
  = 2020.05.04 - version 2.7.4 =
78
  * Misc - Add support for WooCommerce 4.1
79
 
86
  = 2019.11.11 - version 2.7.1 =
87
  * Misc - Add support for WooCommerce 3.8
88
 
89
+ = 2019.08.15 - version 2.7.0 =
90
  * Misc - Add support for WooCommerce 3.7
91
  * Misc - Remove support for WooCommerce 2.6
92
  * Misc - Require WordPress 4.4+
93
 
94
+ = 2019.06.12 - version 2.6.1 =
95
  * Misc - Declare WooCommerce 3.6 compatibility
96
 
97
  = 2018.07.17 - version 2.6.0 =
woocommerce-customizer.php CHANGED
@@ -5,21 +5,21 @@
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.7.4
9
  * Text Domain: woocommerce-customizer
10
  * Domain Path: /i18n/languages/
11
  *
12
- * Copyright: (c) 2013-2020, SkyVerge, Inc. (info@skyverge.com)
13
  *
14
  * License: GNU General Public License v3.0
15
  * License URI: http://www.gnu.org/licenses/gpl-3.0.html
16
  *
17
  * @author SkyVerge
18
- * @copyright Copyright (c) 2013-2020, SkyVerge, Inc. (info@skyverge.com)
19
  * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License v3.0
20
  *
21
- * WC requires at least: 3.0.9
22
- * WC tested up to: 4.1.0
23
  */
24
 
25
  defined( 'ABSPATH' ) or exit;
@@ -46,10 +46,10 @@ class WC_Customizer {
46
 
47
 
48
  /** plugin version number */
49
- const VERSION = '2.7.4';
50
 
51
  /** required WooCommerce version number */
52
- const MIN_WOOCOMMERCE_VERSION = '3.0.9';
53
 
54
  /** @var \WC_Customizer single instance of this plugin */
55
  protected static $instance;
@@ -405,7 +405,7 @@ class WC_Customizer {
405
  public function customize_single_backorder_text( $text, $product ) {
406
 
407
  // backorder text
408
- if ( isset( $this->filters['single_backorder_text'] ) && $product->managing_stock() && $product->is_on_backorder( 1 ) ) {
409
  return $this->filters['single_backorder_text'];
410
  }
411
 
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.7.5
9
  * Text Domain: woocommerce-customizer
10
  * Domain Path: /i18n/languages/
11
  *
12
+ * Copyright: (c) 2013-2022, SkyVerge, Inc. (info@skyverge.com)
13
  *
14
  * License: GNU General Public License v3.0
15
  * License URI: http://www.gnu.org/licenses/gpl-3.0.html
16
  *
17
  * @author SkyVerge
18
+ * @copyright Copyright (c) 2013-2022, SkyVerge, Inc. (info@skyverge.com)
19
  * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License v3.0
20
  *
21
+ * WC requires at least: 3.9.4
22
+ * WC tested up to: 6.2.1
23
  */
24
 
25
  defined( 'ABSPATH' ) or exit;
46
 
47
 
48
  /** plugin version number */
49
+ const VERSION = '2.7.5';
50
 
51
  /** required WooCommerce version number */
52
+ const MIN_WOOCOMMERCE_VERSION = '3.9.4';
53
 
54
  /** @var \WC_Customizer single instance of this plugin */
55
  protected static $instance;
405
  public function customize_single_backorder_text( $text, $product ) {
406
 
407
  // backorder text
408
+ if ( isset( $this->filters['single_backorder_text'] ) && $product->is_on_backorder( 1 ) ) {
409
  return $this->filters['single_backorder_text'];
410
  }
411