Version Description
- Fixed function call issue
Download this release
Release Info
Developer | Steve85b |
Plugin | HTTP / HTTPS Remover: SSL Mixed Content Fix |
Version | 3.2.1 |
Comparing to | |
See all releases |
Code changes from version 3.2 to 3.2.1
- http-https-remover.php +12 -17
- readme.txt +8 -5
http-https-remover.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Plugin Name: HTTP / HTTPS Removal
|
4 |
* Plugin URI: https://wordpress.org/plugins/http-https-Removal/
|
5 |
* Description: This Plugin creates protocol relative urls by removing http + https from links.
|
6 |
-
* Version: 3.2
|
7 |
* Author: Steve85b
|
8 |
* Author URI: https://inisev.com
|
9 |
* License: GPLv3
|
@@ -16,8 +16,15 @@ analyst_init(array(
|
|
16 |
'base-dir' => __FILE__
|
17 |
));
|
18 |
|
19 |
-
if (!defined('ABSPATH'))
|
20 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
21 |
|
22 |
class HTTP_HTTPS_Removal
|
23 |
{
|
@@ -29,7 +36,7 @@ class HTTP_HTTPS_Removal
|
|
29 |
), 99, 1);
|
30 |
|
31 |
/* Plugin Activation Hook */
|
32 |
-
register_activation_hook(__FILE__, array(
|
33 |
/* Add admin notice */
|
34 |
add_action('admin_notices', array($this, 'jr_activation_notice_hook'));
|
35 |
/* Adding links filter */
|
@@ -190,18 +197,6 @@ class HTTP_HTTPS_Removal
|
|
190 |
exit;
|
191 |
}
|
192 |
|
193 |
-
/**
|
194 |
-
* Create transient data
|
195 |
-
*/
|
196 |
-
public function jr_default_activation_hook()
|
197 |
-
{
|
198 |
-
set_transient('jr-wp-admin-notice', true, 0);
|
199 |
-
if(get_option('httpHttpsRemovalOptions') == '') {
|
200 |
-
$default = array('enableDisable' => '1');
|
201 |
-
update_option('httpHttpsRemovalOptions', $default, true);
|
202 |
-
}
|
203 |
-
}
|
204 |
-
|
205 |
/**
|
206 |
* Adding Links
|
207 |
*/
|
@@ -308,7 +303,7 @@ function jr_upgrade_completed($upgrader_object, $options)
|
|
308 |
foreach ($options['plugins'] as $plugin) {
|
309 |
if ($plugin == $our_plugin) {
|
310 |
// Set a transient to record that our plugin has just been updated
|
311 |
-
|
312 |
}
|
313 |
}
|
314 |
}
|
3 |
* Plugin Name: HTTP / HTTPS Removal
|
4 |
* Plugin URI: https://wordpress.org/plugins/http-https-Removal/
|
5 |
* Description: This Plugin creates protocol relative urls by removing http + https from links.
|
6 |
+
* Version: 3.2.1
|
7 |
* Author: Steve85b
|
8 |
* Author URI: https://inisev.com
|
9 |
* License: GPLv3
|
16 |
'base-dir' => __FILE__
|
17 |
));
|
18 |
|
19 |
+
if (!defined('ABSPATH')) exit;
|
20 |
+
|
21 |
+
function jr_httphttpsremover_default_activation_hook() {
|
22 |
+
set_transient('jr-wp-admin-notice', true, 0);
|
23 |
+
if(get_option('httpHttpsRemovalOptions') == '') {
|
24 |
+
$default = array('enableDisable' => '1');
|
25 |
+
update_option('httpHttpsRemovalOptions', $default, true);
|
26 |
+
}
|
27 |
+
}
|
28 |
|
29 |
class HTTP_HTTPS_Removal
|
30 |
{
|
36 |
), 99, 1);
|
37 |
|
38 |
/* Plugin Activation Hook */
|
39 |
+
register_activation_hook(__FILE__, array('jr_httphttpsremover_default_activation_hook'));
|
40 |
/* Add admin notice */
|
41 |
add_action('admin_notices', array($this, 'jr_activation_notice_hook'));
|
42 |
/* Adding links filter */
|
197 |
exit;
|
198 |
}
|
199 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
200 |
/**
|
201 |
* Adding Links
|
202 |
*/
|
303 |
foreach ($options['plugins'] as $plugin) {
|
304 |
if ($plugin == $our_plugin) {
|
305 |
// Set a transient to record that our plugin has just been updated
|
306 |
+
jr_httphttpsremover_default_activation_hook();
|
307 |
}
|
308 |
}
|
309 |
}
|
readme.txt
CHANGED
@@ -2,8 +2,8 @@
|
|
2 |
Contributors: Steve85b
|
3 |
Tags: SSL, https, force SSL, mixed content, insecure content, secure website, website security, TLS, security, secure socket layers, HSTS
|
4 |
Requires at least: 4.6
|
5 |
-
Tested up to: 5.8
|
6 |
-
Stable tag: 3.2
|
7 |
License: GPLv3
|
8 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
9 |
|
@@ -11,7 +11,7 @@ A fix for mixed content! This Plugin creates protocol relative urls by removing
|
|
11 |
|
12 |
== Description ==
|
13 |
|
14 |
-
**To see a demo of the plugin in action please click here: [https://tastewp.com/new/?pre-installed-plugin-slug=http-https-remover](https://tastewp.com/new/?pre-installed-plugin-slug=http-https-remover)**
|
15 |
|
16 |
UPDATE: This plugin will be maintained again! It changed ownership and we're currently collecting ideas how to further improve it. If you have any cool ideas, please let us know in Support Forum. Thank you!
|
17 |
|
@@ -98,6 +98,9 @@ Change all your CDN references to load with // (this will adapt based on how the
|
|
98 |
|
99 |
== Changelog ==
|
100 |
|
|
|
|
|
|
|
101 |
= 3.2 =
|
102 |
* Carrousel added
|
103 |
|
@@ -259,5 +262,5 @@ Change all your CDN references to load with // (this will adapt based on how the
|
|
259 |
|
260 |
== Upgrade Notice ==
|
261 |
|
262 |
-
= 3.2 =
|
263 |
-
|
2 |
Contributors: Steve85b
|
3 |
Tags: SSL, https, force SSL, mixed content, insecure content, secure website, website security, TLS, security, secure socket layers, HSTS
|
4 |
Requires at least: 4.6
|
5 |
+
Tested up to: 5.8.1
|
6 |
+
Stable tag: 3.2.1
|
7 |
License: GPLv3
|
8 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
9 |
|
11 |
|
12 |
== Description ==
|
13 |
|
14 |
+
**To see a demo of the plugin in action please click here: [https://tastewp.com/new/?pre-installed-plugin-slug=http-https-remover](https://tastewp.com/new/?pre-installed-plugin-slug=http-https-remover)**
|
15 |
|
16 |
UPDATE: This plugin will be maintained again! It changed ownership and we're currently collecting ideas how to further improve it. If you have any cool ideas, please let us know in Support Forum. Thank you!
|
17 |
|
98 |
|
99 |
== Changelog ==
|
100 |
|
101 |
+
= 3.2.1 =
|
102 |
+
* Fixed function call issue
|
103 |
+
|
104 |
= 3.2 =
|
105 |
* Carrousel added
|
106 |
|
262 |
|
263 |
== Upgrade Notice ==
|
264 |
|
265 |
+
= 3.2.1 =
|
266 |
+
* Fixed function call issue
|