Changeset 50662 for branches/5.7/src/wp-includes/media.php
- Timestamp:
- 04/06/2021 03:42:02 AM (4 years ago)
- Location:
- branches/5.7
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/5.7
-
branches/5.7/src/wp-includes/media.php
r50553 r50662 4983 4983 defined( 'WP_DEBUG' ) && WP_DEBUG 4984 4984 ) { 4985 return getimagesize( $filename, $image_info ); 4985 if ( 2 === func_num_args() ) { 4986 return getimagesize( $filename, $image_info ); 4987 } else { 4988 return getimagesize( $filename ); 4989 } 4986 4990 } 4987 4991 … … 4994 4998 * 4995 4999 * See https://core.trac.wordpress.org/ticket/42480 4996 * 4997 * phpcs:ignore WordPress.PHP.NoSilencedErrors 4998 */ 4999 return @getimagesize( $filename, $image_info ); 5000 } 5000 */ 5001 if ( 2 === func_num_args() ) { 5002 // phpcs:ignore WordPress.PHP.NoSilencedErrors 5003 return @getimagesize( $filename, $image_info ); 5004 } else { 5005 // phpcs:ignore WordPress.PHP.NoSilencedErrors 5006 return @getimagesize( $filename ); 5007 } 5008 }
Note: See TracChangeset
for help on using the changeset viewer.