From a812885a23ff1d91fbed0d205b19001d2da15b98 Mon Sep 17 00:00:00 2001 From: Halil Beycan <50718965+BeycanDeveloper@users.noreply.github.com> Date: Thu, 4 Apr 2024 11:39:53 +0800 Subject: [PATCH] updated for wp6.5.0 --- ...tocurrency-payments-for-paid-memberships-pro.php | 13 +++++++------ languages/pmpro-cryptopay.pot | 10 +++++----- readme.txt | 11 +++++++---- 3 files changed, 19 insertions(+), 15 deletions(-) diff --git a/cryptocurrency-payments-for-paid-memberships-pro.php b/cryptocurrency-payments-for-paid-memberships-pro.php index e6438c4..7366b04 100644 --- a/cryptocurrency-payments-for-paid-memberships-pro.php +++ b/cryptocurrency-payments-for-paid-memberships-pro.php @@ -10,8 +10,9 @@ // @phpcs:disable Generic.Files.InlineHTML /** - * Plugin Name: Paid Memberships Pro - CryptoPay Gateway - * Version: 1.0.5 + * Plugin Name: CryptoPay Gateway for Paid Memberships Pro + * Requires Plugins: paid-memberships-pro + * Version: 1.0.6 * Plugin URI: https://beycanpress.com/cryptopay/ * Description: Adds CryptoPay as a gateway option for Paid Memberships Pro. * Author: BeycanPress LLC @@ -21,7 +22,7 @@ * Text Domain: pmpro-cryptopay * Tags: Cryptopay, Cryptocurrency, WooCommerce, WordPress, MetaMask, Trust, Binance, Wallet, Ethereum, Bitcoin, Binance smart chain, Payment, Plugin, Gateway, Moralis, Converter, API, coin market cap, CMC * Requires at least: 5.0 - * Tested up to: 6.4.2 + * Tested up to: 6.5.0 * Requires PHP: 8.1 */ @@ -33,7 +34,7 @@ use BeycanPress\CryptoPayLite\PluginHero\Hook as LiteHook; define('PMPRO_CRYPTOPAY_FILE', __FILE__); -define('PMPRO_CRYPTOPAY_VERSION', '1.0.5'); +define('PMPRO_CRYPTOPAY_VERSION', '1.0.6'); define('PMPRO_CRYPTOPAY_URL', plugin_dir_url(__FILE__)); register_activation_hook(PMPRO_CRYPTOPAY_FILE, function (): void { @@ -106,7 +107,7 @@ function pmpro_cryptopay_check_discount_code(object &$level, ?string $discountCo if (false == defined('PMPRO_DIR')) { add_action('admin_notices', function (): void { $class = 'notice notice-error'; - $message = sprintf(esc_html__('Paid Memberships Pro - CryptoPay Gateway: This plugin is an extra feature plugin so it cannot do anything on its own. It needs Paid Memberships Pro to work. You can download Paid Memberships Pro by %s.', 'pmpro-cryptopay'), '' . esc_html__('clicking here', 'pmpro-cryptopay') . ''); + $message = sprintf(esc_html__('CryptoPay Gateway for Paid Memberships Pro: This plugin is an extra feature plugin so it cannot do anything on its own. It needs Paid Memberships Pro to work. You can download Paid Memberships Pro by %s.', 'pmpro-cryptopay'), '' . esc_html__('clicking here', 'pmpro-cryptopay') . ''); printf('
%2$s
' . esc_html__('clicking here', 'pmpro-cryptopay') . ''); ?>
+' . esc_html__('clicking here', 'pmpro-cryptopay') . ''); ?>