diff --git a/cryptopay-gateway-for-learndash-lms.php b/cryptopay-gateway-for-learndash-lms.php index 11f60c2..b0af7e7 100644 --- a/cryptopay-gateway-for-learndash-lms.php +++ b/cryptopay-gateway-for-learndash-lms.php @@ -11,7 +11,7 @@ /** * Plugin Name: CryptoPay Gateway for LearnDash LMS - * Version: 1.0.0 + * Version: 1.0.1 * Plugin URI: https://beycanpress.com/cryptopay/ * Description: Adds Cryptocurrency payment gateway (CryptoPay) for LearnDash LMS. * Author: BeycanPress LLC @@ -21,7 +21,7 @@ * Text Domain: cryptopay-gateway-for-learndash-lms * Tags: Bitcoin, Ethereum, Cryptocurrency, Payments, LearnDash LMS * Requires at least: 5.0 - * Tested up to: 6.6 + * Tested up to: 6.7.1 * Requires PHP: 8.1 */ @@ -31,7 +31,7 @@ use BeycanPress\CryptoPay\Integrator\Helpers; define('LDLMS_CRYPTOPAY_FILE', __FILE__); -define('LDLMS_CRYPTOPAY_VERSION', '1.0.0'); +define('LDLMS_CRYPTOPAY_VERSION', '1.0.1'); define('LDLMS_CRYPTOPAY_URL', plugin_dir_url(__FILE__)); define('LDLMS_CRYPTOPAY_DIR', plugin_dir_path(__FILE__)); @@ -46,12 +46,14 @@ function learndash_cryptopay_addModels(): void learndash_cryptopay_addModels(); +add_action('init', function (): void { + load_plugin_textdomain('cryptopay-gateway-for-learndash-lms', false, basename(__DIR__) . '/languages'); +}); + add_action('plugins_loaded', function (): void { learndash_cryptopay_addModels(); - load_plugin_textdomain('cryptopay-gateway-for-learndash-lms', false, basename(__DIR__) . '/languages'); - if (!defined('LEARNDASH_VERSION')) { Helpers::requirePluginMessage('LearnDash LMS', 'https://www.learndash.com/', false); } elseif (Helpers::bothExists()) { diff --git a/readme.txt b/readme.txt index 5ca252f..8151dc6 100644 --- a/readme.txt +++ b/readme.txt @@ -2,10 +2,10 @@ Contributors: BeycanPress Tags: Bitcoin, Ethereum, Cryptocurrency, Payments, LearnDash LMS Requires at least: 5.0 -Tested up to: 6.6 +Tested up to: 6.7.1 Requires PHP: 8.1 -Stable Tag: 1.0.0 -Version: 1.0.0 +Stable Tag: 1.0.1 +Version: 1.0.1 License: GPLv3 License URI: https://www.gnu.org/licenses/gpl-3.0.html @@ -58,5 +58,8 @@ You can easily translate with Loco translate. == Changelog == += 1.0.1 = +* Fixed: Text domain warning. + = 1.0.0 = * Plugin released.