Opened 13 years ago
Closed 13 years ago
#4214 closed defect (bug) (duplicate)
no error when wp_crop_image fails to crop the avatar
Reported by: | magnus78 | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | |
Component: | Core | 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.
proposed fix