-
Notifications
You must be signed in to change notification settings - Fork 79
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 theme slug renaming #74
Comments
How is this different than using |
WP-CLI already supports an action that is similar to As we already have that functionality, we should make sure that it is useful in all of the common scenarios, ZIP files having the wrong slug is a very common scenario, so I think we should add support for that. |
Couple other pieces of relevant information:
|
Yes, when I looked through the code and saw the renaming for the Github URLs, I thought we could build the slug parameter so that:
The second variation (without argument) could also be used for multiple archives. |
Hi, any updates on this? Running into same issue when installing plugins from github in CI/CD as zips (have an action which builds the whole plugin and attaches is as That means that on each Having either of the two proposed options above would help solve this. |
No progress on this? --adapt-slug does not appear to have made it into wp-cli and wp-cli as of 2.10.0 still incorrectly names themes installed from URLs. |
Please allow theme slug renaming. For example:
wp install theme .zip --slug=foo
I just encountered that need when I used URLs from GitLab. I installed a parent theme, and it was given a weird name that the host probably derives from its commit ID.
Then I tried to install its child theme, and got an error, because it couldn't find its parent theme.
If I could install the parent theme and set its slug, that wouldn't have happened.
The text was updated successfully, but these errors were encountered: