Opened 9 years ago
Closed 8 years ago
#35521 closed defect (bug) (fixed)
Avoid PHP errors if no theme directory exists
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 4.8 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Themes | Keywords: | has-patch |
Focuses: | Cc: |
Description
Warning: Invalid argument supplied for foreach() in .../wp-admin/theme-install.php on line 31
Warning: array_keys() expects parameter 1 to be array, boolean given in .../wp-admin/theme-install.php on line 57
Attachments (5)
Change History (18)
This ticket was mentioned in Slack in #core by chriscct7. View the logs.
9 years ago
#8
@
9 years ago
- Owner set to iseulde
- Status changed from new to assigned
@iseulde Do you still want to tackle this in 4.5?
This ticket was mentioned in Slack in #core by chriscct7. View the logs.
9 years ago
#11
@
8 years ago
- Owner changed from iseulde to swissspidy
- Status changed from assigned to reviewing
#12
@
8 years ago
- Keywords needs-testing 2nd-opinion removed
- Milestone changed from Future Release to 4.8
The first two patches could cause back compat issues. 35521.3.diff seems to fix things in the wrong place.
35521.diff is basically just one line.
Note: See
TracTickets for help on using
tickets.
@obenland Could you take a second look?