diff --git a/class-front-end.php b/class-front-end.php index 12a47338b..f0a721408 100644 --- a/class-front-end.php +++ b/class-front-end.php @@ -84,7 +84,7 @@ public function wp_redirect_to_ssl(): void { if ( ! is_ssl() && ! ( defined( 'rsssl_no_wp_redirect' ) && rsssl_no_wp_redirect ) ) { $redirect_url = 'https://' . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI']; $redirect_url = apply_filters( 'rsssl_wp_redirect_url', $redirect_url ); - wp_redirect( $redirect_url, 301 ); + wp_redirect( $redirect_url, 301, 'WordPress - Really Simple SSL' ); exit; } } diff --git a/class-multisite.php b/class-multisite.php index e07a70f57..f8e092dc9 100644 --- a/class-multisite.php +++ b/class-multisite.php @@ -444,12 +444,11 @@ public function activate_ssl_networkwide() public function deactivate() { - if (!rsssl_user_can_manage()) { + if ( !rsssl_user_can_manage() ) { return; } $ssl_was_enabled = rsssl_get_option('ssl_enabled'); delete_site_option('rsssl_network_activation_status'); - update_option('ssl_enabled', false); //main site first $site_id = get_main_site_id(); switch_to_blog($site_id); diff --git a/readme.txt b/readme.txt index c3f2e9f8b..6cb7e8bf8 100644 --- a/readme.txt +++ b/readme.txt @@ -4,9 +4,9 @@ Donate link: https://www.paypal.me/reallysimplessl Tags: Security, SSL, https, HSTS, mixed content Requires at least: 5.9 License: GPL2 -Tested up to: 6.5 +Tested up to: 6.6 Requires PHP: 7.4 -Stable tag: 8.1.5 +Stable tag: 8.1.6 Easily improve site security with WordPress hardening, vulnerability detection and SSL certificate generation. @@ -131,6 +131,12 @@ The plugin checks your certificate before enabling, but if, for example, you mig If you can't deactivate, do not just remove the plugin folder to uninstall! Follow these [instructions](https://really-simple-ssl.com/knowledge-base/uninstall-websitebackend-not-accessible/) instead. == Changelog == += 8.1.6 = +* July 15th, 2024 +* Fix: code for two modules loaded even if not enabled. +* Improvement: added filter to write to other file than the wp-config.php +* Improvement: added a constant which prevents inserting the .htaccess auto prepend rule + = 8.1.5 = * June 21th, 2024 * Fix: documentation links to website broken diff --git a/rlrsssl-really-simple-ssl.php b/rlrsssl-really-simple-ssl.php index f82f3a0d0..b2ec1b70c 100644 --- a/rlrsssl-really-simple-ssl.php +++ b/rlrsssl-really-simple-ssl.php @@ -3,7 +3,7 @@ * Plugin Name: Really Simple SSL * Plugin URI: https://really-simple-ssl.com * Description: Lightweight SSL & Hardening Plugin - * Version: 8.1.5 + * Version: 8.1.6 * Requires at least: 5.9 * Requires PHP: 7.4 * Author: Really Simple Plugins @@ -103,7 +103,7 @@ private function setup_constants() if ( !defined('rsssl_file') ){ define('rsssl_file', __FILE__); } - define('rsssl_version', '8.1.5'); + define('rsssl_version', '8.1.6'); define('rsssl_le_cron_generation_renewal_check', 20); define('rsssl_le_manual_generation_renewal_check', 15); }