HTTP / HTTPS Remover: SSL Mixed Content Fix - Version 1.3.1

Version Description

(01/13/17) = * Added support for srcset tag

Download this release

Release Info

Developer condacore
Plugin Icon 128x128 HTTP / HTTPS Remover: SSL Mixed Content Fix
Version 1.3.1
Comparing to
See all releases

Code changes from version 1.3 to 1.3.1

Files changed (2) hide show
  1. http-https-remover.php +6 -1
  2. readme.txt +3 -1
http-https-remover.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: HTTP / HTTPS Remover
4
  * Plugin URI: https://de.wordpress.org/plugins/http-https-remover/
5
  * Description: This Plugin removes HTTP and HTTPS protocols from all links.
6
- * Version: 1.3
7
  * Author: Marius Bolik (CONDACORE)
8
  * Author URI: https://condacore.com/
9
  * License: GPLv3
@@ -71,6 +71,11 @@ class HTTP_HTTPS_REMOVER
71
  $buffer = str_replace('src="https://' . $_SERVER['HTTP_HOST'], 'src="//' . $_SERVER['HTTP_HOST'], $buffer);
72
  $buffer = str_replace('src=\'http://' . $_SERVER['HTTP_HOST'], 'src=\'//' . $_SERVER['HTTP_HOST'], $buffer);
73
  $buffer = str_replace('src="http://' . $_SERVER['HTTP_HOST'], 'src="//' . $_SERVER['HTTP_HOST'], $buffer);
 
 
 
 
 
74
  // content
75
  $buffer = str_replace('content=\'//' . $_SERVER['HTTP_HOST'], 'content=\'https://' . $_SERVER['HTTP_HOST'], $buffer);
76
  $buffer = str_replace('content="//' . $_SERVER['HTTP_HOST'], 'content="https://' . $_SERVER['HTTP_HOST'], $buffer);
3
  * Plugin Name: HTTP / HTTPS Remover
4
  * Plugin URI: https://de.wordpress.org/plugins/http-https-remover/
5
  * Description: This Plugin removes HTTP and HTTPS protocols from all links.
6
+ * Version: 1.3.1
7
  * Author: Marius Bolik (CONDACORE)
8
  * Author URI: https://condacore.com/
9
  * License: GPLv3
71
  $buffer = str_replace('src="https://' . $_SERVER['HTTP_HOST'], 'src="//' . $_SERVER['HTTP_HOST'], $buffer);
72
  $buffer = str_replace('src=\'http://' . $_SERVER['HTTP_HOST'], 'src=\'//' . $_SERVER['HTTP_HOST'], $buffer);
73
  $buffer = str_replace('src="http://' . $_SERVER['HTTP_HOST'], 'src="//' . $_SERVER['HTTP_HOST'], $buffer);
74
+ // srcset
75
+ $buffer = str_replace('srcset=\'https://' . $_SERVER['HTTP_HOST'], 'srcset=\'//' . $_SERVER['HTTP_HOST'], $buffer);
76
+ $buffer = str_replace('srcset="https://' . $_SERVER['HTTP_HOST'], 'srcset="//' . $_SERVER['HTTP_HOST'], $buffer);
77
+ $buffer = str_replace('srcset=\'http://' . $_SERVER['HTTP_HOST'], 'srcset=\'//' . $_SERVER['HTTP_HOST'], $buffer);
78
+ $buffer = str_replace('srcset="http://' . $_SERVER['HTTP_HOST'], 'srcset="//' . $_SERVER['HTTP_HOST'], $buffer);
79
  // content
80
  $buffer = str_replace('content=\'//' . $_SERVER['HTTP_HOST'], 'content=\'https://' . $_SERVER['HTTP_HOST'], $buffer);
81
  $buffer = str_replace('content="//' . $_SERVER['HTTP_HOST'], 'content="https://' . $_SERVER['HTTP_HOST'], $buffer);
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.paypal.me/MariusBolik
4
  Tags: http, https, mixed content
5
  Requires at least: 1.2.0
6
  Tested up to: 4.7
7
- Stable tag: 1.3
8
  License: GPLv3
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
@@ -66,6 +66,8 @@ Please purge/clear cache for the changes to take effect!
66
  1. The Sourcecode of the Website will look like this!
67
 
68
  == Changelog ==
 
 
69
  = 1.3 (01/07/17) =
70
  * Fixed the issue that Twitter card image is not displayed
71
  = 1.2 (12/11/16) =
4
  Tags: http, https, mixed content
5
  Requires at least: 1.2.0
6
  Tested up to: 4.7
7
+ Stable tag: 1.3.1
8
  License: GPLv3
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
66
  1. The Sourcecode of the Website will look like this!
67
 
68
  == Changelog ==
69
+ = 1.3.1 (01/13/17) =
70
+ * Added support for srcset tag
71
  = 1.3 (01/07/17) =
72
  * Fixed the issue that Twitter card image is not displayed
73
  = 1.2 (12/11/16) =