Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow to opt-out from dumping specific sections #61

Merged
merged 4 commits into from Jul 16, 2019

Conversation

@drzraf
Copy link
Contributor

commented Jul 12, 2019

Let the formatter know about which WXR sections one requires.
Default is still to dump everything, but callee may opt-out from, eg, authors or tags.

@drzraf drzraf requested a review from wp-cli/committers as a code owner Jul 12, 2019

drzraf added some commits Jul 12, 2019

Let the formatter know about which WXR sections one requires.
Default is still to dump everything, but callee may opt-out from, eg, authors or tags.

@drzraf drzraf force-pushed the drzraf:select-export-sections branch from 6ea751b to 740480d Jul 12, 2019

@schlessera
Copy link
Member

left a comment

Two code style changes needed to pass PHPCS test.

src/WP_Export_WXR_Formatter.php Outdated Show resolved Hide resolved
src/WP_Export_WXR_Formatter.php Outdated Show resolved Hide resolved

drzraf and others added some commits Jul 15, 2019

Update src/WP_Export_WXR_Formatter.php
Co-Authored-By: Alain Schlesser <alain.schlesser@gmail.com>
Update src/WP_Export_WXR_Formatter.php
Co-Authored-By: Alain Schlesser <alain.schlesser@gmail.com>

@schlessera schlessera added this to the 2.0.3 milestone Jul 16, 2019

@schlessera

This comment has been minimized.

Copy link
Member

commented Jul 16, 2019

Thanks for the PR, @drzraf !

@schlessera schlessera merged commit a31b177 into wp-cli:master Jul 16, 2019

1 check passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details

@schlessera schlessera changed the title Allow to opt-out from dump specific sections Allow to opt-out from dumping specific sections Jul 16, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
2 participants
You can’t perform that action at this time.