[wp-trac] [WordPress Trac] #22221: get_custom_header() does not handle a default registered header
WordPress Trac
noreply at wordpress.org
Sun Nov 11 23:47:08 UTC 2012
#22221: get_custom_header() does not handle a default registered header
--------------------------+-----------------------
Reporter: nacin | Owner: nacin
Type: defect (bug) | Status: reopened
Priority: normal | Milestone: 3.5
Component: Appearance | Version:
Severity: normal | Resolution:
Keywords: has-patch |
--------------------------+-----------------------
Comment (by jeffsebring):
Replying to [comment:6 nacin]:
> Are you using a default header as in `'default-image' => $something`,
but not actually registering any headers with register_default_headers()?
It looks like we support this (see Custom_Header::reset_header_image()),
so we can make an adjustment. Patch incoming.
That is exactly how I am doing it. I set the default-image in the
add_theme_support() array argument, without using
register_default_headers().
--
Ticket URL: <http://core.trac.wordpress.org/ticket/22221#comment:7>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list