Social Ring (Facebook Like, Google +1, ReTweet, LinkedIn and Pin It)
Unnecessary Javascript - Pinterest & StumbleUpon called but not in use (1 post)

  1. leanderbraunschweig
    Posted 3 years ago #

    Hi there!

    Nice plugin - but I do have an issue with the unnecessary Javascript calls for Pinterest & StumbleUpon with both disabled in the plugin options. Of course I can manually uncomment the corresponding lines but this could be solved easily with a conditional logic. Please consider this for the next version / update.

    Thanks & regards!

    <?php /*
        <script type="text/javascript" src="http://assets.pinterest.com/js/pinit.js"></script>
    	<script type="text/javascript">
    		(function() {
    		  var li = document.createElement('script'); li.type = 'text/javascript'; li.async = true;
    		  li.src = ('https:' == document.location.protocol ? 'https:' : 'http:') + '//platform.stumbleupon.com/1/widgets.js';
    		  var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(li, s);
    	*/ ?>


Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

  • RSS feed for this topic
  • Started 3 years ago by leanderbraunschweig
  • This topic is not resolved
  • WordPress version: 3.5.1