Make WordPress Core

Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#25400 closed defect (bug) (fixed)

Twenty Twelve, Twenty Fourteen: Simplify header image check

Reported by: obenland's profile obenland Owned by: lancewillett's profile lancewillett
Milestone: 3.7 Priority: normal
Severity: normal Version: 3.5
Component: Bundled Theme Keywords: has-patch
Focuses: Cc:

Description

get_header_image() will return the boolean false or an empty string if there is no header image. Both will be evaluated as false by the if statement. We already do this in Twenty Ten.

Loosely related: #25156.

Attachments (1)

25400.diff (1.8 KB) - added by obenland 11 years ago.

Download all attachments as: .zip

Change History (3)

@obenland
11 years ago

#1 @lancewillett
11 years ago

In 25604:

Twenty Fourteen: simplify header image check, props obenland. See #25400.

#2 @lancewillett
11 years ago

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

In 25626:

Twenty Twelve: simplify header image check, props obenland. Closes #25400.

Note: See TracTickets for help on using tickets.