Skip to content

2.1.1

Latest

Choose a tag to compare

@iuravic iuravic released this 18 Apr 12:47
· 17 commits to trunk since this release

Multiple improvements introduced in #14:

  1. fix -- False positive "modified" posts - when checking "modified" terms, terms with taxonomies which are not migrated were also being checked -- fixed now
  2. 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
  3. 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
  4. 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
  5. improvement -- Faster posts deletion -- replaced slow wp_post_delete() with batched direct queries
  6. improvement -- Cleaned up some CLI messages -- removed some confusing and unnecessary messaging, made output lighter and simpler