Version Description
- Issue that redirection got de-activated after update fixed
Download this release
Release Info
Developer | Steve85b |
Plugin | HTTP / HTTPS Remover: SSL Mixed Content Fix |
Version | 3.1 |
Comparing to | |
See all releases |
Code changes from version 3.0 to 3.1
- http-https-remover.php +31 -2
- readme.txt +5 -2
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.
|
7 |
* Author: Steve85b
|
8 |
* Author URI: -
|
9 |
* License: GPLv3
|
@@ -313,4 +313,33 @@ function jr_upgrade_completed($upgrader_object, $options)
|
|
313 |
}
|
314 |
}
|
315 |
}
|
316 |
-
add_action('upgrader_process_complete', 'jr_upgrade_completed', 10, 2);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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.1
|
7 |
* Author: Steve85b
|
8 |
* Author URI: -
|
9 |
* License: GPLv3
|
313 |
}
|
314 |
}
|
315 |
}
|
316 |
+
add_action('upgrader_process_complete', 'jr_upgrade_completed', 10, 2);
|
317 |
+
|
318 |
+
function jr_temp_function_to_check_checkbox_update_24_to_31()
|
319 |
+
{
|
320 |
+
if( ! function_exists( 'get_plugin_data' ) ) {
|
321 |
+
require_once( ABSPATH . 'wp-admin/includes/plugin.php' );
|
322 |
+
}
|
323 |
+
$plugin_data = get_plugin_data( __FILE__ );
|
324 |
+
$current_version_function = $plugin_data["Version"];
|
325 |
+
$current_version_database = get_option('jr_plugin_version',0);
|
326 |
+
|
327 |
+
if($current_version_database < $current_version_function){
|
328 |
+
$removalOptions = get_option('httpHttpsRemovalOptions',array());
|
329 |
+
if(!isset($removalOptions["enableDisable"])) {
|
330 |
+
$removalOptions["enableDisable"] = "1";
|
331 |
+
}
|
332 |
+
if(!isset($removalOptions["fixGoogleFonts"])) {
|
333 |
+
$removalOptions["fixGoogleFonts"] = "0";
|
334 |
+
}
|
335 |
+
if(!isset($removalOptions["ignoreURLs"])) {
|
336 |
+
$removalOptions["ignoreURLs"] = "";
|
337 |
+
}
|
338 |
+
if(!isset($removalOptions["ignoreAdmin"])) {
|
339 |
+
$removalOptions["ignoreAdmin"] = "0";
|
340 |
+
}
|
341 |
+
update_option('httpHttpsRemovalOptions', $removalOptions);
|
342 |
+
update_option("jr_plugin_version",$current_version_function);
|
343 |
+
}
|
344 |
+
}
|
345 |
+
add_action("init", "jr_temp_function_to_check_checkbox_update_24_to_31");
|
readme.txt
CHANGED
@@ -3,7 +3,7 @@ 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: 3.0.1
|
5 |
Tested up to: 5.3
|
6 |
-
Stable tag: 3.
|
7 |
License: GPLv3
|
8 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
9 |
|
@@ -96,6 +96,9 @@ Change all your CDN references to load with // (this will adapt based on how the
|
|
96 |
|
97 |
== Changelog ==
|
98 |
|
|
|
|
|
|
|
99 |
= 3.0 =
|
100 |
* Added settings page for plugin configurations
|
101 |
* General bug fixes
|
@@ -251,5 +254,5 @@ Change all your CDN references to load with // (this will adapt based on how the
|
|
251 |
|
252 |
== Upgrade Notice ==
|
253 |
|
254 |
-
= 3.
|
255 |
Major updates - please upgrade!
|
3 |
Tags: SSL, https, force SSL, mixed content, insecure content, secure website, website security, TLS, security, secure socket layers, HSTS
|
4 |
Requires at least: 3.0.1
|
5 |
Tested up to: 5.3
|
6 |
+
Stable tag: 3.1
|
7 |
License: GPLv3
|
8 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
9 |
|
96 |
|
97 |
== Changelog ==
|
98 |
|
99 |
+
= 3.1 =
|
100 |
+
* Issue that redirection got de-activated after update fixed
|
101 |
+
|
102 |
= 3.0 =
|
103 |
* Added settings page for plugin configurations
|
104 |
* General bug fixes
|
254 |
|
255 |
== Upgrade Notice ==
|
256 |
|
257 |
+
= 3.1 =
|
258 |
Major updates - please upgrade!
|