Opened 14 years ago
Closed 14 years ago
#4214 closed defect (bug) (duplicate)
no error when wp_crop_image fails to crop the avatar
| Reported by: | magnus78 | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Core | Version: | |
| Severity: | normal | Keywords: | has-patch |
| Cc: |
Description
If wp_crop_image fails to crop the avatar no error message is provided since the return value isn't checked. This can happen e.g. if the server doesn't have gd enabled.
Attachments (1)
Change History (2)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
proposed fix