• leanderbraunschweig

    (@leanderbraunschweig)


    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);
    		})();
    	</script>
    	*/ ?>

    http://wordpress.org/extend/plugins/wordpress-social-ring/

  • The topic ‘Unnecessary Javascript – Pinterest & StumbleUpon called but not in use’ is closed to new replies.