Changeset 50586 for trunk/src/wp-includes/media.php
- Timestamp:
- 03/26/2021 12:07:26 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/media.php
r50560 r50586 4988 4988 defined( 'WP_DEBUG' ) && WP_DEBUG 4989 4989 ) { 4990 return getimagesize( $filename, $image_info ); 4990 if ( 2 === func_num_args() ) { 4991 return getimagesize( $filename, $image_info ); 4992 } else { 4993 return getimagesize( $filename ); 4994 } 4991 4995 } 4992 4996 … … 4999 5003 * 5000 5004 * See https://core.trac.wordpress.org/ticket/42480 5001 * 5002 * phpcs:ignore WordPress.PHP.NoSilencedErrors 5003 */ 5004 return @getimagesize( $filename, $image_info ); 5005 } 5005 */ 5006 if ( 2 === func_num_args() ) { 5007 // phpcs:ignore WordPress.PHP.NoSilencedErrors 5008 return @getimagesize( $filename, $image_info ); 5009 } else { 5010 // phpcs:ignore WordPress.PHP.NoSilencedErrors 5011 return @getimagesize( $filename ); 5012 } 5013 }
Note: See TracChangeset
for help on using the changeset viewer.