Skip to content
New issue

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

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

Already on GitHub? # to your account

Allow installing major version with trailing zero #275

Closed
2 tasks done
swissspidy opened this issue Dec 17, 2024 · 0 comments · Fixed by #276
Closed
2 tasks done

Allow installing major version with trailing zero #275

swissspidy opened this issue Dec 17, 2024 · 0 comments · Fixed by #276

Comments

@swissspidy
Copy link
Member

Bug Report

Describe the current, buggy behavior

I should be able to run wp core update --version=6.7.0 instead of wp core update --version=6.7

Describe how other contributors can replicate this bug

Run wp core update --version=6.7.0

It doesn't work because it looks for a https://wordpress.org/wordpress-6.7.0.zip ZIP file that doesn't exist.

Describe what you would expect as the correct outcome

Using this version should work.

Let us know what environment you are running this on

n/a

Provide a possible solution

We should just turn 6.7.0 into 6.7.

Provide additional context/Screenshots

Add any other context about the problem here.

If applicable, add screenshots to help explain (you can just drag&drop images into the Github issue).

# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant