Changeset 35755 for trunk/src/wp-includes/media.php
- Timestamp:
- 12/01/2015 08:57:42 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/media.php
r35753 r35755 1062 1062 } 1063 1063 1064 // If the new ratio differs by less than 0.0 1, use it.1065 if ( abs( $image_ratio - $image_ratio_compare ) < 0.0 1) {1064 // If the new ratio differs by less than 0.002, use it. 1065 if ( abs( $image_ratio - $image_ratio_compare ) < 0.002 ) { 1066 1066 // Add the URL, descriptor, and value to the sources array to be returned. 1067 1067 $sources[ $image['width'] ] = array(
Note: See TracChangeset
for help on using the changeset viewer.