Changeset 57694
- Timestamp:
- 02/22/2024 11:54:10 AM (10 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/media.php
r57687 r57694 980 980 981 981 $src_file = $icon_dir . '/' . wp_basename( $src ); 982 982 983 list( $width, $height ) = wp_getimagesize( $src_file ); 983 $ext = strtolower( substr( $src_file, -4 ) ); 984 985 $ext = strtolower( substr( $src_file, -4 ) ); 986 984 987 if ( '.svg' === $ext ) { 985 988 // SVG does not have true dimensions, so this assigns width and height directly.
Note: See TracChangeset
for help on using the changeset viewer.