[wp-trac] [WordPress Trac] #22221: get_custom_header() does not handle a default registered header

WordPress Trac noreply at wordpress.org
Sun Nov 11 19:20:15 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     |
--------------------------+-----------------------
Changes (by nacin):

 * status:  closed => reopened
 * resolution:  fixed =>


Comment:

 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.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/22221#comment:6>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list