Closed jacksonwp closed 12 months ago
Fixes https://github.com/wp-cli/export-command/issues/108
This PR adds a flag --allow_orphan_terms, that when set allows the export to proceed when orphan terms are found.
--allow_orphan_terms
When the flag is set, the orphaned terms have their parent set to 0 and the export proceeds.
When the flag is not set, an exception is thrown and the export fails.
Related https://github.com/wp-cli/wp-cli/issues/5832
Fixes https://github.com/wp-cli/export-command/issues/108
This PR adds a flag
--allow_orphan_terms
, that when set allows the export to proceed when orphan terms are found.When the flag is set, the orphaned terms have their parent set to 0 and the export proceeds.
When the flag is not set, an exception is thrown and the export fails.
Related https://github.com/wp-cli/wp-cli/issues/5832