[wp-trac] [WordPress Trac] #21819: Use an image size for custom headers instead of duplicating an attachment
WordPress Trac
noreply at wordpress.org
Thu Oct 19 04:17:33 UTC 2017
#21819: Use an image size for custom headers instead of duplicating an attachment
-------------------------------------------------+------------------------
Reporter: koopersmith | Owner: joemcgill
Type: task (blessed) | Status: assigned
Priority: high | Milestone: 4.9
Component: Media | Version: 3.5
Severity: normal | Resolution:
Keywords: has-patch needs-testing 2nd-opinion | Focuses:
-------------------------------------------------+------------------------
Comment (by joemcgill):
In [changeset:"41937"]:
{{{
#!CommitTicketReference repository="" revision="41937"
Customizer: Improve handling of crops in the media library.
This is a follow up on r41732, implementing the following improvements:
* Attachment parent info is now stored in attachment meta rather than a
separate post meta key.
* Attachments created from contextual crops (e.g. header, logos, etc.) are
filtered out of the media library using a new `_filterContext` method in
`wp.media.controller.Library`.
Props joemcgill, westonruter.
See #21819.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/21819#comment:50>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list