Version Description
Download this release
Release Info
Developer | petervanderdoes |
Plugin | AVH Extended Categories Widgets |
Version | 3.7.0 |
Comparing to | |
See all releases |
Code changes from version 3.6.7 to 3.7.0
- 2.8/class/avh-ec.core.php +1 -1
- 3.3/class/avh-ec.core.php +1 -1
- readme.txt +7 -1
- uninstall.php +11 -3
- widget_extended_categories.php +1 -1
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.
|
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.0-dev.2';
|
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.
|
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.0-dev.2';
|
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';
|
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.5
|
7 |
-
Stable tag: 3.
|
8 |
|
9 |
The AVH Extended Categories Widgets gives you three widgets for displaying categories.
|
10 |
== Description ==
|
@@ -135,6 +135,12 @@ Whether Widget 2 shows Movie or Music depends on the creation order of groups. I
|
|
135 |
None
|
136 |
|
137 |
== Changelog ==
|
|
|
|
|
|
|
|
|
|
|
|
|
138 |
= Version 3.6.7 =
|
139 |
* Fix error in SQL syntax
|
140 |
|
4 |
Tags: extended, categories, widget, top categories
|
5 |
Requires at least: 2.3
|
6 |
Tested up to: 3.5
|
7 |
+
Stable tag: 3.7.0
|
8 |
|
9 |
The AVH Extended Categories Widgets gives you three widgets for displaying categories.
|
10 |
== Description ==
|
135 |
None
|
136 |
|
137 |
== Changelog ==
|
138 |
+
= Version 3.8.0-dev.2 =
|
139 |
+
* Preparation for new development cycle.
|
140 |
+
|
141 |
+
= Version 3.7.0 =
|
142 |
+
* Fix uninstall
|
143 |
+
|
144 |
= Version 3.6.7 =
|
145 |
* Fix error in SQL syntax
|
146 |
|
uninstall.php
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
<?php
|
2 |
// This is an include file, all normal WordPress functions will still work.
|
3 |
-
// Because the plugin is already deactivated it won't
|
4 |
|
5 |
|
6 |
if (! defined('ABSPATH') && ! defined('WP_UNINSTALL_PLUGIN'))
|
@@ -9,6 +9,14 @@ if (! defined('ABSPATH') && ! defined('WP_UNINSTALL_PLUGIN'))
|
|
9 |
global $wpdb;
|
10 |
if ('extended-categories-widget' == dirname($file)) {
|
11 |
delete_option('avhec');
|
12 |
-
|
13 |
-
$
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
14 |
}
|
1 |
<?php
|
2 |
// This is an include file, all normal WordPress functions will still work.
|
3 |
+
// Because the plugin is already deactivated it won't recognize any class declarations.
|
4 |
|
5 |
|
6 |
if (! defined('ABSPATH') && ! defined('WP_UNINSTALL_PLUGIN'))
|
9 |
global $wpdb;
|
10 |
if ('extended-categories-widget' == dirname($file)) {
|
11 |
delete_option('avhec');
|
12 |
+
delete_option('avhec-tax_meta');
|
13 |
+
$db__used_by_plugin[] = $wpdb->prefix . 'avhec_category_groups';
|
14 |
+
foreach($db__used_by_plugin as $table) {
|
15 |
+
$wpdb->query('DROP TABLE IF EXISTS `' . $table . '`');
|
16 |
+
}
|
17 |
+
$result = $wpdb->query("ALTER TABLE $wpdb->terms DROP `avhec_term_order`");
|
18 |
+
$cat_terms = get_terms('avhec_catgroup', array('hide_empty'=>false));
|
19 |
+
foreach($cat_terms as $cat_term){
|
20 |
+
wp_delete_term($cat_term->term_id, 'avhec_catgroup');
|
21 |
+
}
|
22 |
}
|
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.
|
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.0-dev.2
|
7 |
Author: Peter van der Does
|
8 |
Author URI: http://blog.avirtualhome.com/
|
9 |
|