Version Description
Release Date - 28 April 2017
- Fixed some Google API Issues
Download this release
Release Info
Developer | condacore |
Plugin | HTTP / HTTPS Remover: SSL Mixed Content Fix |
Version | 1.5.3 |
Comparing to | |
See all releases |
Code changes from version 1.5.2 to 1.5.3
- http-https-remover.php +8 -7
- readme.txt +12 -2
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 cleans all the URLs in the source code while it removes the http:// and https:// and replaces it with //
|
6 |
-
* Version: 1.5.
|
7 |
* Author: CONDACORE
|
8 |
* Author URI: https://condacore.com/
|
9 |
* License: GPLv3
|
@@ -71,12 +71,13 @@ class HTTP_HTTPS_REMOVER
|
|
71 |
|
72 |
$buffer = str_replace(array('http://'.$_SERVER['HTTP_HOST'],'https://'.$_SERVER['HTTP_HOST']), '//'.$_SERVER['HTTP_HOST'], $buffer);
|
73 |
$buffer = str_replace('content="//'.$_SERVER['HTTP_HOST'], 'content="https://'.$_SERVER['HTTP_HOST'], $buffer);
|
74 |
-
$buffer = str_replace('
|
75 |
$buffer = str_replace('"url" : "//', '"url" : "https://', $buffer);
|
76 |
-
$buffer =
|
77 |
-
$buffer = preg_replace(array('|
|
78 |
-
$buffer = preg_replace(
|
79 |
-
$buffer = preg_replace(array(
|
|
|
80 |
|
81 |
|
82 |
|
@@ -91,7 +92,7 @@ add_filter('plugin_row_meta', 'http_https_remover_extra_links', 10, 2);
|
|
91 |
|
92 |
function http_https_remover_extra_links($links, $file) {
|
93 |
if ( $file == plugin_basename(dirname(__FILE__).'/http-https-remover.php') ) {
|
94 |
-
|
95 |
$links[] = '<a href="https://twitter.com/condacore" target="_blank">' . esc_html__('Twitter', 'http-https-remover') . '</a>';
|
96 |
$links[] = '<a href="https://paypal.me/MariusBolik" target="_blank">' . esc_html__('Donate', 'http-https-remover') . '</a>';
|
97 |
}
|
3 |
* Plugin Name: HTTP / HTTPS Remover
|
4 |
* Plugin URI: https://de.wordpress.org/plugins/http-https-remover/
|
5 |
* Description: This Plugin cleans all the URLs in the source code while it removes the http:// and https:// and replaces it with //
|
6 |
+
* Version: 1.5.3
|
7 |
* Author: CONDACORE
|
8 |
* Author URI: https://condacore.com/
|
9 |
* License: GPLv3
|
71 |
|
72 |
$buffer = str_replace(array('http://'.$_SERVER['HTTP_HOST'],'https://'.$_SERVER['HTTP_HOST']), '//'.$_SERVER['HTTP_HOST'], $buffer);
|
73 |
$buffer = str_replace('content="//'.$_SERVER['HTTP_HOST'], 'content="https://'.$_SERVER['HTTP_HOST'], $buffer);
|
74 |
+
$buffer = str_replace('> //'.$_SERVER['HTTP_HOST'], '> https://'.$_SERVER['HTTP_HOST'], $buffer);
|
75 |
$buffer = str_replace('"url" : "//', '"url" : "https://', $buffer);
|
76 |
+
$buffer = str_replace('"url": "//', '"url": "https://', $buffer);
|
77 |
+
$buffer = preg_replace(array('|http://(.*?).googleapis.com|','|https://(.*?).googleapis.com|'), '//$1.googleapis.com', $buffer);
|
78 |
+
$buffer = preg_replace(array('|http://(.*?).google.com|','|https://(.*?).google.com|'), '//$1.google.com', $buffer);
|
79 |
+
$buffer = preg_replace(array('|http://(.*?).gravatar.com|','|https://(.*?).gravatar.com|'), '//$1.gravatar.com', $buffer);
|
80 |
+
$buffer = preg_replace(array('|http://(.*?).w.org|','|https://(.*?).w.org|'), '//$1.w.org', $buffer);
|
81 |
|
82 |
|
83 |
|
92 |
|
93 |
function http_https_remover_extra_links($links, $file) {
|
94 |
if ( $file == plugin_basename(dirname(__FILE__).'/http-https-remover.php') ) {
|
95 |
+
//$links[] = '<a href="https://condacore.com/portfolio/http-https-remover/#beta" target="_blank">' . esc_html__('Become a Beta Tester', 'http-https-remover') . '</a>';
|
96 |
$links[] = '<a href="https://twitter.com/condacore" target="_blank">' . esc_html__('Twitter', 'http-https-remover') . '</a>';
|
97 |
$links[] = '<a href="https://paypal.me/MariusBolik" target="_blank">' . esc_html__('Donate', 'http-https-remover') . '</a>';
|
98 |
}
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.paypal.me/MariusBolik
|
|
4 |
Tags: http, https, mixed content
|
5 |
Requires at least: 3.0.1
|
6 |
Tested up to: 4.7.4
|
7 |
-
Stable tag: 1.5.
|
8 |
License: GPLv3
|
9 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
10 |
|
@@ -25,7 +25,7 @@ Main features:
|
|
25 |
|
26 |
Links with "http://" extensions need to change to contain the “s” part of HTTP protocol (https://) pointing out to an SSL-reserved port. A more elegant way of handling different protocols is to have only slashes where port is expected "//". so that page can use the protocol used to open the page itself:
|
27 |
1. If page was loaded via http links with "//", it will be transformed to http://
|
28 |
-
|
29 |
|
30 |
Of course, this only applies to links that are loading content from your own domain, Google Fonts and other Google APIs. Your users are counting on you to protect them when they visit your website. It is important to fix your mixed content issues to protect all your visitors, including those on older browsers. And that's what this plugin does!
|
31 |
|
@@ -84,6 +84,11 @@ Change all your CDN references to load with // (this will adapt based on how the
|
|
84 |
|
85 |
== Changelog ==
|
86 |
|
|
|
|
|
|
|
|
|
|
|
87 |
= 1.5.2 =
|
88 |
*Release Date - 26 April 2017*
|
89 |
|
@@ -143,6 +148,11 @@ Change all your CDN references to load with // (this will adapt based on how the
|
|
143 |
|
144 |
== Upgrade Notice ==
|
145 |
|
|
|
|
|
|
|
|
|
|
|
146 |
= 1.5.2 =
|
147 |
*Release Date - 26 April 2017*
|
148 |
|
4 |
Tags: http, https, mixed content
|
5 |
Requires at least: 3.0.1
|
6 |
Tested up to: 4.7.4
|
7 |
+
Stable tag: 1.5.3
|
8 |
License: GPLv3
|
9 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
10 |
|
25 |
|
26 |
Links with "http://" extensions need to change to contain the “s” part of HTTP protocol (https://) pointing out to an SSL-reserved port. A more elegant way of handling different protocols is to have only slashes where port is expected "//". so that page can use the protocol used to open the page itself:
|
27 |
1. If page was loaded via http links with "//", it will be transformed to http://
|
28 |
+
1. If page was loaded via https links with "//", it will be ultimately transformed to https://
|
29 |
|
30 |
Of course, this only applies to links that are loading content from your own domain, Google Fonts and other Google APIs. Your users are counting on you to protect them when they visit your website. It is important to fix your mixed content issues to protect all your visitors, including those on older browsers. And that's what this plugin does!
|
31 |
|
84 |
|
85 |
== Changelog ==
|
86 |
|
87 |
+
= 1.5.3 =
|
88 |
+
*Release Date - 28 April 2017*
|
89 |
+
|
90 |
+
* Fixed some Google API Issues
|
91 |
+
|
92 |
= 1.5.2 =
|
93 |
*Release Date - 26 April 2017*
|
94 |
|
148 |
|
149 |
== Upgrade Notice ==
|
150 |
|
151 |
+
= 1.5.3 =
|
152 |
+
*Release Date - 28 April 2017*
|
153 |
+
|
154 |
+
* Fixed some Google API Issues
|
155 |
+
|
156 |
= 1.5.2 =
|
157 |
*Release Date - 26 April 2017*
|
158 |
|