[wp-trac] [WordPress Trac] #17240: Themes: Add ability to show a random header image

WordPress Trac wp-trac at lists.automattic.com
Tue Apr 26 16:44:07 UTC 2011


#17240: Themes: Add ability to show a random header image
-----------------------------+------------------------------
 Reporter:  lancewillett     |       Owner:
     Type:  feature request  |      Status:  new
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  Themes           |     Version:
 Severity:  normal           |  Resolution:
 Keywords:  needs-patch      |
-----------------------------+------------------------------

Comment (by lancewillett):

 As Nacin [http://core.trac.wordpress.org/ticket/17242#comment:2 mentioned
 over on #17242]:

 > It would be great to move away from them everywhere possible, and go in
 the direction of add_theme_support() with an array of extra arguments
 being passed to it.

 This could be changed to use that technique also:

 {{{add_theme_support( 'random-header-image', array( 'on' => true ) ); }}}
 where it'd be off by default.

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


More information about the wp-trac mailing list