[wp-trac] [WordPress Trac] #21819: Use an image size for custom headers instead of duplicating an attachment

WordPress Trac noreply at wordpress.org
Wed Oct 18 20:20:34 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):

 [attachment:21819.3.diff] incorporates the changes from
 [attachment:21819.2.diff] and adds a method to
 `wp.media.controller.Library` which filters any contextually created
 attachments (e.g. headers, logos, etc.) out of the media library.
 @adamsilverstein do you know of a better way to handle that part?

--
Ticket URL: <https://core.trac.wordpress.org/ticket/21819#comment:48>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list