Changeset 50553 for branches/5.7
- Timestamp:
- 03/19/2021 02:11:23 AM (4 years ago)
- Location:
- branches/5.7
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/5.7
-
branches/5.7/src/wp-admin/includes/image.php
r50170 r50553 712 712 713 713 $iptc = array(); 714 $info = array(); 714 715 /* 715 716 * Read IPTC first, since it might contain data not available in exif such -
branches/5.7/src/wp-includes/media.php
r50274 r50553 4971 4971 * @since 5.7.0 4972 4972 * 4973 * @param string $filename The file path.4974 * @param array $image info Extended image information, passed by reference.4973 * @param string $filename The file path. 4974 * @param array $image_info Optional. Extended image information (passed by reference). 4975 4975 * @return array|false Array of image information or false on failure. 4976 4976 */ 4977 function wp_getimagesize( $filename, &$imageinfo = array()) {4977 function wp_getimagesize( $filename, array &$image_info = null ) { 4978 4978 if ( 4979 4979 // Skip when running unit tests. … … 4983 4983 defined( 'WP_DEBUG' ) && WP_DEBUG 4984 4984 ) { 4985 return getimagesize( $filename, $image info );4985 return getimagesize( $filename, $image_info ); 4986 4986 } 4987 4987 … … 4997 4997 * phpcs:ignore WordPress.PHP.NoSilencedErrors 4998 4998 */ 4999 return @getimagesize( $filename, $image info );5000 } 4999 return @getimagesize( $filename, $image_info ); 5000 }
Note: See TracChangeset
for help on using the changeset viewer.