Make WordPress Core


Ignore:
Timestamp:
02/09/2020 04:52:28 PM (6 years ago)
Author:
SergeyBiryukov
Message:

Coding Standards: Use Yoda conditions where appropriate.

See #49222.

File:
1 edited

Legend:

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

    r47122 r47219  
    419419        $orientation = apply_filters( 'wp_image_maybe_exif_rotate', $orientation, $this->file );
    420420
    421         if ( ! $orientation || $orientation === 1 ) {
     421        if ( ! $orientation || 1 === $orientation ) {
    422422            return false;
    423423        }
Note: See TracChangeset for help on using the changeset viewer.