Changeset 50146 for trunk/src/wp-includes/media.php
- Timestamp:
- 02/02/2021 04:51:17 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/media.php
r50144 r50146 245 245 246 246 if ( $thumb_file ) { 247 $info = @getimagesize( $thumb_file );247 $info = wp_getimagesize( $thumb_file ); 248 248 } 249 249 … … 963 963 964 964 $src_file = $icon_dir . '/' . wp_basename( $src ); 965 list( $width, $height ) = @getimagesize( $src_file );965 list( $width, $height ) = wp_getimagesize( $src_file ); 966 966 } 967 967 }
Note: See TracChangeset
for help on using the changeset viewer.