AVH Extended Categories Widgets - Version 3.9.3

Version Description

Download this release

Release Info

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

Code changes from version 3.9.1 to 3.9.3

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.9.1';
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.9.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';
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.9.1';
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.9.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';
3.6/class/avh-ec.category-group.php CHANGED
@@ -120,7 +120,11 @@ class AVH_EC_Category_Group
120
  }
121
  if (false === $this->getTermIDBy('slug', 'all')) {
122
  $all_group_id = wp_insert_term('All', $this->taxonomy_name, array('description' => __('Holds all the categories.', 'avh-ec')));
123
- $this->setWidgetTitleForGroup($all_group_id['term_id'], '');
 
 
 
 
124
  }
125
 
126
  $options = get_option($this->db_options_widget_titles);
120
  }
121
  if (false === $this->getTermIDBy('slug', 'all')) {
122
  $all_group_id = wp_insert_term('All', $this->taxonomy_name, array('description' => __('Holds all the categories.', 'avh-ec')));
123
+ if (! is_wp_error($all_group_id)) {
124
+ $this->setWidgetTitleForGroup($all_group_id['term_id'], '');
125
+ } else {
126
+ trigger_error($all_group_id->get_error_message(), E_USER_NOTICE);
127
+ }
128
  }
129
 
130
  $options = get_option($this->db_options_widget_titles);
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.9.1';
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.9.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';
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.8
7
- Stable tag: 3.9.1
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.9.1 =
143
  * When the category group home is deleted there are MySQL errors.
144
 
4
  Tags: extended, categories, widget, top categories
5
  Requires at least: 2.3
6
  Tested up to: 3.8
7
+ Stable tag: 3.9.3
8
 
9
  The AVH Extended Categories Widgets gives you three widgets for displaying categories.
10
  == Description ==
139
  None
140
 
141
  == Changelog ==
142
+ = Version 3.9.3 =
143
+ * Log errors as E_USER_NOTICE when creating category groups.
144
+
145
  = Version 3.9.1 =
146
  * When the category group home is deleted there are MySQL errors.
147
 
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.9.1
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.9.3
7
  * Author: Peter van der Does
8
  * Author URI: http://blog.avirtualhome.com/
9
  *