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

WordPress Trac wp-trac at lists.automattic.com
Tue Feb 23 21:25:58 UTC 2010


#12343: Custom Header Selector
-------------------------+--------------------------------------------------
 Reporter:  ryan         |       Owner:     
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  3.0
Component:  UI           |     Version:     
 Severity:  normal       |    Keywords:     
-------------------------+--------------------------------------------------

Comment(by nacin):

 I haven't really looked into the custom header code yet, but I noticed
 that we can probably change/consolidate/remove some of this:
 {{{
 define( 'HEADER_TEXTCOLOR', '');
 define( 'HEADER_IMAGE', '%s/images/header-1.jpg'); // %s is theme dir uri
 define( 'HEADER_IMAGE_WIDTH', apply_filters(
 'twentyten_header_image_width',  940 ) );
 define( 'HEADER_IMAGE_HEIGHT', apply_filters(
 'twentyten_header_image_height',  198 ) );
 define( 'NO_HEADER_TEXT', true );
 }}}

 In particular, my testbed is using HEADER_IMAGE by default, and that image
 no longer exists.

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


More information about the wp-trac mailing list