Permalink
Browse files

Change http flattr urls to https

The javascript was referencing http which can't be loaded when WordPress is being delivered over https.
  • Loading branch information...
stedaniels committed Oct 25, 2016
1 parent 4f98470 commit f5ea3e88094674a7af36d415a7188518e5d948a9
Showing with 2 additions and 2 deletions.
  1. +2 −2 feedwordpresssyndicationpage.class.php
@@ -701,7 +701,7 @@ function bleg_box ($page, $box = NULL) {
var s = document.createElement('script'), t = document.getElementsByTagName('script')[0];
s.type = 'text/javascript';
s.async = true;
- s.src = 'http://api.flattr.com/js/0.6/load.js?mode=auto';
+ s.src = 'https://api.flattr.com/js/0.6/load.js?mode=auto';
t.parentNode.insertBefore(s, t);
})();
/* ]]> */</script>
@@ -723,7 +723,7 @@ function bleg_box ($page, $box = NULL) {
<div style="display: inline-block; vertical-align: middle; ">
<a class="FlattrButton" style="display:none;" href="http://feedwordpress.radgeek.com/"></a>
<noscript>
-<a href="http://flattr.com/thing/1380856/FeedWordPress" target="_blank"><img src="http://api.flattr.com/button/flattr-badge-large.png" alt="Flattr this" title="Flattr this" border="0" /></a>
+<a href="https://flattr.com/thing/1380856/FeedWordPress" target="_blank"><img src="https://api.flattr.com/button/flattr-badge-large.png" alt="Flattr this" title="Flattr this" border="0" /></a>
</noscript>
<div>via Flattr</div>

0 comments on commit f5ea3e8

Please sign in to comment.