[wp-trac] [WordPress Trac] #21905: Undefined index notices on removal of theme support for custom header or background
WordPress Trac
wp-trac at lists.automattic.com
Mon Sep 17 04:40:06 UTC 2012
#21905: Undefined index notices on removal of theme support for custom header or
background
-----------------------------+--------------------------
Reporter: obenland | Type: defect (bug)
Status: new | Priority: normal
Milestone: Awaiting Review | Component: Themes
Version: 3.4 | Severity: normal
Keywords: has-patch |
-----------------------------+--------------------------
`_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
[http://themes.trac.wordpress.org/ticket/9199#comment:31 bug report for
Twenty Twelve on Themes Trac].
--
Ticket URL: <http://core.trac.wordpress.org/ticket/21905>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list