Make WordPress Core

Opened 14 years ago

Closed 14 years ago

#21905 closed defect (bug) (duplicate)

Undefined index notices on removal of theme support for custom header or background

Reported by: obenland Owned by:
Priority: normal Milestone:
Component: Themes Version: 3.4
Severity: normal Keywords:
Cc: Focuses:

Description

_remove_theme_support() assumes that the $custom_image_header and $custom_background globals are set, which they are not always. Same goes for the optional 'wp-head-callback' argument for add_theme_support().

Introduced in [20212]. See ​bug report for Twenty Twelve on Themes Trac.

Attachments (1)

21905.diff​ (1.4 KB ) - added by obenland 14 years ago.

Download all attachments as: .zip

Change History (3)

@obenland
14 years ago

#1 @nacin
14 years ago

  • Milestone Awaiting Review → 3.5

#2 @obenland
14 years ago

  • Keywords has-patch removed
  • Milestone 3.5
  • Resolution → duplicate
  • Status new → closed

Duplicate of #22246.

Note: See TracTickets for help on using tickets.