Really Simple SSL - Version 3.1.1

Version Description

  • Fix: Multisite network wide activation/deactivation cron not saving settings because user capability not set this early in the process.
Download this release

Release Info

Developer RogierLankhorst
Plugin Icon 128x128 Really Simple SSL
Version 3.1.1
Comparing to
See all releases

Code changes from version 3.1 to 3.1.1

Files changed (3) hide show
  1. class-admin.php +2 -7
  2. readme.txt +4 -1
  3. rlrsssl-really-simple-ssl.php +1 -1
class-admin.php CHANGED
@@ -730,8 +730,6 @@ class rsssl_admin extends rsssl_front_end
730
 
731
  public function remove_ssl_from_siteurl_in_wpconfig()
732
  {
733
- if (!current_user_can($this->capability)) return;
734
-
735
  $wpconfig_path = $this->find_wp_config_path();
736
  if (!empty($wpconfig_path)) {
737
  $wpconfig = file_get_contents($wpconfig_path);
@@ -1056,8 +1054,6 @@ class rsssl_admin extends rsssl_front_end
1056
 
1057
  public function set_siteurl_to_ssl()
1058
  {
1059
- if (!current_user_can($this->capability)) return;
1060
-
1061
  $this->trace_log("converting siteurl and homeurl to https");
1062
 
1063
  $siteurl_ssl = str_replace("http://", "https://", get_option('siteurl'));
@@ -1095,8 +1091,6 @@ class rsssl_admin extends rsssl_front_end
1095
 
1096
  public function save_options()
1097
  {
1098
- if (!current_user_can($this->capability)) return;
1099
-
1100
  //any options added here should also be added to function options_validate()
1101
  $options = array(
1102
  'site_has_ssl' => $this->site_has_ssl,
@@ -1116,6 +1110,8 @@ class rsssl_admin extends rsssl_front_end
1116
  );
1117
 
1118
  update_option('rlrsssl_options', $options);
 
 
1119
  }
1120
 
1121
  /**
@@ -1712,7 +1708,6 @@ class rsssl_admin extends rsssl_front_end
1712
 
1713
  public function get_redirect_rules($manual = false)
1714
  {
1715
- if (!current_user_can($this->capability)) return;
1716
  $this->trace_log("retrieving redirect rules");
1717
  //only add the redirect rules when a known type of SSL was detected. Otherwise, we use https.
1718
  $rule = "";
730
 
731
  public function remove_ssl_from_siteurl_in_wpconfig()
732
  {
 
 
733
  $wpconfig_path = $this->find_wp_config_path();
734
  if (!empty($wpconfig_path)) {
735
  $wpconfig = file_get_contents($wpconfig_path);
1054
 
1055
  public function set_siteurl_to_ssl()
1056
  {
 
 
1057
  $this->trace_log("converting siteurl and homeurl to https");
1058
 
1059
  $siteurl_ssl = str_replace("http://", "https://", get_option('siteurl'));
1091
 
1092
  public function save_options()
1093
  {
 
 
1094
  //any options added here should also be added to function options_validate()
1095
  $options = array(
1096
  'site_has_ssl' => $this->site_has_ssl,
1110
  );
1111
 
1112
  update_option('rlrsssl_options', $options);
1113
+
1114
+
1115
  }
1116
 
1117
  /**
1708
 
1709
  public function get_redirect_rules($manual = false)
1710
  {
 
1711
  $this->trace_log("retrieving redirect rules");
1712
  //only add the redirect rules when a known type of SSL was detected. Otherwise, we use https.
1713
  $rule = "";
readme.txt CHANGED
@@ -6,7 +6,7 @@ Requires at least: 4.2
6
  License: GPL2
7
  Tested up to: 4.9.5
8
  Requires PHP: 5.4
9
- Stable tag: 3.1
10
 
11
  No setup required! You only need an SSL certificate, and this plugin will do the rest.
12
 
@@ -79,6 +79,9 @@ If you are experiencing redirect loops on your site, try these [instructions](ht
79
  Yes. There is a dedicated network settings page where you can switch between network activated SSL and per page SSL. In the dedicated pro for multisite plugin, you can override all site settings for SSL on the network level, and can activate and deactivate SSL in the network menu for each site.
80
 
81
  == Changelog ==
 
 
 
82
  = 3.1 =
83
  * Fix: fixed a bug in certificate detection
84
  * Tweak: added HTTP_X_PROTO as supported header
6
  License: GPL2
7
  Tested up to: 4.9.5
8
  Requires PHP: 5.4
9
+ Stable tag: 3.1.1
10
 
11
  No setup required! You only need an SSL certificate, and this plugin will do the rest.
12
 
79
  Yes. There is a dedicated network settings page where you can switch between network activated SSL and per page SSL. In the dedicated pro for multisite plugin, you can override all site settings for SSL on the network level, and can activate and deactivate SSL in the network menu for each site.
80
 
81
  == Changelog ==
82
+ = 3.1.1 =
83
+ * Fix: Multisite network wide activation/deactivation cron not saving settings because user capability not set this early in the process.
84
+
85
  = 3.1 =
86
  * Fix: fixed a bug in certificate detection
87
  * Tweak: added HTTP_X_PROTO as supported header
rlrsssl-really-simple-ssl.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: Really Simple SSL
4
  * Plugin URI: https://www.really-simple-ssl.com
5
  * Description: Lightweight plugin without any setup to make your site SSL proof
6
- * Version: 3.1
7
  * Text Domain: really-simple-ssl
8
  * Domain Path: /languages
9
  * Author: Rogier Lankhorst, Mark Wolters
3
  * Plugin Name: Really Simple SSL
4
  * Plugin URI: https://www.really-simple-ssl.com
5
  * Description: Lightweight plugin without any setup to make your site SSL proof
6
+ * Version: 3.1.1
7
  * Text Domain: really-simple-ssl
8
  * Domain Path: /languages
9
  * Author: Rogier Lankhorst, Mark Wolters