Version Description
- Made sure there's no spaces in the Site ID when displaying it, should solve blank Dashboard Stats Page issue.
Download this release
Release Info
Developer | joostdevalk |
Plugin | Clicky by Yoast |
Version | 1.0.4 |
Comparing to | |
See all releases |
Code changes from version 1.0.3 to 1.0.4
- clicky.php +5 -5
- readme.txt +4 -1
clicky.php
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?php
|
2 |
/*
|
3 |
Plugin Name: Clicky for WordPress
|
4 |
-
Version: 1.0.
|
5 |
Plugin URI: http://getclicky.com/goodies/#wordpress
|
6 |
Description: Integrates Clicky on your blog!
|
7 |
Author: Joost de Valk
|
@@ -127,7 +127,7 @@ if ( ! class_exists( 'Clicky_Admin' ) ) {
|
|
127 |
$options = get_option('clicky');
|
128 |
?>
|
129 |
<br/>
|
130 |
-
<iframe style="margin-left: 20px; width: 850px; height: 1000px;" src="http://getclicky.com/stats/wp-iframe?site_id=<?php echo $options['site_id']; ?>&sitekey=<?php echo $options['site_key']; ?>"></iframe>
|
131 |
<?php
|
132 |
}
|
133 |
|
@@ -401,7 +401,7 @@ function clicky_script() {
|
|
401 |
$clicky_goal = get_post_meta($post->ID,'_clicky_goal',true);
|
402 |
if (isset($clicky_goal)) {
|
403 |
echo '<script type="text/javascript">';
|
404 |
-
echo 'var clicky_goal = { id: "'
|
405 |
if (isset($clicky_goal['value']) && !empty($clicky_goal['value']))
|
406 |
echo ', revenue: "'.$clicky_goal['value'].'"';
|
407 |
echo ' };';
|
@@ -412,8 +412,8 @@ function clicky_script() {
|
|
412 |
// Display the script
|
413 |
?>
|
414 |
<script src="http://static.getclicky.com/js" type="text/javascript"></script>
|
415 |
-
<script type="text/javascript">clicky.init(<?php echo $options['site_id']; ?>);</script>
|
416 |
-
<noscript><p><img alt="Clicky" width="1" height="1" src="http://static.getclicky.com/<?php echo $options['site_id']; ?>ns.gif" /></p></noscript>
|
417 |
<!-- End Clicky Tracking -->
|
418 |
<?php
|
419 |
}
|
1 |
<?php
|
2 |
/*
|
3 |
Plugin Name: Clicky for WordPress
|
4 |
+
Version: 1.0.4
|
5 |
Plugin URI: http://getclicky.com/goodies/#wordpress
|
6 |
Description: Integrates Clicky on your blog!
|
7 |
Author: Joost de Valk
|
127 |
$options = get_option('clicky');
|
128 |
?>
|
129 |
<br/>
|
130 |
+
<iframe style="margin-left: 20px; width: 850px; height: 1000px;" src="http://getclicky.com/stats/wp-iframe?site_id=<?php echo trim($options['site_id']); ?>&sitekey=<?php echo $options['site_key']; ?>"></iframe>
|
131 |
<?php
|
132 |
}
|
133 |
|
401 |
$clicky_goal = get_post_meta($post->ID,'_clicky_goal',true);
|
402 |
if (isset($clicky_goal)) {
|
403 |
echo '<script type="text/javascript">';
|
404 |
+
echo 'var clicky_goal = { id: "'.trim($clicky_goal['id']).'"';
|
405 |
if (isset($clicky_goal['value']) && !empty($clicky_goal['value']))
|
406 |
echo ', revenue: "'.$clicky_goal['value'].'"';
|
407 |
echo ' };';
|
412 |
// Display the script
|
413 |
?>
|
414 |
<script src="http://static.getclicky.com/js" type="text/javascript"></script>
|
415 |
+
<script type="text/javascript">clicky.init(<?php echo trim($options['site_id']); ?>);</script>
|
416 |
+
<noscript><p><img alt="Clicky" width="1" height="1" src="http://static.getclicky.com/<?php echo trim($options['site_id']); ?>ns.gif" /></p></noscript>
|
417 |
<!-- End Clicky Tracking -->
|
418 |
<?php
|
419 |
}
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: http://yoast.com/
|
|
4 |
Tags: analytics, statistics, clicky
|
5 |
Requires at least: 2.8
|
6 |
Tested up to: 2.9
|
7 |
-
Stable tag: 1.0.
|
8 |
|
9 |
Integrates the Clicky web analytics service and optionally the Clicky.me short URL service into your blog.
|
10 |
|
@@ -33,6 +33,9 @@ Integrates the Clicky web analytics service and optionally the Clicky.me short U
|
|
33 |
|
34 |
== Changelog ==
|
35 |
|
|
|
|
|
|
|
36 |
= 1.0.3 =
|
37 |
* Made all strings localizable (is that even a word).
|
38 |
* Added .pot file to allow localization.
|
4 |
Tags: analytics, statistics, clicky
|
5 |
Requires at least: 2.8
|
6 |
Tested up to: 2.9
|
7 |
+
Stable tag: 1.0.4
|
8 |
|
9 |
Integrates the Clicky web analytics service and optionally the Clicky.me short URL service into your blog.
|
10 |
|
33 |
|
34 |
== Changelog ==
|
35 |
|
36 |
+
= 1.0.4 =
|
37 |
+
* Made sure there's no spaces in the Site ID when displaying it, should solve blank Dashboard Stats Page issue.
|
38 |
+
|
39 |
= 1.0.3 =
|
40 |
* Made all strings localizable (is that even a word).
|
41 |
* Added .pot file to allow localization.
|