Plugin Directory

Changeset 1807937


Ignore:
Timestamp:
01/23/2018 03:06:59 PM (7 years ago)
Author:
StatCounter
Message:

Revert to 2.0.2

Location:
official-statcounter-plugin-for-wordpress/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • official-statcounter-plugin-for-wordpress/trunk/StatCounter-Wordpress-Plugin.php

    r1807780 r1807937  
    22/*
    33 * Plugin Name: Official StatCounter Plugin
    4  * Version: 2.0.3
     4 * Version: 2.0.2
    55 * Plugin URI: http://statcounter.com/
    66 * Description: Adds the StatCounter tracking code to your blog. <br>To get setup: 1) Activate this plugin  2) Enter your StatCounter Project ID and Security Code in the <a href="options-general.php?page=StatCounter-Wordpress-Plugin.php"><strong>options page</strong></a>.
     
    241241        "https://secure." : "http://www.");
    242242    //-->
    243 
    244 <?php
    245 if($sc_invisible!=1) {
    246     echo "\ndocument.write(\"<sc\"+\"ript src='\" +scJsHost +\"statcounter.com/counter/counter.js'></\"+\"script>\");";
    247 }
    248 ?>
    249 
     243document.write("<sc"+"ript src='" +scJsHost +"statcounter.com/counter/counter.js'></"+"script>");
    250244</script>
    251 
    252 <?php
    253 if($sc_invisible==1) {
    254 
    255     if($protocol == "http:") {
    256         echo "\n<script type=\"text/javascript\"
    257                 src=\"http://www.statcounter.com/counter/counter.js\"
    258                 async></script>";
    259     } else if ($protocol == "https:"){
    260         echo "\n<script type=\"text/javascript\"
    261                 src=\"https://secure.statcounter.com/counter/counter.js\"
    262                 async></script>";
    263     }
    264 }?>
    265 
    266245<noscript><div class="statcounter"><a title="web analytics" href="<?php echo $protocol; ?>//statcounter.com/"><img class="statcounter" src="<?php echo $protocol; ?>//c.statcounter.com/<?php echo $sc_project; ?>/0/<?php echo $sc_security; ?>/<?php echo $sc_invisible; ?>/" alt="web analytics" /></a></div></noscript>   
    267246    <!-- End of StatCounter Code -->
  • official-statcounter-plugin-for-wordpress/trunk/readme.txt

    r1807780 r1807937  
    33Donate link: http://statcounter.com/
    44Tags: web, statistics, stats, hit, counter, visitor, ip, tracker, analytics
    5 Requires at least: 2.0.3
     5Requires at least: 2.0.2
    66Tested up to: 4.9.1
    7 Stable tag: 2.0.3
     7Stable tag: 2.0.2
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    7070
    7171== Changelog ==
    72 = 2.0.3 =
    73 Async Javascript support
    74 
    7572= 2.0.2 =
    7673Compatibility enhancements
Note: See TracChangeset for help on using the changeset viewer.