[wp-trac] [WordPress Trac] #25333: Can't remove theme support for certain custom header arguments

WordPress Trac noreply at wordpress.org
Wed Sep 18 16:08:08 UTC 2013


#25333: Can't remove theme support for certain custom header arguments
-------------------------------------+------------------------------
 Reporter:  kovshenin                |       Owner:
     Type:  defect (bug)             |      Status:  new
 Priority:  normal                   |   Milestone:  Awaiting Review
Component:  Themes                   |     Version:  3.4
 Severity:  normal                   |  Resolution:
 Keywords:  needs-patch 2nd-opinion  |
-------------------------------------+------------------------------

Comment (by kovshenin):

 Hooking earlier to change the values actually makes sense, and that
 behavior was explicitly set in r20212 so that child themes can easily
 override custom header arguments, since their functions.php is loaded
 before the parent's. And I'm fine with that.

 What bugs me is the fact that after I explicitly `remove_theme_support`
 and add it again with different arguments, some of them get rewritten, and
 others (ones that don't use constants, like flex-width, etc) don't.

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


More information about the wp-trac mailing list