Skip to content

Commit

Permalink
Updates to 2.9.11
Browse files Browse the repository at this point in the history
  • Loading branch information
WooCommerce committed Dec 5, 2024
1 parent 8bdc8c8 commit ef819ee
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 8 deletions.
5 changes: 5 additions & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
*** EU VAT Number Changelog ***

2024-12-04 - version 2.9.11
* Fix - Change the priority of our `init` method that is hooked to `plugins_loaded` from the default 10 to 9, ensuring it always fires before `woocommerce_blocks_loaded`.
* Dev - Bump WooCommerce "tested up to" version 9.5.
* Dev - Bump WooCommerce minimum supported version to 9.3.

2024-11-18 - version 2.9.10
* Dev - Bump WordPress "tested up to" version 6.7.

Expand Down
4 changes: 2 additions & 2 deletions languages/woocommerce-eu-vat-number.pot
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
# This file is distributed under the GNU General Public License v3.0.
msgid ""
msgstr ""
"Project-Id-Version: WooCommerce EU VAT Number 2.9.10\n"
"Project-Id-Version: WooCommerce EU VAT Number 2.9.11\n"
"Report-Msgid-Bugs-To: "
"https://wordpress.org/support/plugin/woocommerce-eu-vat-number\n"
"POT-Creation-Date: 2024-11-18 14:41:59+00:00\n"
"POT-Creation-Date: 2024-12-04 17:32:38+00:00\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
Expand Down
12 changes: 6 additions & 6 deletions woocommerce-eu-vat-number.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@
* Requires Plugins: woocommerce
* Plugin URI: https://woocommerce.com/products/eu-vat-number/
* Description: The EU VAT Number extension lets you collect and validate EU VAT numbers during checkout to identify B2B transactions verses B2C. IP Addresses can also be validated to ensure they match the billing address. EU businesses with a valid VAT number can have their VAT removed prior to payment.
* Version: 2.9.10
* Version: 2.9.11
* Author: WooCommerce
* Author URI: https://woocommerce.com/
* Text Domain: woocommerce-eu-vat-number
* Domain Path: /languages
* Requires at least: 6.5
* Tested up to: 6.7
* WC requires at least: 9.2
* WC tested up to: 9.4
* WC requires at least: 9.3
* WC tested up to: 9.5
* Requires PHP: 7.4
* PHP tested up to: 8.3
*
Expand All @@ -26,7 +26,7 @@

// phpcs:disable WordPress.Files.FileName

define( 'WC_EU_VAT_VERSION', '2.9.10' ); // WRCS: DEFINED_VERSION.
define( 'WC_EU_VAT_VERSION', '2.9.11' ); // WRCS: DEFINED_VERSION.
define( 'WC_EU_VAT_FILE', __FILE__ );
define( 'WC_EU_ABSPATH', __DIR__ . '/' );
define( 'WC_EU_VAT_PLUGIN_URL', untrailingslashit( plugins_url( basename( plugin_dir_path( __FILE__ ) ), basename( __FILE__ ) ) ) );
Expand All @@ -41,13 +41,13 @@ class WC_EU_VAT_Number_Init {
*
* @var string
*/
const WC_MIN_VERSION = '8.7';
const WC_MIN_VERSION = '9.3';

/**
* Constructor.
*/
public function __construct() {
add_action( 'plugins_loaded', array( $this, 'init' ) );
add_action( 'plugins_loaded', array( $this, 'init' ), 9 );
add_action( 'woocommerce_blocks_loaded', array( $this, 'wc_eu_vat_number_block_init' ) );

add_action( 'plugins_loaded', array( $this, 'localization' ), 0 );
Expand Down

0 comments on commit ef819ee

Please sign in to comment.