[wp-trac] [WordPress Trac] #26381: Scaling Image Up Fails Silently

WordPress Trac noreply at wordpress.org
Thu May 25 15:16:01 UTC 2023


#26381: Scaling Image Up Fails Silently
-------------------------------------------------+-------------------------
 Reporter:  brookedot                            |       Owner:  joedolson
     Type:  defect (bug)                         |      Status:  closed
 Priority:  normal                               |   Milestone:  6.3
Component:  Media                                |     Version:  3.5
 Severity:  normal                               |  Resolution:  fixed
 Keywords:  has-patch needs-testing has-unit-    |     Focuses:
  tests 2nd-opinion                              |
-------------------------------------------------+-------------------------
Changes (by antpb):

 * status:  accepted => closed
 * resolution:   => fixed


Comment:

 In [changeset:"55859" 55859]:
 {{{
 #!CommitTicketReference repository="" revision="55859"
 Media: Prevent scaling up of images in the Image Editor.

 Previously, when scaling an image larger than the source size in the image
 edit states the image would silently fail the scaling action. This patch
 provides an error when someone attempts to scale an image larger than the
 source size while also disabling the button to initiate the action.

 Props brookedot, joedolson, markoheijnen, mikeschroder, desrosj, Mista-
 Flo, costdev.
 Fixes #26381.
 }}}

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


More information about the wp-trac mailing list