From e02f55794fdffe6e6d652d2e2f16d70ab41d8124 Mon Sep 17 00:00:00 2001 From: HerrVigg Date: Sat, 15 Apr 2023 15:20:12 +0200 Subject: [PATCH] Prepare changelog 3.15.0, fix recommended PHP8.2 --- CHANGELOG.md | 17 +++++++++++++++++ src/admin/activation_hook.php | 2 +- 2 files changed, 18 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0adaa6b9..583a57b5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,20 @@ +### 3.15.0 +New requirements! + * Bump required PHP version to 7.1 or higher (#1084), recommend PHP8.2 + * Bump required WordPress version to 5.0 or higher (#1084) + * Abandon support for Internet Explorer (#1313), note it's no longer supported from WP5.8 + +Core +* Add PHP7.1 type check declarations (#1314), this may create regressions occasionally but also help to find latent bugs +* Make use of PHP7.0 null coalesce `??` operator (#1084) +* Lint PHP by removing unnecessary local vars (#1316) +* Lint PHP by simplifying expressions (#1317) +* Move deprecated functions to a separate file (#1311) +* Fix warning deprecated `qtranslate_admin_page_config` hook (#1315) + +Modules +* Fix regression in 3.14.0 with ACF Post Object [qT-XT] (#1320) + ### 3.14.0 Summary * Major update for ACF, bump minimal version 5.6.0 diff --git a/src/admin/activation_hook.php b/src/admin/activation_hook.php index 994fe107..be5e5ea5 100644 --- a/src/admin/activation_hook.php +++ b/src/admin/activation_hook.php @@ -757,7 +757,7 @@ function qtranxf_activation_hook(): void { if ( version_compare( PHP_VERSION, '7.1' ) < 0 ) { // Deactivate ourself load_plugin_textdomain( 'qtranslate', false, basename( QTRANSLATE_DIR ) . '/lang' ); - $msg = sprintf( __( 'Plugin %s requires PHP version %s at least. This server instance runs PHP version %s. A PHP version %s or higher is recommended. The plugin has not been activated.', 'qtranslate' ), qtranxf_get_plugin_link(), '7.1', PHP_VERSION, '8.3' ); + $msg = sprintf( __( 'Plugin %s requires PHP version %s at least. This server instance runs PHP version %s. A PHP version %s or higher is recommended. The plugin has not been activated.', 'qtranslate' ), qtranxf_get_plugin_link(), '7.1', PHP_VERSION, '8.2' ); deactivate_plugins( plugin_basename( QTRANSLATE_FILE ) ); wp_die( $msg ); }