Version Description
- Fixed notice about wp config.php not writable notice even when httpOnly cookie settings already written.
Download this release
Release Info
Developer | RogierLankhorst |
Plugin | Really Simple SSL |
Version | 4.0.13 |
Comparing to | |
See all releases |
Code changes from version 4.0.12 to 4.0.13
- class-admin.php +19 -19
- readme.txt +4 -1
- rlrsssl-really-simple-ssl.php +1 -1
class-admin.php
CHANGED
@@ -3068,19 +3068,19 @@ class rsssl_admin extends rsssl_front_end
|
|
3068 |
'url' => 'https://really-simple-ssl.com/secure-cookies-with-httponly-secure-and-use_only_cookies/',
|
3069 |
),
|
3070 |
'wpconfig-not-writable' => array(
|
3071 |
-
|
3072 |
-
|
3073 |
-
|
3074 |
-
|
3075 |
-
|
3076 |
-
|
3077 |
-
|
3078 |
-
|
3079 |
-
|
3080 |
-
|
3081 |
-
|
3082 |
-
|
3083 |
-
|
3084 |
)
|
3085 |
),
|
3086 |
),
|
@@ -4393,16 +4393,16 @@ class rsssl_admin extends rsssl_front_end
|
|
4393 |
return 'wpconfig-not-writable';
|
4394 |
}
|
4395 |
|
4396 |
-
|
4397 |
-
|
|
|
4398 |
}
|
4399 |
|
4400 |
-
|
4401 |
-
|
4402 |
-
return 'not-set';
|
4403 |
}
|
4404 |
|
4405 |
-
return 'set';
|
4406 |
}
|
4407 |
|
4408 |
/**
|
3068 |
'url' => 'https://really-simple-ssl.com/secure-cookies-with-httponly-secure-and-use_only_cookies/',
|
3069 |
),
|
3070 |
'wpconfig-not-writable' => array(
|
3071 |
+
'msg' => __("To set the httponly secure cookie settings, your wp-config.php has to be edited, but the file is not writable.","really-simple-ssl").' '.__("Add the following lines of code to your wp-config.php.","really-simple-ssl") .
|
3072 |
+
"<br><br><code>
|
3073 |
+
//Begin Really Simple SSL session cookie settings <br>
|
3074 |
+
@ini_set('session.cookie_httponly', true); <br>
|
3075 |
+
@ini_set('session.cookie_secure', true); <br>
|
3076 |
+
@ini_set('session.use_only_cookies', true); <br>
|
3077 |
+
//END Really Simple SSL cookie settings <br>
|
3078 |
+
</code><br>
|
3079 |
+
".__("Or set your wp-config.php to writable and reload this page.", "really-simple-ssl"),
|
3080 |
+
'icon' => 'warning',
|
3081 |
+
'dismissible' => true,
|
3082 |
+
'plusone' => true,
|
3083 |
+
'url' => 'https://really-simple-ssl.com/secure-cookies-with-httponly-secure-and-use_only_cookies/',
|
3084 |
)
|
3085 |
),
|
3086 |
),
|
4393 |
return 'wpconfig-not-writable';
|
4394 |
}
|
4395 |
|
4396 |
+
$wpconfig = file_get_contents($wpconfig_path);
|
4397 |
+
if ((strpos($wpconfig, "//Begin Really Simple SSL session cookie settings") !== FALSE) || (strpos($wpconfig, "cookie_httponly") !== FALSE)) {
|
4398 |
+
return 'set';
|
4399 |
}
|
4400 |
|
4401 |
+
if ( !is_writable($wpconfig_path) ) {
|
4402 |
+
return 'wpconfig-not-writable';
|
|
|
4403 |
}
|
4404 |
|
4405 |
+
return 'not-set';
|
4406 |
}
|
4407 |
|
4408 |
/**
|
readme.txt
CHANGED
@@ -6,7 +6,7 @@ Requires at least: 4.6
|
|
6 |
License: GPL2
|
7 |
Tested up to: 5.7
|
8 |
Requires PHP: 5.6
|
9 |
-
Stable tag: 4.0.
|
10 |
|
11 |
No setup required! You only need an SSL certificate, and this plugin will do the rest.
|
12 |
|
@@ -86,6 +86,9 @@ If you are experiencing redirect loops on your site, try these [instructions](ht
|
|
86 |
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.
|
87 |
|
88 |
== Changelog ==
|
|
|
|
|
|
|
89 |
= 4.0.12 =
|
90 |
* Added secure cookies
|
91 |
* Improved Right-To-Left text support
|
6 |
License: GPL2
|
7 |
Tested up to: 5.7
|
8 |
Requires PHP: 5.6
|
9 |
+
Stable tag: 4.0.13
|
10 |
|
11 |
No setup required! You only need an SSL certificate, and this plugin will do the rest.
|
12 |
|
86 |
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.
|
87 |
|
88 |
== Changelog ==
|
89 |
+
= 4.0.13 =
|
90 |
+
* Fixed notice about wp config.php not writable notice even when httpOnly cookie settings already written.
|
91 |
+
|
92 |
= 4.0.12 =
|
93 |
* Added secure cookies
|
94 |
* Improved Right-To-Left text support
|
rlrsssl-really-simple-ssl.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Plugin Name: Really Simple SSL
|
4 |
* Plugin URI: https://really-simple-ssl.com
|
5 |
* Description: Lightweight plugin without any setup to make your site SSL proof
|
6 |
-
* Version: 4.0.
|
7 |
* Author: Really Simple Plugins
|
8 |
* Author URI: https://really-simple-plugins.com
|
9 |
* License: GPL2
|
3 |
* Plugin Name: Really Simple SSL
|
4 |
* Plugin URI: https://really-simple-ssl.com
|
5 |
* Description: Lightweight plugin without any setup to make your site SSL proof
|
6 |
+
* Version: 4.0.13
|
7 |
* Author: Really Simple Plugins
|
8 |
* Author URI: https://really-simple-plugins.com
|
9 |
* License: GPL2
|