[wp-trac] [WordPress Trac] #17240: Themes: Add ability to show a random header image
WordPress Trac
wp-trac at lists.automattic.com
Fri Apr 29 01:04:36 UTC 2011
#17240: Themes: Add ability to show a random header image
------------------------------------+------------------
Reporter: lancewillett | Owner:
Type: feature request | Status: new
Priority: normal | Milestone: 3.2
Component: Themes | Version:
Severity: normal | Resolution:
Keywords: has-patch dev-feedback |
------------------------------------+------------------
Comment (by kawauso):
`is_random_header_image()` will return `true` when no header image is
selected, but this is conditional on `$type` being 'any'. The `checked()`
call for the Random radio button on the Header screen uses 'default', so
no radio buttons appear checked. Following patch adds a clause to catch
this.
Also, shouldn't the default-header class and input name be called
something more logical since they're also used for user uploaded headers?
--
Ticket URL: <http://core.trac.wordpress.org/ticket/17240#comment:23>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list