Right now, the entire export fails if an orphaned term is found. We should add a parameter to ignore this kind of error. With the new parameter, the entire export should not fail, but the term should have the parent set to 0 (no parent).
An orphaned term can appear when:
Something has gone bad with "Categories and Tags Converter"
Feature Request
For reference: p1686742627912759-slack-C02AVAR9B.
See: https://github.com/wp-cli/export-command/blob/main/src/WP_Export_Query.php#L372
Right now, the entire export fails if an orphaned term is found. We should add a parameter to ignore this kind of error. With the new parameter, the entire export should not fail, but the term should have the parent set to 0 (no parent).
An orphaned term can appear when:
FYI: @danielbachhuber