From e55fb0888970162ec40766edb5e4ea00d1497213 Mon Sep 17 00:00:00 2001 From: Rogier Lankhorst Date: Wed, 26 Jun 2024 09:57:16 +0200 Subject: [PATCH 1/3] obsolete option --- class-multisite.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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); From d4f6c70aadb48cd9fa6f99906cb69978bd2a6677 Mon Sep 17 00:00:00 2001 From: Rogier Lankhorst Date: Fri, 5 Jul 2024 15:02:32 +0200 Subject: [PATCH 2/3] version --- readme.txt | 10 ++++++++-- rlrsssl-really-simple-ssl.php | 4 ++-- 2 files changed, 10 insertions(+), 4 deletions(-) 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); } From 6b3fcb9626bfb82b9f1bed7dacad2e6635a3f86d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20H=C3=B6benreich?= <64426524+jonas-hoebenreich@users.noreply.github.com> Date: Mon, 15 Jul 2024 19:30:38 +0000 Subject: [PATCH 3/3] add redirect source to wp_redirect_to_ssl --- class-front-end.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } }