[wp-trac] [WordPress Trac] #32437: Uploaded images are still saved as a "resized" duplicate

WordPress Trac noreply at wordpress.org
Thu Aug 29 04:13:41 UTC 2019


#32437: Uploaded images are still saved as a "resized" duplicate
-------------------------------------------------+---------------------
 Reporter:  wpdennis                             |       Owner:  (none)
     Type:  defect (bug)                         |      Status:  new
 Priority:  normal                               |   Milestone:  5.3
Component:  Media                                |     Version:  4.2
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch needs-testing 2nd-opinion  |     Focuses:
-------------------------------------------------+---------------------

Comment (by azaozz):

 In 32437.2.diff:
 - Refresh the patch and add more inline help/comments.
 - Introduces a `wp_image_resize_identical_dimensions` "boolean" filter.
 Returning `true` will create an image with identical dimensions.
 - Update and fix the unit tests.

 Thinking this is ready to go in. Works well in combination with the "BIG
 image" handling patch from #47873.

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


More information about the wp-trac mailing list