Version Description
(01/07/17) = * Fixed the issue that Twitter card image is not displayed
Download this release
Release Info
Developer | condacore |
Plugin | HTTP / HTTPS Remover: SSL Mixed Content Fix |
Version | 1.3 |
Comparing to | |
See all releases |
Code changes from version 1.2 to 1.3
- http-https-remover.php +5 -5
- 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.
|
7 |
* Author: Marius Bolik (CONDACORE)
|
8 |
* Author URI: https://condacore.com/
|
9 |
* License: GPLv3
|
@@ -72,10 +72,10 @@ class HTTP_HTTPS_REMOVER
|
|
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=\'
|
76 |
-
$buffer = str_replace('content="
|
77 |
-
$buffer = str_replace('content=\'http://' . $_SERVER['HTTP_HOST'], 'content=\'
|
78 |
-
$buffer = str_replace('content="http://' . $_SERVER['HTTP_HOST'], 'content="
|
79 |
// url
|
80 |
$buffer = str_replace('url(\'https://' . $_SERVER['HTTP_HOST'], 'url(\'//' . $_SERVER['HTTP_HOST'], $buffer);
|
81 |
$buffer = str_replace('url("https://' . $_SERVER['HTTP_HOST'], 'url("//' . $_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
|
7 |
* Author: Marius Bolik (CONDACORE)
|
8 |
* Author URI: https://condacore.com/
|
9 |
* License: GPLv3
|
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);
|
77 |
+
$buffer = str_replace('content=\'http://' . $_SERVER['HTTP_HOST'], 'content=\'https://' . $_SERVER['HTTP_HOST'], $buffer);
|
78 |
+
$buffer = str_replace('content="http://' . $_SERVER['HTTP_HOST'], 'content="https://' . $_SERVER['HTTP_HOST'], $buffer);
|
79 |
// url
|
80 |
$buffer = str_replace('url(\'https://' . $_SERVER['HTTP_HOST'], 'url(\'//' . $_SERVER['HTTP_HOST'], $buffer);
|
81 |
$buffer = str_replace('url("https://' . $_SERVER['HTTP_HOST'], 'url("//' . $_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.
|
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.2 (12/11/16) =
|
70 |
* Added support for Google (Fonts, Ajax, Maps etc.)
|
71 |
* Compatibility for Wordpress 4.7
|
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 |
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) =
|
72 |
* Added support for Google (Fonts, Ajax, Maps etc.)
|
73 |
* Compatibility for Wordpress 4.7
|