AVH Extended Categories Widgets - Version 2.0.3

Version Description

Download this release

Release Info

Developer petervanderdoes
Plugin Icon wp plugin AVH Extended Categories Widgets
Version 2.0.3
Comparing to
See all releases

Code changes from version 2.0.2 to 2.0.3

2.8/class/avh-ec.core.php CHANGED
@@ -10,7 +10,7 @@ class AVHExtendedCategoriesCore
10
  */
11
  function __construct ()
12
  {
13
- $this->version = '2.0.2';
14
  $this->comment = '<!-- AVH Extended Categories version ' . $this->version . ' | http://blog.avirtualhome.com/wordpress-plugins/ -->';
15
  }
16
 
10
  */
11
  function __construct ()
12
  {
13
+ $this->version = '2.0.3';
14
  $this->comment = '<!-- AVH Extended Categories version ' . $this->version . ' | http://blog.avirtualhome.com/wordpress-plugins/ -->';
15
  }
16
 
2.8/class/avh-ec.widgets.php CHANGED
@@ -42,7 +42,7 @@ class WP_Widget_AVH_ExtendedCategories_Normal extends WP_Widget
42
 
43
  $c = $instance['count'] ? '1' : '0';
44
  $h = $instance['hierarchical'] ? '1' : '0';
45
- $d = $instance['depth'] ? $instance['depth'] : - 1;
46
  $e = $instance['hide_empty'] ? '1' : '0';
47
  $s = $instance['sort_column'] ? $instance['sort_column'] : 'name';
48
  $o = $instance['sort_order'] ? $instance['sort_order'] : 'asc';
@@ -57,7 +57,7 @@ class WP_Widget_AVH_ExtendedCategories_Normal extends WP_Widget
57
  }
58
  }
59
  if ( empty( $d ) ) {
60
- $d = - 1;
61
  }
62
 
63
  $title = apply_filters( 'widget_title', empty( $instance['title'] ) ? __( 'Categories' ) : $instance['title'] );
42
 
43
  $c = $instance['count'] ? '1' : '0';
44
  $h = $instance['hierarchical'] ? '1' : '0';
45
+ $d = $instance['depth'] ? $instance['depth'] : 0;
46
  $e = $instance['hide_empty'] ? '1' : '0';
47
  $s = $instance['sort_column'] ? $instance['sort_column'] : 'name';
48
  $o = $instance['sort_order'] ? $instance['sort_order'] : 'asc';
57
  }
58
  }
59
  if ( empty( $d ) ) {
60
+ $d = 0;
61
  }
62
 
63
  $title = apply_filters( 'widget_title', empty( $instance['title'] ) ? __( 'Categories' ) : $instance['title'] );
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://blog.avirtualhome.com/wordpress-plugins/
4
  Tags: extended, categories, widget, top categories
5
  Requires at least: 2.3
6
  Tested up to: 2.8
7
- Stable tag: 2.0.2
8
 
9
  The AVH Extended Categories Widget gives you two widgets for displaying categories. One is a replacement of the default category widget to allow for greater customization. The second is a Top Categories widget.
10
 
@@ -65,9 +65,11 @@ You select to display all categories, select to Show hierarchy and select how ma
65
  == Screenshots ==
66
  None
67
 
68
-
69
  == Changelog ==
70
 
 
 
 
71
  = Version 2.0.2 =
72
  * Top categories widget caused error in PHP4.
73
 
4
  Tags: extended, categories, widget, top categories
5
  Requires at least: 2.3
6
  Tested up to: 2.8
7
+ Stable tag: 2.0.3
8
 
9
  The AVH Extended Categories Widget gives you two widgets for displaying categories. One is a replacement of the default category widget to allow for greater customization. The second is a Top Categories widget.
10
 
65
  == Screenshots ==
66
  None
67
 
 
68
  == Changelog ==
69
 
70
+ = Version 2.0.3 =
71
+ * Bugfix: When selecting hierarchy and showing of all levels, the hierarchy wouldn't be shown.
72
+
73
  = Version 2.0.2 =
74
  * Top categories widget caused error in PHP4.
75
 
widget-pre2.8.php CHANGED
@@ -7,7 +7,7 @@ function widget_extended_categories_init() {
7
  }
8
 
9
  function widget_extended_categories($args, $number = 1) {
10
- $version = '2.0.2';
11
  // Check for version
12
  require (ABSPATH . WPINC . '/version.php');
13
  if ( version_compare($wp_version, '2.5.1', '<') ) {
7
  }
8
 
9
  function widget_extended_categories($args, $number = 1) {
10
+ $version = '2.0.3';
11
  // Check for version
12
  require (ABSPATH . WPINC . '/version.php');
13
  if ( version_compare($wp_version, '2.5.1', '<') ) {
widget_extended_categories.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Extended Category Widget
4
  Plugin URI: http://blog.avirtualhome.com/wordpress-plugins
5
  Description: Replacement of the category widget to allow for greater customization of the category widget.
6
- Version: 2.0.2
7
  Author: Peter van der Does
8
  Author URI: http://blog.avirtualhome.com/
9
 
3
  Plugin Name: Extended Category Widget
4
  Plugin URI: http://blog.avirtualhome.com/wordpress-plugins
5
  Description: Replacement of the category widget to allow for greater customization of the category widget.
6
+ Version: 2.0.3
7
  Author: Peter van der Does
8
  Author URI: http://blog.avirtualhome.com/
9