[wp-trac] [WordPress Trac] #25721: Consolidate a couple of filters to the WP_Image_Editor base class

WordPress Trac noreply at wordpress.org
Tue Nov 26 23:42:23 UTC 2013


#25721: Consolidate a couple of filters to the WP_Image_Editor base class
------------------------------------+------------------------
 Reporter:  markoheijnen            |       Owner:
     Type:  enhancement             |      Status:  reviewing
 Priority:  normal                  |   Milestone:  3.8
Component:  Media                   |     Version:  3.5
 Severity:  normal                  |  Resolution:
 Keywords:  has-patch dev-feedback  |
------------------------------------+------------------------

Comment (by markoheijnen):

 I would recommend to just make the argument for set_quality() required.

 I also would remove the weird check in set_quality for JPEG. To set the
 quality from 0 to 1 to protect backwards compatibility doesn't make a lot
 sense. No one will do so since images will get really crappy.

--
Ticket URL: <http://core.trac.wordpress.org/ticket/25721#comment:20>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list