WordPress.org

Make WordPress Core

Opened 5 years ago

Closed 5 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:

Description

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:
http://www.screencast.com/t/uqrEHSbjWb1

Attachments (1)

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

Download all attachments as: .zip

Change History (3)

yoavf5 years ago

Fix - set default value

comment:1 yoavf5 years ago

  • Keywords has-patch added; needs-patch removed

Patch fixes this by setting defaults for jcrop.

comment:2 ryan5 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.