Mixed contend (http vs. https)
-
If you (like my client) has problem with mixed content on your https website, you can use my fork of the plugin: https://github.com/HeikoMamerow/wetterinfo-fork
…or just replace this:
echo '<div id="wetterinfo_data"> </div> <script language="javascript" src="https://wiga.t-online.de/wetter/webgadgetWordpress/getWetterinfoTemplate.php?uni='.$code_uni.'"></script>';
…with this:
$wetter_data = file_get_contents( 'https://wiga.t-online.de/wetter/webgadgetWordpress/getWetterinfoTemplate.php?uni=' . $code_uni ); $wetter_data = str_replace( 'http:', 'https:', $wetter_data ); echo '<div id="wetterinfo_data"> </div>'; echo "\n <script>"; echo "\n\t" $wetter_data; echo "\n </script>\n";
- The topic ‘Mixed contend (http vs. https)’ is closed to new replies.