Skip to content

Commit

Permalink
Prepare changelog 3.15.0, fix recommended PHP8.2
Browse files Browse the repository at this point in the history
  • Loading branch information
herrvigg committed Apr 15, 2023
1 parent 07c9214 commit e02f557
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
17 changes: 17 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/admin/activation_hook.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 );
}
Expand Down

0 comments on commit e02f557

Please sign in to comment.