[wp-trac] [WordPress Trac] #38559: Current header image gets clipped in the Customizer
WordPress Trac
noreply at wordpress.org
Tue Nov 8 18:07:45 UTC 2016
#38559: Current header image gets clipped in the Customizer
--------------------------+-----------------------------
Reporter: bradyvercher | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Future Release
Component: Customize | Version: 3.9
Severity: normal | Resolution:
Keywords: has-patch | Focuses:
--------------------------+-----------------------------
Comment (by bradyvercher):
@westonruter Header images don't always have attachment IDs since there
can be one or more registered defaults that come directly from the theme,
so just about everything is based on URLs right now. The `MediaControl`
uses attachment IDs, so most of the methods would have to be overridden
anyway.
The `header_image_data` setting isn't used much in core and appears to
mainly be used to keep track of an attachment ID when one is available
since `header_image` stores a URL (and a couple of other strings). The
header functionality could be simplified, but there's a lot of backward
compatibility baggage that would need to be considered.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/38559#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list