[wp-trac] [WordPress Trac] #17832: Don't default to random header image rotation when HEADER_IMAGE = ''

WordPress Trac wp-trac at lists.automattic.com
Wed Jun 22 13:59:36 UTC 2011


#17832: Don't default to random header image rotation when HEADER_IMAGE = ''
------------------------------+------------------
 Reporter:  ryan              |       Owner:
     Type:  defect (bug)      |      Status:  new
 Priority:  normal            |   Milestone:  3.2
Component:  Themes            |     Version:  3.2
 Severity:  normal            |  Resolution:
 Keywords:  has-patch commit  |
------------------------------+------------------

Comment (by lancewillett):

 OK, after testing this for a while I see how it works. And it works great!

 The random option still exists in the UI regardless of the
 {{{add_theme_support()}}} call, which is what we want. If the random
 rotation is turned on by default with {{{add_theme_support()}}} the radio
 button for random default images is on, which is what we want for the UI.

 Attached is a refreshed patch that adds better commenting to both
 theme.php and the Twenty Eleven functions file.

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


More information about the wp-trac mailing list