Make WordPress Core


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

Coding Standards: Use Yoda conditions where appropriate.

See #49222.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-wp-filesystem-ftpsockets.php

    r47198 r47219  
    203203
    204204                $bytes_written = fwrite( $temphandle, $contents );
    205                 if ( false === $bytes_written || $bytes_written != strlen( $contents ) ) {
     205                if ( false === $bytes_written || strlen( $contents ) != $bytes_written ) {
    206206                        fclose( $temphandle );
    207207                        unlink( $temp );
Note: See TracChangeset for help on using the changeset viewer.