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

Feature Request: WP core download with no content #59

Closed
AaronRutley opened this issue Sep 26, 2017 · 4 comments
Closed

Feature Request: WP core download with no content #59

AaronRutley opened this issue Sep 26, 2017 · 4 comments

Comments

@AaronRutley
Copy link

Hi 👋

Aaron here, I'm a big fan of WP-CLI !

I'd really like to be able to install WordPress without any default themes or plugins.

I can see the 'no content' zip is available at this endpoint:
https://api.wordpress.org/core/version-check/1.7/

Something like wp core download --no_content would be awesome!

@schlessera
Copy link
Member

Yes, agree this would be worthwhile.

It should be a flag --content that defaults to true. This way, --no-content will disable it. Also, you'll be able to use content: true or content: false in config files.

@AaronRutley
Copy link
Author

Great! I'm keen to help on a PR.

I've just been doing some testing on a bash script that I have to automate installs.
I'm able to get my wp install down from 4.7 seconds to 1.3 seconds if I use the no-content zip!

@danielbachhuber
Copy link
Member

--skip-content would be the more appropriate flag.

@AaronRutley I'm now amenable to the idea if you'd like to invest time into it.

Previously: wp-cli/wp-cli#1978 (comment)

@danielbachhuber
Copy link
Member

Closing in favor of wp-cli/core-command#36

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants