[wp-trac] [WordPress Trac] #63302: SVG images can't be uploaded anymore due to a resizing issue

WordPress Trac noreply at wordpress.org
Mon Apr 28 15:37:43 UTC 2025


#63302: SVG images can't be uploaded anymore due to a resizing issue
-------------------------------------------------+-------------------------
 Reporter:  audrasjb                             |       Owner:
                                                 |  adamsilverstein
     Type:  defect (bug)                         |      Status:  closed
 Priority:  normal                               |   Milestone:  6.8.1
Component:  Editor                               |     Version:  6.8
 Severity:  normal                               |  Resolution:  fixed
 Keywords:  has-screenshots has-patch needs-     |     Focuses:
  testing has-unit-tests commit                  |
-------------------------------------------------+-------------------------
Changes (by jorbin):

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


Comment:

 In [changeset:"60195" 60195]:
 {{{
 #!CommitTicketReference repository="" revision="60195"
 Media: Don't try to resize image formats which can't be resized

 While having a mime type with an "image" prefix, SVG images are in fact
 "Scalable Vector Graphics" that can be scaled directly.

 Follow-up to [60084].

 Props sirlouen, adamsilverstein, audrasjb, pbiron, sainathpoojary,
 dilipbheda, pratiklondhe.
 Fixes #63302. See #61167.
 }}}

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


More information about the wp-trac mailing list