[wp-trac] [WordPress Trac] #20249: Remove custom header and background constants
WordPress Trac
wp-trac at lists.automattic.com
Wed Mar 21 22:21:25 UTC 2012
#20249: Remove custom header and background constants
--------------------------+------------------
Reporter: nacin | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 3.4
Component: Themes | Version:
Severity: normal | Resolution:
Keywords: has-patch |
--------------------------+------------------
Comment (by nacin):
In [20246]:
{{{
#!CommitTicketReference repository="" revision="20246"
Only pass arguments from the deprecated add_custom_background() or
add_custom_image_header() to add_theme_support() if the argument was
actually supplied. With [20212], default argument values (like wp-head-
callback=_custom_background_cb) only work for arguments that were not
explicitly set, so don't set empty values. see #20249.
}}}
--
Ticket URL: <http://core.trac.wordpress.org/ticket/20249#comment:31>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list