Skip to content

Commit 8f9cf42

Browse files
committed
v5.0.1
- Minor fixes
1 parent f7c6313 commit 8f9cf42

File tree

4 files changed

+16
-10
lines changed

4 files changed

+16
-10
lines changed

CryptAPI.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33
Plugin Name: CryptAPI Payment Gateway for WooCommerce
44
Plugin URI: https://github.com/cryptapi/woocommerce-cryptapi
55
Description: Accept cryptocurrency payments on your WooCommerce website
6-
Version: 5.0.0
6+
Version: 5.0.1
77
Requires at least: 5.8
8-
Tested up to: 6.7
8+
Tested up to: 6.7.1
99
WC requires at least: 5.8
10-
WC tested up to: 9.5.2
10+
WC tested up to: 9.6.0
1111
Requires PHP: 7.2
1212
Author: cryptapi
1313
Author URI: https://cryptapi.io/
@@ -17,7 +17,7 @@
1717
exit; // Exit if accessed directly.
1818
}
1919

20-
define('CRYPTAPI_PLUGIN_VERSION', '5.0.0');
20+
define('CRYPTAPI_PLUGIN_VERSION', '5.0.1');
2121
define('CRYPTAPI_PLUGIN_PATH', plugin_dir_path(__FILE__));
2222
define('CRYPTAPI_PLUGIN_URL', plugin_dir_url(__FILE__));
2323

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -398,6 +398,9 @@ The easiest and fastest way is via our live chat on our [website](https://crypta
398398
* Now supports WordPress Blocks.
399399
* Bug fixes.
400400

401+
#### 5.0.1
402+
* Bug fixes.
403+
401404
### Upgrade Notice
402405
#### 4.3
403406
* Please be sure to enable the PHP extension BCMath before upgrading to this version.

blocks/CryptAPI.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -64,10 +64,10 @@ public function get_payment_method_data(): array
6464
$output_coins = [];
6565

6666
foreach ($this->get_setting('coins') as $coin) {
67-
$output_coins[] = [
68-
'ticker' => $coin,
69-
...$load_coins[$coin]
70-
];
67+
$output_coins[] = array_merge(
68+
['ticker' => $coin],
69+
$load_coins[$coin]
70+
);
7171
}
7272

7373
return [

readme.txt

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ Contributors: cryptapi
33
Tags: crypto payments, woocommerce, payment gateway, crypto, payment, pay with crypto, payment request, bitcoin, bnb, usdt, ethereum, litecoin, bitcoin cash, shib, doge, solana
44
Requires at least: 5.8
55
Tested up to: 6.7.1
6-
Stable tag: 5.0.0
6+
Stable tag: 5.0.1
77
Requires PHP: 7.2
88
WC requires at least: 5.8
9-
WC tested up to: 9.5.1
9+
WC tested up to: 9.6.0
1010
License: MIT
1111

1212
Accept cryptocurrency payments on your WooCommerce website
@@ -396,6 +396,9 @@ The easiest and fastest way is via our live chat on our [website](https://crypta
396396
* Now supports WordPress Blocks.
397397
* Bug fixes.
398398

399+
= 5.0.1 =
400+
* Bug fixes.
401+
399402
== Upgrade Notice ==
400403

401404
= 4.3 =

0 commit comments

Comments
 (0)