From 268e37daf61effeb16673bb49a9eee949f52f9ad Mon Sep 17 00:00:00 2001 From: Jason Kytros Date: Fri, 15 Dec 2023 09:22:08 +0200 Subject: [PATCH] Bumped versions and beautified --- includes/blocks/class-wc-dummy-payments-blocks.php | 4 ++-- package.json | 2 +- woocommerce-gateway-dummy.php | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/includes/blocks/class-wc-dummy-payments-blocks.php b/includes/blocks/class-wc-dummy-payments-blocks.php index 00b1c62..ff14a38 100644 --- a/includes/blocks/class-wc-dummy-payments-blocks.php +++ b/includes/blocks/class-wc-dummy-payments-blocks.php @@ -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 ]; } /** diff --git a/package.json b/package.json index 76b3f18..b3355fb 100644 --- a/package.json +++ b/package.json @@ -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": [], diff --git a/woocommerce-gateway-dummy.php b/woocommerce-gateway-dummy.php index f0f236f..35df559 100644 --- a/woocommerce-gateway-dummy.php +++ b/woocommerce-gateway-dummy.php @@ -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/ @@ -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 */