wrong http url for twitter
-
I see in wp-content\plugins\w3-total-cache\inc\lightbox the following:
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');</script>this should be wrong since
http://platform.twitter.com/widgets.js
is broken url now (only https:// works)there is no problem using https:// from an http:// page, only the other way around is not allowed. So should tell lightbox guys (or fix it yourself too in there) to use https:// instead of that broken script
The topic ‘wrong http url for twitter’ is closed to new replies.