Skip to content

Commit

Permalink
version up
Browse files Browse the repository at this point in the history
  • Loading branch information
BeycanDeveloper committed Jan 30, 2024
1 parent d18dd3b commit 4259f45
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
12 changes: 6 additions & 6 deletions app/Loader.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,13 @@ class Loader
*/
public function __construct()
{
$pluginData = Helpers::getAddon('donation')->getData();

new Updater([
'requires' => '5.0',
'requires_php' => '8.1',
'plugin_file' => 'cryptopay-donation/cryptopay-donation.php',
'plugin_version' => Helpers::getAddon('donation')->getVersion(),
'plugin_file' => $pluginData->Slug,
'requires' => $pluginData->RequiresWP,
'requires_php' => $pluginData->RequiresPHP,
'plugin_version' => $pluginData->Version,
'icons' => [
'2x' => plugin_dir_url(dirname(__FILE__, 2) . '/index.php') . '/assets/images/icon-256x256.png',
'1x' => plugin_dir_url(dirname(__FILE__, 2) . '/index.php') . '/assets/images/icon-128x128.png',
Expand All @@ -34,8 +36,6 @@ public function __construct()
]);
});

Hook::addFilter('transaction_status_donation', fn() => 'completed');

if (is_admin()) {
new TransactionPage(
esc_html__('Donation transactions', 'cryptopay'),
Expand Down
4 changes: 2 additions & 2 deletions cryptopay-donation.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

/**
* Plugin Name: CryptoPay Donation
* Version: 1.1.0
* Version: 1.2.0
* Plugin URI: https://beycanpress.com/cryptopay/
* Description: Donation add-on for CryptoPay
* Author: BeycanPress LLC
Expand All @@ -21,7 +21,7 @@
* Tags: Cryptopay, Cryptocurrency, WooCommerce, WordPress, MetaMask, Trust, Binance, Wallet, Ethereum, Bitcoin, Binance smart chain, Payment, Plugin, Gateway, Moralis, Converter, API, coin market cap, CMC, Crypto donate
* Requires at least: 5.0
* Tested up to: 6.4.2
* Requires PHP: 7.4
* Requires PHP: 8.1
*/

use BeycanPress\CryptoPay\Loader;
Expand Down

0 comments on commit 4259f45

Please sign in to comment.