Changeset 50146 for trunk/src/wp-includes/deprecated.php
- Timestamp:
- 02/02/2021 04:51:17 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/deprecated.php
r49992 r50146 1949 1949 if ( ($max_dims = apply_filters('attachment_max_dims', $max_dims)) && file_exists($src_file) ) { 1950 1950 1951 $imagesize = @getimagesize($src_file);1951 $imagesize = wp_getimagesize($src_file); 1952 1952 1953 1953 if (($imagesize[0] > $max_dims[0]) || $imagesize[1] > $max_dims[1] ) {
Note: See TracChangeset
for help on using the changeset viewer.