update-core is oblivious to api.wp.org being unreachable
|Reported by:||nacin||Owned by:|
|Component:||Upgrade/Install||Keywords:||has-patch needs-testing dev-feedback 3.2-early|
A server running 3.0.4 had trouble reaching *.wordpress.org for some unknown reason. (This wasn't during the brief api.wp.org outage, and it worked otherwise.)
Problem is, update-core was completely oblivious to this. It's even worse when running 3.1, because the 'Check Again' button will refresh the page and tell you we last checked for updates *just now*.
Try Again or Check Again should reflect that the API is unreachable when this can be determined. Claiming that we checked for updates is also really lame, so we should see if the transient tells us how long it's been since the last one.
Side note, the plugin install et al. HTTP error messages are rather cryptic, and we should also make those more user friendly.
Change History (22)
comment:12 nacin — 3 years ago
- Keywords 3.2-early added
- Milestone changed from Awaiting Review to Future Release