Changeset 25744 for trunk/src/wp-admin/includes/image-edit.php
- Timestamp:
- 10/09/2013 07:06:56 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/image-edit.php
r24562 r25744 468 468 469 469 $ratio = _image_get_preview_ratio( $w, $h ); 470 $w2 = $w * $ratio;471 $h2 = $h * $ratio;470 $w2 = max ( 1, $w * $ratio ); 471 $h2 = max ( 1, $h * $ratio ); 472 472 473 473 if ( is_wp_error( $img->resize( $w2, $h2 ) ) )
Note: See TracChangeset
for help on using the changeset viewer.