[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 05:48:12 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 |
-------------------------------------------------+-------------------------
Comment (by iamshashank):
== Test Report
=== Description
✅ This report validates that the indicated patch works as expected.
Patch tested: https://github.com/WordPress/wordpress-
develop/pull/9315.diff
=== Environment
- WordPress: 6.9-alpha-60093-src
- PHP: 8.2.28
- Server: nginx/1.27.5
- Database: mysqli (Server: 8.4.5 / Client: mysqlnd 8.2.28)
- Browser: Chrome 138.0.0.0
- OS: macOS
- Theme: Twenty Twenty-Five 1.3
- MU Plugins:
* allow-svg.php
- Plugins:
* Test Reports 1.2.0
=== Actual Results
1. ✅ Issue resolved with patch.
=== Additional Notes
- I was able to test this patch on WP version 6.9-alpha-60093-src, but
when I tried the same patch on version 6.8.2, I got:
{{{
1 out of 1 hunks failed--saving rejects to 'src/wp-includes/media.php.rej'
}}}
=== Screenshots
- Before the patch - [[Image(https://ibb.co/99Rg3K96)]]
- After the patch - [[Image(https://ibb.co/VYwG7rdk)]]
--
Ticket URL: <https://core.trac.wordpress.org/ticket/63714#comment:33>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list