AVH Extended Categories Widgets - Version 3.8.4

Version Description

Download this release

Release Info

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

Code changes from version 3.8.3 to 3.8.4

2.8/class/avh-ec.core.php CHANGED
@@ -27,7 +27,7 @@ class AVH_EC_Core
27
  */
28
  $catgrp = & AVH_EC_Singleton::getInstance('AVH_EC_Category_Group');
29
 
30
- $this->version = '3.8.3';
31
  $this->comment = '<!-- AVH Extended Categories version ' . $this->version . ' | http://blog.avirtualhome.com/wordpress-plugins/ -->';
32
  $this->db_options_core = 'avhec';
33
  $this->db_options_tax_meta = 'avhec-tax_meta';
27
  */
28
  $catgrp = & AVH_EC_Singleton::getInstance('AVH_EC_Category_Group');
29
 
30
+ $this->version = '3.8.4';
31
  $this->comment = '<!-- AVH Extended Categories version ' . $this->version . ' | http://blog.avirtualhome.com/wordpress-plugins/ -->';
32
  $this->db_options_core = 'avhec';
33
  $this->db_options_tax_meta = 'avhec-tax_meta';
3.3/class/avh-ec.core.php CHANGED
@@ -27,7 +27,7 @@ class AVH_EC_Core
27
  */
28
  $catgrp = & AVH_EC_Singleton::getInstance('AVH_EC_Category_Group');
29
 
30
- $this->version = '3.8.3';
31
  $this->comment = '<!-- AVH Extended Categories version ' . $this->version . ' | http://blog.avirtualhome.com/wordpress-plugins/ -->';
32
  $this->db_options_core = 'avhec';
33
  $this->db_options_tax_meta = 'avhec-tax_meta';
27
  */
28
  $catgrp = & AVH_EC_Singleton::getInstance('AVH_EC_Category_Group');
29
 
30
+ $this->version = '3.8.4';
31
  $this->comment = '<!-- AVH Extended Categories version ' . $this->version . ' | http://blog.avirtualhome.com/wordpress-plugins/ -->';
32
  $this->db_options_core = 'avhec';
33
  $this->db_options_tax_meta = 'avhec-tax_meta';
3.6/class/avh-ec.core.php CHANGED
@@ -34,7 +34,7 @@ class AVH_EC_Core
34
  */
35
  $catgrp = & AVH_EC_Singleton::getInstance('AVH_EC_Category_Group');
36
 
37
- $this->version = '3.8.3';
38
  $this->comment = '<!-- AVH Extended Categories version ' . $this->version . ' | http://blog.avirtualhome.com/wordpress-plugins/ -->';
39
  $this->db_options_core = 'avhec';
40
  $this->db_options_tax_meta = 'avhec-tax_meta';
34
  */
35
  $catgrp = & AVH_EC_Singleton::getInstance('AVH_EC_Category_Group');
36
 
37
+ $this->version = '3.8.4';
38
  $this->comment = '<!-- AVH Extended Categories version ' . $this->version . ' | http://blog.avirtualhome.com/wordpress-plugins/ -->';
39
  $this->db_options_core = 'avhec';
40
  $this->db_options_tax_meta = 'avhec-tax_meta';
