WordPress.org

Make WordPress Core

Opened 4 years ago

Closed 4 years ago

Last modified 3 years ago

#14486 closed defect (bug) (fixed)

Twenty Ten: Removed header image renders an empty img tag

Reported by: koopersmith Owned by: 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 4 years ago.

Download all attachments as: .zip

Change History (5)

koopersmith4 years ago

comment:1 mtdewvirus4 years ago

  • Cc mtdewvirus@… added

comment:2 nacin4 years ago

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

comment:3 nacin4 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.

comment:4 nacin3 years ago

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