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)
Change History (3)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Duplicate of #22246.