3.6/class/avh-ec.widgets.php CHANGED
@@ -50,17 +50,17 @@ class WP_Widget_AVH_ExtendedCategories_Normal extends WP_Widget
50
  {
51
  extract($args);
52
 
53
- $selectedonly = isset($instance['selectedonly']);
54
- $c = isset($instance['count']);
55
- $h = isset($instance['hierarchical']);
56
- $d = isset($instance['depth']) ? $instance['depth'] : 0;
57
- $e = isset($instance['hide_empty']);
58
- $use_desc_for_title = isset($instance['use_desc_for_title']);
59
  $s = isset($instance['sort_column']) ? $instance['sort_column'] : 'name';
60
  $o = isset($instance['sort_order']) ? $instance['sort_order'] : 'asc';
61
- $r = isset($instance['rssfeed']) ? 'RSS' : '';
62
  $i = isset($instance['rssimage']) ? $instance['rssimage'] : '';
63
- $invert = isset($instance['invert_included']);
64
 
65
  if (empty($r)) {
66
  $i = '';
@@ -193,7 +193,7 @@ class WP_Widget_AVH_ExtendedCategories_Normal extends WP_Widget
193
  avh_doWidgetFormCheckbox($this->get_field_id('hierarchical'), $this->get_field_name('hierarchical'), __('Show hierarchy', 'avh-ec'), (bool) avhGetArrayValue($instance, 'hierarchical'));
194
 
195
  $options = array(0 => __('All Levels', 'avh-ec'), 1 => __('Toplevel only', 'avh-ec'));
196
- for ($i = 2; $i <= 11; $i ++) {
197
  $options[$i] = __('Child ', 'avh-ec') . ($i - 1);
198
  }
199
  avh_doWidgetFormSelect($this->get_field_id('depth'), $this->get_field_name('depth'), __('How many levels to show', 'avh-ec'), $options, $depth);
@@ -356,11 +356,11 @@ class WP_Widget_AVH_ExtendedCategories_Top extends WP_Widget
356
  } elseif ($a < 1) {
357
  $a = 1;
358
  }
359
- $c = isset($instance['count']);
360
- $use_desc_for_title = isset($instance['use_desc_for_title']);
361
  $s = isset($instance['sort_column']) ? $instance['sort_column'] : 'name';
362
  $o = isset($instance['sort_order']) ? $instance['sort_order'] : 'asc';
363
- $r = isset($instance['rssfeed']) ? 'RSS' : '';
364
  $i = isset($instance['rssimage']) ? $instance['rssimage'] : '';
365
  if (empty($r)) {
366
  $i = '';
50
  {
51
  extract($args);
52
 
53
+ $selectedonly = $instance['selectedonly'];
54
+ $c = $instance['count'];
55
+ $h = $instance['hierarchical'];
56
+ $d = $instance['depth'];
57
+ $e = $instance['hide_empty'];
58
+ $use_desc_for_title = $instance['use_desc_for_title'];
59
  $s = isset($instance['sort_column']) ? $instance['sort_column'] : 'name';
60
  $o = isset($instance['sort_order']) ? $instance['sort_order'] : 'asc';
61
+ $r = ($instance['rssfeed'] == true) ? 'RSS' : '';
62
  $i = isset($instance['rssimage']) ? $instance['rssimage'] : '';
63
+ $invert = $instance['invert_included'];
64
 
65
  if (empty($r)) {
66
  $i = '';
193
  avh_doWidgetFormCheckbox($this->get_field_id('hierarchical'), $this->get_field_name('hierarchical'), __('Show hierarchy', 'avh-ec'), (bool) avhGetArrayValue($instance, 'hierarchical'));
194
 
195
  $options = array(0 => __('All Levels', 'avh-ec'), 1 => __('Toplevel only', 'avh-ec'));
196
+ for ($i = 2; $i <= 11; $i++) {
197
  $options[$i] = __('Child ', 'avh-ec') . ($i - 1);
198
  }
199
  avh_doWidgetFormSelect($this->get_field_id('depth'), $this->get_field_name('depth'), __('How many levels to show', 'avh-ec'), $options, $depth);
356
  } elseif ($a < 1) {
357
  $a = 1;
358
  }
359
+ $c = $instance['count'];
360
+ $use_desc_for_title = $instance['use_desc_for_title'];
361
  $s = isset($instance['sort_column']) ? $instance['sort_column'] : 'name';
362
  $o = isset($instance['sort_order']) ? $instance['sort_order'] : 'asc';
363
+ $r = ($instance['rssfeed'] === true) ? 'RSS' : '';
364
  $i = isset($instance['rssimage']) ? $instance['rssimage'] : '';
365
  if (empty($r)) {
366
  $i = '';
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: 3.6.1
7
- Stable tag: 3.8.3
8
 
9
  The AVH Extended Categories Widgets gives you three widgets for displaying categories.
10
  == Description ==
@@ -139,6 +139,9 @@ Whether Widget 2 shows Movie or Music depends on the creation order of groups. I
139
  None
140
 
141
  == Changelog ==
 
 
 
142
  = Version 3.8.3 =
143
  * Bugfix: Widget would not keep checked categories
144
  * Bugfix: Several PHP warnings and notices are shown.
4
  Tags: extended, categories, widget, top categories
5
  Requires at least: 2.3
6
  Tested up to: 3.6.1
7
+ Stable tag: 3.8.4
8
 
9
  The AVH Extended Categories Widgets gives you three widgets for displaying categories.
10
  == Description ==
139
  None
140
 
141
  == Changelog ==
142
+ = Version 3.8.4 =
143
+ * Bugfix: Options of the widgets are not obeyed.
144
+
145
  = Version 3.8.3 =
146
  * Bugfix: Widget would not keep checked categories
147
  * Bugfix: Several PHP warnings and notices are shown.
widget_extended_categories.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: AVH Extended Categories Widgets
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: 3.8.3
7
  * Author: Peter van der Does
8
  * Author URI: http://blog.avirtualhome.com/
9
  *
3
  * Plugin Name: AVH Extended Categories Widgets
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: 3.8.4
7
  * Author: Peter van der Does
8
  * Author URI: http://blog.avirtualhome.com/
9
  *