Make WordPress Core

Changeset 59845


Ignore:
Timestamp:
02/20/2025 07:22:20 AM (2 months ago)
Author:
adamsilverstein
Message:

Media: fix indentation for media.php.

Follow up to r59844.

Props: mukesh27.

See #62900.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/image.php

    r59844 r59845  
    369369        }
    370370    } elseif ( ! empty( $exif_meta['orientation'] ) && 1 !== (int) $exif_meta['orientation'] ) {
    371             // Rotate the whole original image if there is EXIF data and "orientation" is not 1.
    372 
    373             $editor = wp_get_image_editor( $file );
     371        // Rotate the whole original image if there is EXIF data and "orientation" is not 1.
     372        $editor = wp_get_image_editor( $file );
    374373
    375374        if ( is_wp_error( $editor ) ) {
     
    378377        }
    379378
    380             // Rotate the image.
    381             $rotated = $editor->maybe_exif_rotate();
     379        // Rotate the image.
     380        $rotated = $editor->maybe_exif_rotate();
    382381
    383382        if ( true === $rotated ) {
Note: See TracChangeset for help on using the changeset viewer.