Clicky by Yoast - Version 1.4.1.2

Version Description

  • Fixed divide by zero on site with empty stats.
  • Removed a no longer used hook.
Download this release

Release Info

Developer joostdevalk
Plugin Icon 128x128 Clicky by Yoast
Version 1.4.1.2
Comparing to
See all releases

Code changes from version 1.4.1.1 to 1.4.1.2

Files changed (2) hide show
  1. clicky.php +3 -2
  2. readme.txt +6 -1
clicky.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  Plugin Name: Clicky for WordPress
4
- Version: 1.4.1.1
5
  Plugin URI: http://getclicky.com/goodies/#wordpress
6
  Description: Integrates Clicky on your blog!
7
  Author: Joost de Valk
@@ -63,7 +63,6 @@ if ( ! class_exists( 'Clicky_Admin' ) ) {
63
  add_action( 'admin_menu', array( &$this, 'register_dashboard_page' ) );
64
 
65
  add_filter( 'plugin_action_links', array( &$this, 'add_action_link' ), 10, 2 );
66
- add_filter( 'ozh_adminmenu_icon', array( &$this, 'add_ozh_adminmenu_icon' ) );
67
 
68
  add_action( 'admin_print_styles', array( &$this,'config_page_styles' ) );
69
 
@@ -315,6 +314,8 @@ if ( ! class_exists( 'Clicky_Admin' ) ) {
315
 
316
  # ------- Max value is required to adjust the scale -------
317
  $max_value=max($values);
 
 
318
  $ratio= $graph_height/$max_value;
319
 
320
 
1
  <?php
2
  /*
3
  Plugin Name: Clicky for WordPress
4
+ Version: 1.4.1.2
5
  Plugin URI: http://getclicky.com/goodies/#wordpress
6
  Description: Integrates Clicky on your blog!
7
  Author: Joost de Valk
63
  add_action( 'admin_menu', array( &$this, 'register_dashboard_page' ) );
64
 
65
  add_filter( 'plugin_action_links', array( &$this, 'add_action_link' ), 10, 2 );
 
66
 
67
  add_action( 'admin_print_styles', array( &$this,'config_page_styles' ) );
68
 
314
 
315
  # ------- Max value is required to adjust the scale -------
316
  $max_value=max($values);
317
+ if ($max_value == 0)
318
+ $max_value = 1;
319
  $ratio= $graph_height/$max_value;
320
 
321
 
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://yoast.com/donate/
4
  Tags: analytics, statistics, clicky, getclicky, affiliate, outbound links, analysis, Joost de Valk, Yoast
5
  Requires at least: 2.8
6
  Tested up to: 3.3
7
- Stable tag: 1.4.1.1
8
 
9
  Integrates the Clicky (from getClicky.com) web analytics service into your blog.
10
 
@@ -38,6 +38,11 @@ Read the authors [review of Clicky Analytics](http://yoast.com/clicky-analytics-
38
 
39
  == Changelog ==
40
 
 
 
 
 
 
41
  = 1.4.1.1 =
42
 
43
  * Removed a ) too much. I suck at coding, sometimes.
4
  Tags: analytics, statistics, clicky, getclicky, affiliate, outbound links, analysis, Joost de Valk, Yoast
5
  Requires at least: 2.8
6
  Tested up to: 3.3
7
+ Stable tag: 1.4.1.2
8
 
9
  Integrates the Clicky (from getClicky.com) web analytics service into your blog.
10
 
38
 
39
  == Changelog ==
40
 
41
+ = 1.4.1.2 =
42
+
43
+ * Fixed divide by zero on site with empty stats.
44
+ * Removed a no longer used hook.
45
+
46
  = 1.4.1.1 =
47
 
48
  * Removed a ) too much. I suck at coding, sometimes.