wp-cli / export-command

Exports WordPress content to a WXR file.
MIT License
12 stars 27 forks source link

Fix category, tag and term names missing in export #86

Closed schlessera closed 3 years ago

schlessera commented 3 years ago

A regression was introduced with https://github.com/wp-cli/export-command/pull/84 which was reported via #85.

The regression caused the cat_name, tag_name and term_name values to be missing in the generated export.

This PR removes the specific hardening that has introduced this regression, and adds a test scenario to ensure this will not happen again in the future.

Fixes #85