#37358 closed enhancement (fixed)
Don't display errors during installation
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 4.7 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Upgrade/Install | Keywords: | has-screenshots has-patch |
Focuses: | Cc: |
Description
If a PHP warning occurs during the installation steps (for example if the HTTP request to the Translation API fails), the error message makes for a wonderfully offputting experience for someone who may be installing WordPress for the first time.
Let's not display errors during installation.
Attachments (2)
Change History (7)
#4
@
9 years ago
- Owner set to johnbillion
- Resolution set to fixed
- Status changed from new to closed
In 38423:
#5
@
9 years ago
FWIW, I'm not sure I agree with this change.
If someone has explicitly set WP_DEBUG
to true, they should see the errors (except those that break AJAX, REST API, or XML-RPC requests). That includes the installation process.
Otherwise, the list of languages is not loaded, but there's no evidence that something's wrong.
Note: See
TracTickets for help on using
tickets.
Patch to suppress the display of errors during installation.