Changeset 46659
- Timestamp:
- 11/05/2019 08:56:25 PM (5 years ago)
- Location:
- branches/5.3
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/5.3
-
branches/5.3/src/wp-admin/includes/image.php
r46655 r46659 272 272 273 273 if ( ! is_wp_error( $resized ) ) { 274 // Append the threshold size to the image file name. It will look like "my-image-scaled-2560.jpg".274 // Append "-scaled" to the image file name. It will look like "my_image-scaled.jpg". 275 275 // This doesn't affect the sub-sizes names as they are generated from the original image (for best quality). 276 $saved = $editor->save( $editor->generate_filename( 'scaled -' . $threshold) );276 $saved = $editor->save( $editor->generate_filename( 'scaled' ) ); 277 277 278 278 if ( ! is_wp_error( $saved ) ) {
Note: See TracChangeset
for help on using the changeset viewer.