Changeset 46658
- Timestamp:
- 11/05/2019 08:51:12 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/image.php
r46651 r46658 277 277 278 278 if ( ! is_wp_error( $resized ) ) { 279 // Append the threshold size to the image file name. It will look like "my-image-scaled-2560.jpg".279 // Append "-scaled" to the image file name. It will look like "my_image-scaled.jpg". 280 280 // This doesn't affect the sub-sizes names as they are generated from the original image (for best quality). 281 $saved = $editor->save( $editor->generate_filename( 'scaled -' . $threshold) );281 $saved = $editor->save( $editor->generate_filename( 'scaled' ) ); 282 282 283 283 if ( ! is_wp_error( $saved ) ) {
Note: See TracChangeset
for help on using the changeset viewer.