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

Remove only themes/plugins folders on --skip-content #212

Merged
merged 5 commits into from Oct 11, 2022

Conversation

schlessera
Copy link
Member

@schlessera schlessera commented Oct 11, 2022

Moved over from PR #156:

Pull request #59 strips the whole wp-content directory, removing languages too and raising the issue that --locale= flag is broken.

I just changed the if-statement to strip out plugins and themes separately.

No idea how to write tests for that, it is a fairly simple fix.

Closes #147.

@schlessera schlessera requested a review from a team as a code owner Oct 11, 2022
@schlessera schlessera changed the title Remove only themes/plugins folders from archive. Remove only themes/plugins folders on --skip-content Oct 11, 2022
@schlessera schlessera added this to the 2.1.5 milestone Oct 11, 2022
@schlessera schlessera merged commit 30dfbe5 into master Oct 11, 2022
27 checks passed
@schlessera schlessera deleted the fix/remove-only-plugins-themes-folders branch Oct 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

--skip-content option should download WP without the default themes and plugins
2 participants