[wp-trac] [WordPress Trac] #20603: Warning error occurs on the default parameter of "admin-head-callback" in add_theme_support.

WordPress Trac wp-trac at lists.automattic.com
Wed May 2 15:16:20 UTC 2012


#20603: Warning error occurs on the default parameter of "admin-head-callback" in
add_theme_support.
--------------------------+------------------
 Reporter:  jim912        |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  3.4
Component:  Themes        |     Version:  3.4
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |
--------------------------+------------------

Comment (by nacin):

 In 3.3, admin-head-callback was required, and remains required by the
 Custom_Image_Header class. So the best thing to do would be to require it
 in _custom_header_background_just_in_time().

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


More information about the wp-trac mailing list