[wp-trac] [WordPress Trac] #50089: Allow filtering of image uploads

WordPress Trac noreply at wordpress.org
Wed Nov 10 08:28:17 UTC 2021


#50089: Allow filtering of image uploads
-----------------------------+------------------------------
 Reporter:  malthert         |       Owner:  (none)
     Type:  enhancement      |      Status:  closed
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  Media            |     Version:  5.5
 Severity:  normal           |  Resolution:  invalid
 Keywords:  has-patch close  |     Focuses:
-----------------------------+------------------------------
Changes (by malthert):

 * keywords:  has-patch => has-patch close
 * status:  new => closed
 * resolution:   => invalid


Comment:

 This has been implemented now already with
 {{{#!php
 <?php
 return apply_filters( 'wp_prepare_attachment_for_js', $response,
 $attachment, $meta );
 }}}

 in a sub-function.

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


More information about the wp-trac mailing list