[wp-trac] [WordPress Trac] #17242: Themes: Allow flexible sizes for custom header uploads
WordPress Trac
wp-trac at lists.automattic.com
Fri Jan 27 20:30:42 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 sabreuse):
17242.4.diff is a first pass with a helper function.
ISSUES:
* As of now, it's only testing for either of an old-school non-flex header
with a fixed height, or a resized header -- it won't check in the case
that a theme supports flex headers but one hasn't been set yet.
* Next pass, I'll move the check out of the function so we don't run it on
non-flex themes.
* We also talked a bit in IRC about grabbing the attachment ID so we don't
have to query the db every time.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/17242#comment:36>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list