Version Description
Support https/http for wordpress admin section when viewing StatCounter stats
Download this release
Release Info
Developer | StatCounter |
Plugin | StatCounter – Free Real Time Visitor Stats |
Version | 1.6.7 |
Comparing to | |
See all releases |
Code changes from version 1.6.6 to 1.6.7
- StatCounter-Wordpress-Plugin.php +3 -3
- readme.txt +5 -2
StatCounter-Wordpress-Plugin.php
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?php
|
2 |
/*
|
3 |
* Plugin Name: Official StatCounter Plugin
|
4 |
-
* Version: 1.6.
|
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
|
@@ -50,9 +50,9 @@ function statcounter_reports_head() {
|
|
50 |
function statcounter_reports_page() {
|
51 |
$sc_project = get_option(key_sc_project);
|
52 |
if($sc_project==0) {
|
53 |
-
$sc_link = '
|
54 |
} else {
|
55 |
-
$sc_link = '
|
56 |
}
|
57 |
|
58 |
echo '<iframe id="statcounter_frame" src="'.$sc_link.'" width="100%" height="2000">
|
1 |
<?php
|
2 |
/*
|
3 |
* Plugin Name: Official StatCounter Plugin
|
4 |
+
* Version: 1.6.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
|
50 |
function statcounter_reports_page() {
|
51 |
$sc_project = get_option(key_sc_project);
|
52 |
if($sc_project==0) {
|
53 |
+
$sc_link = '//statcounter.com/';
|
54 |
} else {
|
55 |
+
$sc_link = '//statcounter.com/p'.$sc_project.'/?source=wordpress';
|
56 |
}
|
57 |
|
58 |
echo '<iframe id="statcounter_frame" src="'.$sc_link.'" width="100%" height="2000">
|
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: 3.9
|
7 |
-
Stable tag: 1.6.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -109,6 +109,9 @@ Improved UI to give error message in dashboard when no project id has been set
|
|
109 |
|
110 |
== Upgrade Notice ==
|
111 |
|
|
|
|
|
|
|
112 |
= 1.6.6 =
|
113 |
Removed deprecated function calls
|
114 |
|
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: 3.9.1
|
7 |
+
Stable tag: 1.6.7
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
109 |
|
110 |
== Upgrade Notice ==
|
111 |
|
112 |
+
= 1.6.7 =
|
113 |
+
Support https/http for wordpress admin section when viewing StatCounter stats
|
114 |
+
|
115 |
= 1.6.6 =
|
116 |
Removed deprecated function calls
|
117 |
|