Skip to content

Commit

Permalink
build(change-log): v2.10.1
Browse files Browse the repository at this point in the history
  • Loading branch information
criskell committed Oct 26, 2023
1 parent 804c549 commit 8bdca21
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 6 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#### 2.10.1 (2023-10-26)

#### 2.10.0 (2023-10-19)

##### Build System / Dependencies
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "woocommerce-openpix",
"version": "2.10.0",
"version": "2.10.1",
"devDependencies": {
"@babel/plugin-proposal-class-properties": "7.18.6",
"@babel/plugin-proposal-export-default-from": "7.22.17",
Expand Down
2 changes: 1 addition & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Tags: woocommerce, openpix, payment
Requires at least: 4.0
Tested up to: 6.1.1
Requires PHP: 5.6
Stable tag: 2.10.0
Stable tag: 2.10.1
License: GPLv2 or later
License URI: <http://www.gnu.org/licenses/gpl-2.0.html>

Expand Down
10 changes: 6 additions & 4 deletions woocommerce-openpix.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Description: Aceite pagamentos Pix em com atualização em tempo real, checkout transparente e atualização automática de status do pedido.
* Author: OpenPix
* Author URI: https://openpix.com.br/
* Version: 2.10.0
* Version: 2.10.1
* Text Domain: woocommerce-openpix
* WC tested up to: 7.6.0
* @package WooCommerce_OpenPix
Expand All @@ -24,8 +24,10 @@
)
) {
// declare compatibility with HPOS before all
add_action('before_woocommerce_init', function() {
if (class_exists(\Automattic\WooCommerce\Utilities\FeaturesUtil::class)) {
add_action('before_woocommerce_init', function () {
if (
class_exists(\Automattic\WooCommerce\Utilities\FeaturesUtil::class)
) {
\Automattic\WooCommerce\Utilities\FeaturesUtil::declare_compatibility(
'custom_order_tables',
__FILE__,
Expand All @@ -45,7 +47,7 @@ function woocommerce_openpix_init()

class WC_OpenPix
{
const VERSION = '2.10.0';
const VERSION = '2.10.1';

protected static $instance = null;

Expand Down

0 comments on commit 8bdca21

Please sign in to comment.