[wp-trac] [WordPress Trac] #29856: Setting default quality doesn't always work

WordPress Trac noreply at wordpress.org
Fri Oct 3 22:47:40 UTC 2014


#29856: Setting default quality doesn't always work
--------------------------+--------------------
 Reporter:  markoheijnen  |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  4.0.1
Component:  Media         |     Version:  4.0
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:
--------------------------+--------------------

Comment (by johnbillion):

 Line 259 of `class-wp-image-editor.php` in [attachment:29856.diff] is
 this:

 `if ( $quality == null ) {`

 Should that have a strict equality check?

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


More information about the wp-trac mailing list