Make WordPress Core

Opened 6 years ago

Closed 6 years ago

#9526 closed defect (bug) (fixed)

Custom header returns black image

Reported by: yoavf Owned by:
Milestone: 2.8 Priority: high
Severity: major Version: 2.8
Component: Media Keywords: has-patch, header, cropper, jcrop
Focuses: Cc:


Steps to reproduce:

Upload a custom header image to a blog with a theme using custom-header.php and click the “Crop Header” *without using the crop tool*

This results in a plain black header image every time.
Here's a screencast with the Connections Reloaded theme:

Attachments (1)

custom-header.php.patch (648 bytes) - added by yoavf 6 years ago.
Fix - set default value

Download all attachments as: .zip

Change History (3)

@yoavf6 years ago

Fix - set default value

comment:1 @yoavf6 years ago

  • Keywords has-patch added; needs-patch removed

Patch fixes this by setting defaults for jcrop.

comment:2 @ryan6 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [10925]) Set default coords for cropper. Props yoavf. fixes #9526

Note: See TracTickets for help on using tickets.