This plugin busted my site when I upgraded to to WP 4.4, and I was sad — until I discovered that WP 4.4 now includes support for term meta! wp-includes/taxomony.php line 1620. Now I’m happy again! So if you use this plugin, be sure to deactivate and delete it before you upgrade to WP 4.4. Cheers!
]]>I delete terms in admin panel, but in database term metas keep persistent.
]]>When deleting a term, the term meta isn’t deleted from the DB.
I solved this by adding these lines to your file. Maybe you want to add them or solve the problem in another manner:
add_action('delete_term', 'simple_post_meta_delete_term');
function simple_post_meta_delete_term($term_id) {
global $wpdb;
$wpdb->query($wpdb->prepare("DELETE FROM $wpdb->termmeta WHERE term_id = %d", $term_id));
}
https://www.ads-software.com/extend/plugins/simple-term-meta/
]]>