From e51f4a05078ea73f3324a668952f857e1aaddbbe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adri=C3=A1n=20Cobo?= Date: Thu, 7 Nov 2024 09:33:23 +0100 Subject: [PATCH] Updated to 6.7 and fixed bug --- README.txt | 4 ++-- includes/class-pago-redsys-grafreak.php | 2 +- pago-redsys-grafreak.php | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.txt b/README.txt index e2a9ac2..7fb0faa 100644 --- a/README.txt +++ b/README.txt @@ -3,8 +3,8 @@ Contributors: grafreak, adriandegrafreak Donate link: http://www.grafreak.net Tags: tpv, ecommerce, redsys Requires at least: 5.4 -Tested up to: 6.6 -Stable tag: 1.0.11 +Tested up to: 6.7 +Stable tag: 1.0.12 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html diff --git a/includes/class-pago-redsys-grafreak.php b/includes/class-pago-redsys-grafreak.php index 2a8a5d5..a6629ab 100644 --- a/includes/class-pago-redsys-grafreak.php +++ b/includes/class-pago-redsys-grafreak.php @@ -143,7 +143,7 @@ private function set_locale() { $plugin_i18n = new Pago_Redsys_Grafreak_I18n(); - $this->loader->add_action( 'plugins_loaded', $plugin_i18n, 'load_plugin_textdomain' ); + $this->loader->add_action( 'init', $plugin_i18n, 'load_plugin_textdomain' ); } diff --git a/pago-redsys-grafreak.php b/pago-redsys-grafreak.php index 61bb84e..e4461dd 100755 --- a/pago-redsys-grafreak.php +++ b/pago-redsys-grafreak.php @@ -15,7 +15,7 @@ * Plugin Name: Pago por Redsys * Plugin URI: http://www.grafreak.net * Description: Plugin que permite colocar una pasarela de pago en tu web - * Version: 1.0.11 + * Version: 1.0.12 * Author: Grafreak * Author URI: http://www.grafreak.net * License: GPL-2.0+