- Timestamp:
- 03/18/2021 11:59:12 PM (4 years ago)
- Location:
- trunk/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/image.php
r50170 r50552 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 -
trunk/src/wp-includes/media.php
r50505 r50552 4976 4976 * @since 5.7.0 4977 4977 * 4978 * @param string $filename The file path.4979 * @param array $image info Extended image information, passed by reference.4978 * @param string $filename The file path. 4979 * @param array $image_info Optional. Extended image information (passed by reference). 4980 4980 * @return array|false Array of image information or false on failure. 4981 4981 */ 4982 function wp_getimagesize( $filename, &$imageinfo = array()) {4982 function wp_getimagesize( $filename, array &$image_info = null ) { 4983 4983 if ( 4984 4984 // Skip when running unit tests. … … 4988 4988 defined( 'WP_DEBUG' ) && WP_DEBUG 4989 4989 ) { 4990 return getimagesize( $filename, $image info );4990 return getimagesize( $filename, $image_info ); 4991 4991 } 4992 4992 … … 5002 5002 * phpcs:ignore WordPress.PHP.NoSilencedErrors 5003 5003 */ 5004 return @getimagesize( $filename, $image info );5005 } 5004 return @getimagesize( $filename, $image_info ); 5005 }
Note: See TracChangeset
for help on using the changeset viewer.