Custom Taxonomy: Parent still counting deleted Child
The problem There’s on (imho) serious issue with WordPress and Taxonomies and their term hierarchy (and children): They aren’t really fetched from the actual state, but someone who thought (s)he might be really “smart” stuffed that into the *_options table. Just take a look at the source of get_term_children(): It makes a call to _get_term_hierarchy(). … Read more