StatCounter – Free Real Time Visitor Stats - Version 1.7

Version Description

Updated constant definitions to be case sensitive

Download this release

Release Info

Developer StatCounter
Plugin Icon StatCounter – Free Real Time Visitor Stats
Version 1.7
Comparing to
See all releases

Code changes from version 1.6.9 to 1.7

Files changed (2) hide show
  1. StatCounter-Wordpress-Plugin.php +8 -10
  2. readme.txt +5 -4
StatCounter-Wordpress-Plugin.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Plugin Name: Official StatCounter Plugin
4
- * Version: 1.6.9
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
@@ -9,16 +9,14 @@
9
  */
10
 
11
  // Defaults, etc.
12
- define("key_sc_project", "sc_project", true);
13
- define("key_sc_position", "sc_position", true);
 
14
  // legacy problem with sc_security naming
15
- define("key_sc_security", "key_sc_security", true);
16
-
17
-
18
-
19
- define("sc_project_default", "0" , true);
20
- define("sc_security_default", "" , true);
21
- define("sc_position_default", "footer", true);
22
 
23
  // Create the default key and status
24
  add_option(key_sc_project, sc_project_default);
1
  <?php
2
  /*
3
  * Plugin Name: Official StatCounter Plugin
4
+ * Version: 1.7.0
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
9
  */
10
 
11
  // Defaults, etc.
12
+ // the last 'false' should make these constants case sensitive
13
+ define("key_sc_project", "sc_project", false);
14
+ define("key_sc_position", "sc_position", false);
15
  // legacy problem with sc_security naming
16
+ define("key_sc_security", "key_sc_security", false);
17
+ define("sc_project_default", "0" , false);
18
+ define("sc_security_default", "" , false);
19
+ define("sc_position_default", "footer", false);
 
 
 
20
 
21
  // Create the default key and status
22
  add_option(key_sc_project, sc_project_default);
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.1
7
- Stable tag: 1.6.9
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.6.9 =
74
  Fixed small bug with form
75
 
@@ -141,5 +144,3 @@ Bug fix to prevent user entry of whitespace characters for Project ID and Securi
141
 
142
  = 1.6.2 =
143
  Upgrade to allow for fully functioning PayPal upgrade options.
144
-
145
-
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.1.1
7
+ Stable tag: 1.7.0
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 =
74
+ Updated constant definitions to be case sensitive
75
+
76
  = 1.6.9 =
77
  Fixed small bug with form
78
 
144
 
145
  = 1.6.2 =
146
  Upgrade to allow for fully functioning PayPal upgrade options.