[wp-trac] [WordPress Trac] #20265: Update twentyten and twentyeleven to new-style header and background support

WordPress Trac wp-trac at lists.automattic.com
Tue Mar 20 19:54:24 UTC 2012


#20265: Update twentyten and twentyeleven to new-style header and background
support
---------------------------+------------------
 Reporter:  sabreuse       |       Owner:
     Type:  defect (bug)   |      Status:  new
 Priority:  normal         |   Milestone:  3.4
Component:  Bundled Theme  |     Version:
 Severity:  normal         |  Resolution:
 Keywords:                 |
---------------------------+------------------
Changes (by toscho):

 * cc: info@… (added)


Comment:

 {{{
 add_image_size( get_theme_support( 'custom-header', 'width' ),
 get_theme_support( 'custom-header', 'height' ), true );
 }}}

 Shouldn’t that be:
 {{{
 add_image_size(
     'large-feature',
     get_theme_support( 'custom-header', 'width' ),
     get_theme_support( 'custom-header', 'height' ),
     true
 );
 }}}

 The `'random-default'` parameter values are wrong: It should be `false` in
 TwentyTen and `true` in TwentyEleven.

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


More information about the wp-trac mailing list