PluginProbe ʕ •ᴥ•ʔ
SSL Insecure Content Fixer / 2.7.1
SSL Insecure Content Fixer v2.7.1
trunk 1.0.0 1.1.0 1.2.0 1.3.0 1.4.0 1.4.1 1.5.0 1.6.0 1.7.0 1.7.1 1.8.0 2.0.0 2.1.0 2.1.1 2.1.2 2.1.3 2.1.4 2.1.5 2.1.6 2.2.0 2.2.1 2.2.2 2.2.3 2.3.0 2.4.0 2.5.0 2.6.0 2.7.0 2.7.1 2.7.2
ssl-insecure-content-fixer / views / script-force-https.php
ssl-insecure-content-fixer / views Last commit date
requires-extensions.php 8 years ago requires-pcre.php 8 years ago script-force-https.php 7 years ago settings-fields-common.php 8 years ago settings-form-network.php 9 years ago settings-form.php 9 years ago ssl-tests.php 8 years ago
script-force-https.php
12 lines
1 <?php
2 if (!defined('ABSPATH')) {
3 exit;
4 }
5 ?>
6
7 <script>
8 if (document.location.protocol != "https:") {
9 document.location = document.URL.replace(/^http:/i, "https:");
10 }
11 </script>
12