Opened 10 years ago
Closed 10 years ago
#29361 closed defect (bug) (fixed)
Install Plugins: Don't wp_die() if API can't be reached
Reported by: | alex-ye | Owned by: | SergeyBiryukov |
---|---|---|---|
Milestone: | 4.0 | Priority: | normal |
Severity: | normal | Version: | 4.0 |
Component: | Plugins | Keywords: | has-patch commit |
Focuses: | administration | Cc: |
Description
WordPress 4.0 comes with a lot of changes to the plugin-install page. Something I am not sure about it.. I think we should allow the plugin-install page to work offline because installing a plugin from the uploader doesn't need an internet connection !!
Attachments (2)
Change History (7)
#2
@
10 years ago
- Component changed from Administration to Plugins
- Version set to trunk
A local development environment can be offline, or there can be other reasons a site cannot connect to the wordpress.org API.
Pre-4.0 the Plugins -> Add New screen had a landing page which didn't need a connection to the API, so you could access the Upload tab. In 4.0, this page dies with an error message if the API cannot be contacted.
#3
@
10 years ago
- Keywords has-patch added
- Milestone changed from Awaiting Review to 4.0
29361.diff gets rid of the wp_die()
on this page and instead outputs the error message in the same way that the "no results" message is output.
Moving to 4.0 for consideration, because this was a change in 4.0.
Not sure I understand you. How can you access your site when you're offline?