updated plugin GP Premium version 2.4.1

This commit is contained in:
KawaiiPunk 2024-06-27 12:10:51 +00:00 committed by Gitium
parent 5c4b728efa
commit ec9d8a5834
3 changed files with 7 additions and 4 deletions

View File

@ -3,7 +3,7 @@
* Plugin Name: GP Premium * Plugin Name: GP Premium
* Plugin URI: https://generatepress.com * Plugin URI: https://generatepress.com
* Description: The entire collection of GeneratePress premium modules. * Description: The entire collection of GeneratePress premium modules.
* Version: 2.4.0 * Version: 2.4.1
* Requires at least: 5.2 * Requires at least: 5.2
* Requires PHP: 7.2 * Requires PHP: 7.2
* Author: Tom Usborne * Author: Tom Usborne
@ -19,7 +19,7 @@ if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly. exit; // Exit if accessed directly.
} }
define( 'GP_PREMIUM_VERSION', '2.4.0' ); define( 'GP_PREMIUM_VERSION', '2.4.1' );
define( 'GP_PREMIUM_DIR_PATH', plugin_dir_path( __FILE__ ) ); define( 'GP_PREMIUM_DIR_PATH', plugin_dir_path( __FILE__ ) );
define( 'GP_PREMIUM_DIR_URL', plugin_dir_url( __FILE__ ) ); define( 'GP_PREMIUM_DIR_URL', plugin_dir_url( __FILE__ ) );
define( 'GP_LIBRARY_DIRECTORY', plugin_dir_path( __FILE__ ) . 'library/' ); define( 'GP_LIBRARY_DIRECTORY', plugin_dir_path( __FILE__ ) . 'library/' );

View File

@ -67,7 +67,7 @@ if ( ! function_exists( 'generate_license_errors' ) ) {
case 'false': case 'false':
$message = urldecode( $_GET['message'] ); $message = urldecode( $_GET['message'] );
add_settings_error( 'generate-license-notices', 'license_failed', $message, 'error' ); add_settings_error( 'generate-license-notices', 'license_failed', esc_html( $message ), 'error' );
break; break;
case 'true': case 'true':

View File

@ -5,7 +5,7 @@ Tags: generatepress
Requires at least: 5.2 Requires at least: 5.2
Tested up to: 6.4 Tested up to: 6.4
Requires PHP: 7.2 Requires PHP: 7.2
Stable tag: 2.4.0 Stable tag: 2.4.1
License: GPLv2 or later License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html License URI: http://www.gnu.org/licenses/gpl-2.0.html
@ -27,6 +27,9 @@ In most cases, #1 will work fine and is way easier.
== Changelog == == Changelog ==
= 2.4.1 =
* Security: Harden variable against XSS attacks
= 2.4.0 = = 2.4.0 =
* Security: Disallow scripts in custom field template tags * Security: Disallow scripts in custom field template tags
* Important: Requires PHP 7.2 or greater * Important: Requires PHP 7.2 or greater