[wp-trac] [WordPress Trac] #12493: Filter $bits in wp_upload_bits()
WordPress Trac
noreply at wordpress.org
Thu Sep 11 08:59:45 UTC 2014
#12493: Filter $bits in wp_upload_bits()
------------------------------+-----------------------------
Reporter: Viper007Bond | Owner: josephscott
Type: enhancement | Status: new
Priority: normal | Milestone: Future Release
Component: Upload | Version: 3.0
Severity: normal | Resolution:
Keywords: has-patch mobile | Focuses:
------------------------------+-----------------------------
Changes (by markoheijnen):
* component: XML-RPC => Upload
Comment:
Moving this outside of XML-RPC since it's also used inside the function
wp_generate_attachment_metadata() since [27863].
For the reason this ticket was created I would say close it since I'm
unsure we want to filter the original. Image sizes could be done with a
custom WP_Image_Editor. That said, adding the filter is easy to do.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/12493#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list