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

WordPress Trac noreply at wordpress.org
Sun Nov 11 01:25: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 jeffsebring):

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


Comment:

 I'm using a default header, yet $_wp_default_headers is null, and throwing
 an error on theme.php line 1037. Maybe check it before the loop?

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


More information about the wp-trac mailing list