[wp-trac] [WordPress Trac] #63714: Missing width/height attributes on SVG file since WP 6.8.2

WordPress Trac noreply at wordpress.org
Tue Aug 12 04:50:42 UTC 2025


#63714: Missing width/height attributes on SVG file since WP 6.8.2
-------------------------------------------------+-------------------------
 Reporter:  rainbowgeek                          |       Owner:
                                                 |  adamsilverstein
     Type:  defect (bug)                         |      Status:  assigned
 Priority:  normal                               |   Milestone:  6.8.3
Component:  Media                                |     Version:  6.8.2
 Severity:  major                                |  Resolution:
 Keywords:  has-patch has-unit-tests commit      |     Focuses:
  needs-testing                                  |
-------------------------------------------------+-------------------------
Changes (by iamshashank):

 * keywords:  has-patch has-unit-tests commit needs-testing needs-test-info
     => has-patch has-unit-tests commit needs-testing


Comment:

 I figured out what was wrong while reproducing it, I had been inspecting
 the SVG after adding it to a page via the media library, and everything
 looked fine there. But when I checked the SVG on the homepage, that’s
 where the problem appeared. Now i'm able to reproduce the issue.

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


More information about the wp-trac mailing list