Multiple improvements introduced in #14:
- fix -- False positive "modified" posts - when checking "modified" terms, terms with taxonomies which are not migrated were also being checked -- fixed now
- hardening -- DB terms with duplicate slugs -- WP allows dupe slugs for terms with different taxonomies, but not for same taxonomies. In Chicago DB, there are multiple author terms with same slugs -- now CDiff is handling this invalid data correctly with a special check for terms, at no performance impact
- hardening -- Orphaned terms in DB -- "orphaned terms" are term_relationships with term_ids which do not exist not in terms -- now handing this invalid data correctly, with a simple O(1) lookup of orphaned terms
- improvement -- Full MDCS test coverage -- motivated by the false positive "modified" issue, analyzed existing test coverage against the full Migration Data Consistency Standard, identified and added 7 additional tests to get full coverage
- improvement -- Faster posts deletion -- replaced slow wp_post_delete() with batched direct queries
- improvement -- Cleaned up some CLI messages -- removed some confusing and unnecessary messaging, made output lighter and simpler