[wp-trac] [WordPress Trac] #23157: Custom header in twenty twelve theme not pluggable/filterable

WordPress Trac noreply at wordpress.org
Fri Jan 11 12:32:28 UTC 2013


#23157: Custom header in twenty twelve theme not pluggable/filterable
---------------------------+----------------------
 Reporter:  adamrice       |       Owner:
     Type:  defect (bug)   |      Status:  closed
 Priority:  normal         |   Milestone:
Component:  Bundled Theme  |     Version:  3.5
 Severity:  minor          |  Resolution:  invalid
 Keywords:                 |
---------------------------+----------------------

Comment (by paulwp):

 @toscho

 Why does 9 work instead of 11 ?

 I've been searching everywhere for the answer as to why in this particular
 case the priority lower than 10 (like 9 as you used in the example above)
 works instead of priority more than 10 like 11.

 Child's function is loaded first, when there are 2 functions, 1 is from
 parent and 1 from child, both are hooking to the same
 `after_setup_theme()`, the add and remove and the order of file being
 loaded doesn't seem right.

 Is this a bug in `after_setup_theme()` ?

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


More information about the wp-trac mailing list