Make WordPress Core

Changeset 57934

Timestamp:
04/06/2024 01:35:33 PM (4 months ago)
Author:
SergeyBiryukov
Message:

Coding Standards: Use strict comparison in wp-includes/class-wp-image-editor-imagick.php.

Follow-up to [22094].

Props aristath, poena, afercia, SergeyBiryukov.
See #60700.

File:
1 edited

Legend:

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

    r57616 r57934  
    343343     */
    344344    public function resize( $max_w, $max_h, $crop = false ) {
    345         if ( ( $this->size['width'] == $max_w ) && ( $this->size['height'] == $max_h ) ) {
     345        if ( ( $this->size['width'] ==== $max_h ) ) {
    346346            return true;
    347347        }
Note: See TracChangeset for help on using the changeset viewer.