[wp-trac] [WordPress Trac] #12343: Custom Header Selector

WordPress Trac wp-trac at lists.automattic.com
Thu Apr 1 09:16:50 UTC 2010


#12343: Custom Header Selector
----------------------------+-----------------------------------------------
 Reporter:  ryan            |       Owner:           
     Type:  task (blessed)  |      Status:  new      
 Priority:  normal          |   Milestone:  3.0      
Component:  UI              |     Version:           
 Severity:  normal          |    Keywords:  has-patch
----------------------------+-----------------------------------------------
Changes (by jorbin):

 * cc: aaron@… (added)


Comment:

 register_default_headers doesn't properly use %s in child themes.  Since
 %s is substituted for get_template_directory_uri in
 register_defualt_headers and get_template_directory_uri returns the parent
 theme uri, child themes can't use %s for it's uri. Ideally we instead have
 %s substitute the uri for the folder that calls register_defualt_headers
 or have a paramater for register_default_headers that allows the child
 themes uri so that both parent and child themes can register default
 headers.

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


More information about the wp-trac mailing list