[wp-trac] [WordPress Trac] #12493: Filter $bits in wp_upload_bits()

WordPress Trac noreply at wordpress.org
Thu Sep 11 10:15:18 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:
------------------------------+-----------------------------

Comment (by Viper007Bond):

 Replying to [comment:7 markoheijnen]:
 > For the reason this ticket was created I would say close it since I'm
 unsure we want to filter the original.

 Actually that's exactly what I wanted to do when it came to watermarking,
 otherwise the original image could be downloaded from the site. However
 that makes a tiny watermark on the thumbnails so really the thumbnails
 should be watermarked on their own by this imaginary plugin and then the
 original file overwritten with a watermarked version afterwards.

 It gets complicated fast but can you ever have too many filters? :)

 At the very least allowing resizing massive images, or using crushing
 techniques, seems like a useful case for this.

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


More information about the wp-trac mailing list