Changeset 45611 for trunk/src/wp-includes/media.php
- Timestamp:
- 07/09/2019 05:44:42 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/media.php
r45541 r45611 239 239 240 240 if ( $thumb_file ) { 241 $info = getimagesize( $thumb_file );241 $info = @getimagesize( $thumb_file ); 242 242 } 243 243 … … 911 911 $icon_dir = apply_filters( 'icon_dir', ABSPATH . WPINC . '/images/media' ); 912 912 913 $src_file 914 @list( $width, $height ) =getimagesize( $src_file );913 $src_file = $icon_dir . '/' . wp_basename( $src ); 914 list( $width, $height ) = @getimagesize( $src_file ); 915 915 } 916 916 }
Note: See TracChangeset
for help on using the changeset viewer.