Opened 12 years ago
Closed 12 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: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 3.4 |
Component: | Themes | Keywords: | |
Focuses: | Cc: |
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)
Change History (3)
Note: See
TracTickets for help on using
tickets.
Duplicate of #22246.