[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 00:03:03 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 lancewillett):
When a theme has multiple "default" images registered, and the
HEADER_IMAGE definition is empty, we turn on randomness by default. That's
fine, but in that case there is no way to remove the header image
entirely.
Maybe the "Remove Header" action should not set the header_image theme mod
to be empty but instead make it explicitly "remove-header" or something
similar. That way get_header_image() knows to hide all header images from
display.
Patch attached.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/17240#comment:22>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list