[wp-trac] [WordPress Trac] #17242: Themes: Allow flexible sizes for custom header uploads
WordPress Trac
wp-trac at lists.automattic.com
Tue Jan 31 18:29:54 UTC 2012
#17242: Themes: Allow flexible sizes for custom header uploads
----------------------------+------------------
Reporter: lancewillett | Owner:
Type: task (blessed) | Status: new
Priority: normal | Milestone: 3.4
Component: Themes | Version:
Severity: normal | Resolution:
Keywords: dev-feedback |
----------------------------+------------------
Comment (by aaroncampbell):
Ok, I think [attachment:17242.8.diff] is a good commit candidate. It
handles the random header issue by adding a `$_wp_random_header` global
which stores the data for the header image. One thing of note is that
you'll have to call `(get_)?header_image()` BEFORE calling
`get_header_image_height()`.
Seems to work well here, and we're REALLY close to being able to do flex
widths too...I'll actually create a patch that includes this in case we
want to put both into this one dev cycle.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/17242#comment:44>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list