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

Use core's version check API for finding updates #2469

merged 5 commits into from Feb 16, 2016


Copy link

commented Feb 10, 2016

The version check API will give us exact URLs to upgrade packages. We shouldn't, imprecisely, build the download offers on our own.

Fixes #2468

Use's download offer for minor updates
Sometimes localized versions of WordPress don't have a minor release
build, and we need to use the en_US partial instead.

Also, when performing `wp core check-update`, don't list release files
that don't exist.
Better idea: use core's versions API to check for updates
We should've done this in the very beginning. Now lists the partial
package for update when it's available

@danielbachhuber danielbachhuber changed the title Use correct download offer for all minor updates Use core's version check API for finding updates Feb 10, 2016

danielbachhuber added a commit that referenced this pull request Feb 16, 2016
Merge pull request #2469 from wp-cli/2468-minor-update-locale
Use core's version check API for finding updates

@danielbachhuber danielbachhuber merged commit 4952290 into master Feb 16, 2016

1 check passed

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

@danielbachhuber danielbachhuber deleted the 2468-minor-update-locale branch Feb 16, 2016

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