Skip to content

Commit

Permalink
Bumped versions and beautified
Browse files Browse the repository at this point in the history
  • Loading branch information
jimjasson committed Dec 15, 2023
1 parent 53e8201 commit 268e37d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions includes/blocks/class-wc-dummy-payments-blocks.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ final class WC_Gateway_Dummy_Blocks_Support extends AbstractPaymentMethodType {
*/
public function initialize() {
$this->settings = get_option( 'woocommerce_dummy_settings', [] );
$gateways = WC()->payment_gateways->payment_gateways();
$this->gateway = $gateways[$this->name];
$gateways = WC()->payment_gateways->payment_gateways();
$this->gateway = $gateways[ $this->name ];
}

/**
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "woocommerce-gateway-dummy",
"title": "WooCommerce Dummy Payments",
"version": "1.0.5",
"version": "1.0.6",
"author": "WooCommerce",
"license": "GPL-3.0+",
"keywords": [],
Expand Down
4 changes: 2 additions & 2 deletions woocommerce-gateway-dummy.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Plugin Name: WooCommerce Dummy Payments Gateway
* Plugin URI: https://somewherewarm.com/
* Description: Adds the Dummy Payments gateway to your WooCommerce website.
* Version: 1.0.5
* Version: 1.0.6
*
* Author: SomewhereWarm
* Author URI: https://somewherewarm.com/
Expand All @@ -14,7 +14,7 @@
* Requires at least: 4.2
* Tested up to: 4.9
*
* Copyright: © 2009-2017 Emmanouil Psychogyiopoulos.
* Copyright: © 2009-2023 Emmanouil Psychogyiopoulos.
* License: GNU General Public License v3.0
* License URI: http://www.gnu.org/licenses/gpl-3.0.html
*/
Expand Down

0 comments on commit 268e37d

Please sign in to comment.