Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

add taxaonomy children flush when term removed

  • Loading branch information...
commit ccb540c2dbd26645ddb972d1b275fb1643266f28 1 parent 254318e
@mospaw mospaw authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  cf-tax-post-binding.php
View
3  cf-tax-post-binding.php
@@ -4,7 +4,7 @@
* Plugin URI: http://crowdfavorite.com
* Description: Provides extended functionality for taxonomies such as post meta and featured image
* through creating a custom post type.
- * Version: 1.1.2
+ * Version: 1.1.3
* Author: Crowd Favorite
* Author URI: http://crowdfavorite.com
*/
@@ -476,6 +476,7 @@ public static function on_delete_term($term_id, $tt_id, $taxonomy) {
}
else {
wp_delete_post($post->ID, true);
+ delete_option($taxonomy.'_children');
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.