Make WordPress Core

Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#14486 closed defect (bug) (fixed)

Twenty Ten: Removed header image renders an empty img tag

Reported by: koopersmith's profile koopersmith Owned by: koopersmith's profile koopersmith
Milestone: WordPress.org Priority: normal
Severity: normal Version: 3.0.1
Component: Themes Keywords: has-patch
Focuses: Cc:

Description

When the header image is removed from Twenty Ten, the theme still renders an img tag with no src (and the proper dimensions, so it's just a large, broken image). Instead, the img tag shouldn't be rendered.

Attachments (1)

14486.diff (828 bytes) - added by koopersmith 14 years ago.

Download all attachments as: .zip

Change History (5)

@koopersmith
14 years ago

#1 @mtdewvirus
14 years ago

  • Cc mtdewvirus@… added

#2 @nacin
14 years ago

(In [15520]) Check for header image before showing it, in Twenty Ten. props koopersmith, see #14486 for trunk.

#3 @nacin
14 years ago

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

(In [15783]) Check for header image before showing it, in Twenty Ten. props koopersmith, fixes #14486 for 3.0.

#4 @nacin
14 years ago

  • Milestone changed from 3.0.2 to WordPress.org
Note: See TracTickets for help on using tickets.