Version Description
Download this release
Release Info
Developer | petervanderdoes |
Plugin | AVH Extended Categories Widgets |
Version | 3.6.1 |
Comparing to | |
See all releases |
Code changes from version 3.6 to 3.6.1
- 2.8/class/avh-ec.core.php +1 -1
- 2.8/class/avh-ec.widgets.php +4 -4
- 3.3/class/avh-ec.core.php +1 -1
- 3.3/class/avh-ec.widgets.php +7 -7
- readme.txt +5 -1
- widget-pre2.8.php +1 -1
- widget_extended_categories.php +2 -2
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.6';
|
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.6.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';
|
2.8/class/avh-ec.widgets.php
CHANGED
@@ -304,9 +304,9 @@ class WP_Widget_AVH_ExtendedCategories_Normal extends WP_Widget
|
|
304 |
}
|
305 |
|
306 |
// Put checked cats on top
|
307 |
-
echo
|
308 |
// Then the rest of them
|
309 |
-
echo
|
310 |
}
|
311 |
}
|
312 |
|
@@ -857,9 +857,9 @@ class WP_Widget_AVH_ExtendedCategories_Category_Group extends WP_Widget
|
|
857 |
}
|
858 |
|
859 |
// Put checked cats on top
|
860 |
-
echo $walker->walk($checked_categories, 0, $args);
|
861 |
// Then the rest of them
|
862 |
-
echo $walker->walk($categories, 0, $args);
|
863 |
}
|
864 |
|
865 |
function getWidgetDoneCatGroup ($id)
|
304 |
}
|
305 |
|
306 |
// Put checked cats on top
|
307 |
+
echo $walker->walk($checked_categories, 0, array ( $args ));
|
308 |
// Then the rest of them
|
309 |
+
echo $walker->walk($categories, 0, array ( $args ));
|
310 |
}
|
311 |
}
|
312 |
|
857 |
}
|
858 |
|
859 |
// Put checked cats on top
|
860 |
+
echo $walker->walk($checked_categories, 0, array ( $args ));
|
861 |
// Then the rest of them
|
862 |
+
echo $walker->walk($categories, 0, array ( $args ));
|
863 |
}
|
864 |
|
865 |
function getWidgetDoneCatGroup ($id)
|
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.6';
|
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.6.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';
|
3.3/class/avh-ec.widgets.php
CHANGED
@@ -217,7 +217,7 @@ class WP_Widget_AVH_ExtendedCategories_Normal extends WP_Widget
|
|
217 |
$options['name'] = __('Name', 'avh-ec');
|
218 |
$options['count'] = __('Count', 'avh-ec');
|
219 |
$options['slug'] = __('Slug', 'avh-ec');
|
220 |
-
$options['avhec_manualorder'] = 'AVH EC '.__('Manual Order', 'avh-ec');
|
221 |
if (is_plugin_active('my-category-order/mycategoryorder.php')) {
|
222 |
$options['avhec_3rdparty_mycategoryorder'] = 'My Category Order';
|
223 |
}
|
@@ -305,9 +305,9 @@ class WP_Widget_AVH_ExtendedCategories_Normal extends WP_Widget
|
|
305 |
}
|
306 |
|
307 |
// Put checked cats on top
|
308 |
-
echo
|
309 |
// Then the rest of them
|
310 |
-
echo
|
311 |
}
|
312 |
}
|
313 |
|
@@ -332,7 +332,7 @@ class WP_Widget_AVH_ExtendedCategories_Top extends WP_Widget
|
|
332 |
$this->core = & AVH_EC_Singleton::getInstance('AVH_EC_Core');
|
333 |
|
334 |
$widget_ops = array ( 'description' => __("Shows the top categories.", 'avh-ec') );
|
335 |
-
WP_Widget::__construct(FALSE, 'AVH Extended Categories: '.__('Top Categories'), $widget_ops);
|
336 |
add_action('wp_print_styles', array ( &$this, 'actionWpPrintStyles' ));
|
337 |
|
338 |
}
|
@@ -541,7 +541,7 @@ class WP_Widget_AVH_ExtendedCategories_Category_Group extends WP_Widget
|
|
541 |
$this->catgrp = & AVH_EC_Singleton::getInstance('AVH_EC_Category_Group');
|
542 |
|
543 |
$widget_ops = array ( 'description' => __("Shows grouped categories.", 'avh-ec') );
|
544 |
-
WP_Widget::__construct(FALSE,'AVH Extended Categories: '. __('Category Group'), $widget_ops);
|
545 |
add_action('wp_print_styles', array ( &$this, 'actionWpPrintStyles' ));
|
546 |
|
547 |
}
|
@@ -858,9 +858,9 @@ class WP_Widget_AVH_ExtendedCategories_Category_Group extends WP_Widget
|
|
858 |
}
|
859 |
|
860 |
// Put checked cats on top
|
861 |
-
echo $walker->walk($checked_categories, 0, $args);
|
862 |
// Then the rest of them
|
863 |
-
echo $walker->walk($categories, 0, $args);
|
864 |
}
|
865 |
|
866 |
function getWidgetDoneCatGroup ($id)
|
217 |
$options['name'] = __('Name', 'avh-ec');
|
218 |
$options['count'] = __('Count', 'avh-ec');
|
219 |
$options['slug'] = __('Slug', 'avh-ec');
|
220 |
+
$options['avhec_manualorder'] = 'AVH EC ' . __('Manual Order', 'avh-ec');
|
221 |
if (is_plugin_active('my-category-order/mycategoryorder.php')) {
|
222 |
$options['avhec_3rdparty_mycategoryorder'] = 'My Category Order';
|
223 |
}
|
305 |
}
|
306 |
|
307 |
// Put checked cats on top
|
308 |
+
echo $walker->walk($checked_categories, 0, array ( $args ));
|
309 |
// Then the rest of them
|
310 |
+
echo $walker->walk($categories, 0, array ( $args ));
|
311 |
}
|
312 |
}
|
313 |
|
332 |
$this->core = & AVH_EC_Singleton::getInstance('AVH_EC_Core');
|
333 |
|
334 |
$widget_ops = array ( 'description' => __("Shows the top categories.", 'avh-ec') );
|
335 |
+
WP_Widget::__construct(FALSE, 'AVH Extended Categories: ' . __('Top Categories'), $widget_ops);
|
336 |
add_action('wp_print_styles', array ( &$this, 'actionWpPrintStyles' ));
|
337 |
|
338 |
}
|
541 |
$this->catgrp = & AVH_EC_Singleton::getInstance('AVH_EC_Category_Group');
|
542 |
|
543 |
$widget_ops = array ( 'description' => __("Shows grouped categories.", 'avh-ec') );
|
544 |
+
WP_Widget::__construct(FALSE, 'AVH Extended Categories: ' . __('Category Group'), $widget_ops);
|
545 |
add_action('wp_print_styles', array ( &$this, 'actionWpPrintStyles' ));
|
546 |
|
547 |
}
|
858 |
}
|
859 |
|
860 |
// Put checked cats on top
|
861 |
+
echo $walker->walk($checked_categories, 0, array ( $args ));
|
862 |
// Then the rest of them
|
863 |
+
echo $walker->walk($categories, 0, array ( $args ));
|
864 |
}
|
865 |
|
866 |
function getWidgetDoneCatGroup ($id)
|
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.3
|
7 |
-
Stable tag: 3.6
|
8 |
|
9 |
The AVH Extended Categories Widgets gives you three widgets for displaying categories.
|
10 |
== Description ==
|
@@ -134,6 +134,10 @@ Whether Widget 2 shows Movie or Music depends on the creation order of groups. I
|
|
134 |
None
|
135 |
|
136 |
== Changelog ==
|
|
|
|
|
|
|
|
|
137 |
= Version 3.6 =
|
138 |
* Adds Manual Order option. No need for 3rd party plugin anymore. This only works in WordPress 3.3.x
|
139 |
* Speed up the creation of the categories checklist in the widgets.
|
4 |
Tags: extended, categories, widget, top categories
|
5 |
Requires at least: 2.3
|
6 |
Tested up to: 3.3
|
7 |
+
Stable tag: 3.6.1
|
8 |
|
9 |
The AVH Extended Categories Widgets gives you three widgets for displaying categories.
|
10 |
== Description ==
|
134 |
None
|
135 |
|
136 |
== Changelog ==
|
137 |
+
= Version 3.6.1 =
|
138 |
+
* Bugfix: Problem with a flat display of categories.
|
139 |
+
* Bugfix: Problem loading the plugin on WordPress 3.2.x
|
140 |
+
|
141 |
= Version 3.6 =
|
142 |
* Adds Manual Order option. No need for 3rd party plugin anymore. This only works in WordPress 3.3.x
|
143 |
* Speed up the creation of the categories checklist in the widgets.
|
widget-pre2.8.php
CHANGED
@@ -9,7 +9,7 @@ function widget_extended_categories_init ()
|
|
9 |
|
10 |
function widget_extended_categories ($args, $number = 1)
|
11 |
{
|
12 |
-
$version = '3.6';
|
13 |
// Check for version
|
14 |
require (ABSPATH . WPINC . '/version.php');
|
15 |
if (version_compare($wp_version, '2.5.1', '<')) {
|
9 |
|
10 |
function widget_extended_categories ($args, $number = 1)
|
11 |
{
|
12 |
+
$version = '3.6.1';
|
13 |
// Check for version
|
14 |
require (ABSPATH . WPINC . '/version.php');
|
15 |
if (version_compare($wp_version, '2.5.1', '<')) {
|
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.6
|
7 |
Author: Peter van der Does
|
8 |
Author URI: http://blog.avirtualhome.com/
|
9 |
|
@@ -39,7 +39,7 @@ if ($_avhec_version >= 2.8) {
|
|
39 |
require_once ($_avhec_abs_dir . '/libs/avh-db.php');
|
40 |
|
41 |
switch ($_avhec_version) {
|
42 |
-
case ($_avhec_version >= 2.8 && $_avhec_version < 3.
|
43 |
$_avhec_version_dir = '/2.8';
|
44 |
break;
|
45 |
case ($_avhec_version >= 3.3):
|
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.6.1
|
7 |
Author: Peter van der Does
|
8 |
Author URI: http://blog.avirtualhome.com/
|
9 |
|
39 |
require_once ($_avhec_abs_dir . '/libs/avh-db.php');
|
40 |
|
41 |
switch ($_avhec_version) {
|
42 |
+
case ($_avhec_version >= 2.8 && $_avhec_version < 3.3):
|
43 |
$_avhec_version_dir = '/2.8';
|
44 |
break;
|
45 |
case ($_avhec_version >= 3.3):
|