Version Description
Removed unnecessary type attribute from script element
Download this release
Release Info
Developer | StatCounter |
Plugin | StatCounter – Free Real Time Visitor Stats |
Version | 1.7.1 |
Comparing to | |
See all releases |
Code changes from version 1.7 to 1.7.1
- StatCounter-Wordpress-Plugin.php +3 -3
- readme.txt +6 -2
StatCounter-Wordpress-Plugin.php
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?php
|
2 |
/*
|
3 |
* Plugin Name: Official StatCounter Plugin
|
4 |
-
* Version: 1.7.
|
5 |
* Plugin URI: http://statcounter.com/
|
6 |
* 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>.
|
7 |
* Author: Aodhan Cullen
|
@@ -221,7 +221,7 @@ function add_statcounter() {
|
|
221 |
) {
|
222 |
?>
|
223 |
<!-- Start of StatCounter Code -->
|
224 |
-
<script
|
225 |
<!--
|
226 |
var sc_project=<?php echo $sc_project; ?>;
|
227 |
var sc_security="<?php echo $sc_security; ?>";
|
@@ -232,7 +232,7 @@ if($sc_invisible==1) {
|
|
232 |
var scJsHost = (("https:" == document.location.protocol) ?
|
233 |
"https://secure." : "http://www.");
|
234 |
//-->
|
235 |
-
document.write("<sc"+"ript
|
236 |
</script>
|
237 |
<noscript><div class="statcounter"><a title="web analytics" href="http://statcounter.com/"><img class="statcounter" src="http://c.statcounter.com/<?php echo $sc_project; ?>/0/<?php echo $sc_security; ?>/<?php echo $sc_invisible; ?>/" alt="web analytics" /></a></div></noscript>
|
238 |
<!-- End of StatCounter Code -->
|
1 |
<?php
|
2 |
/*
|
3 |
* Plugin Name: Official StatCounter Plugin
|
4 |
+
* Version: 1.7.1
|
5 |
* Plugin URI: http://statcounter.com/
|
6 |
* 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>.
|
7 |
* Author: Aodhan Cullen
|
221 |
) {
|
222 |
?>
|
223 |
<!-- Start of StatCounter Code -->
|
224 |
+
<script>
|
225 |
<!--
|
226 |
var sc_project=<?php echo $sc_project; ?>;
|
227 |
var sc_security="<?php echo $sc_security; ?>";
|
232 |
var scJsHost = (("https:" == document.location.protocol) ?
|
233 |
"https://secure." : "http://www.");
|
234 |
//-->
|
235 |
+
document.write("<sc"+"ript src='" +scJsHost +"statcounter.com/counter/counter.js'></"+"script>");
|
236 |
</script>
|
237 |
<noscript><div class="statcounter"><a title="web analytics" href="http://statcounter.com/"><img class="statcounter" src="http://c.statcounter.com/<?php echo $sc_project; ?>/0/<?php echo $sc_security; ?>/<?php echo $sc_invisible; ?>/" alt="web analytics" /></a></div></noscript>
|
238 |
<!-- End of StatCounter Code -->
|
readme.txt
CHANGED
@@ -3,8 +3,8 @@ Contributors: Aodhan Cullen
|
|
3 |
Donate link: http://statcounter.com/
|
4 |
Tags: web, statistics, stats, hit, counter, visitor, ip, tracker, analytics
|
5 |
Requires at least: 2.0.2
|
6 |
-
Tested up to: 4.
|
7 |
-
Stable tag: 1.7.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -70,6 +70,9 @@ To activate the StatCounter service for your WordPress site:
|
|
70 |
|
71 |
== Changelog ==
|
72 |
|
|
|
|
|
|
|
73 |
= 1.7 =
|
74 |
Updated constant definitions to be case sensitive
|
75 |
|
@@ -144,3 +147,4 @@ Bug fix to prevent user entry of whitespace characters for Project ID and Securi
|
|
144 |
|
145 |
= 1.6.2 =
|
146 |
Upgrade to allow for fully functioning PayPal upgrade options.
|
|
3 |
Donate link: http://statcounter.com/
|
4 |
Tags: web, statistics, stats, hit, counter, visitor, ip, tracker, analytics
|
5 |
Requires at least: 2.0.2
|
6 |
+
Tested up to: 4.3
|
7 |
+
Stable tag: 1.7.1
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
70 |
|
71 |
== Changelog ==
|
72 |
|
73 |
+
= 1.7.1 =
|
74 |
+
Removed unnecessary type attribute from script element
|
75 |
+
|
76 |
= 1.7 =
|
77 |
Updated constant definitions to be case sensitive
|
78 |
|
147 |
|
148 |
= 1.6.2 =
|
149 |
Upgrade to allow for fully functioning PayPal upgrade options.
|
150 |
+
|