- Timestamp:
- 04/05/2021 10:36:17 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-filesystem-ftpsockets.php
r49936 r50657 211 211 $bytes_written = fwrite( $temphandle, $contents ); 212 212 213 if ( false === $bytes_written || strlen( $contents ) != $bytes_written ) {213 if ( false === $bytes_written || strlen( $contents ) !== $bytes_written ) { 214 214 fclose( $temphandle ); 215 215 unlink( $tempfile ); … … 651 651 } 652 652 653 if ( $limit_file && $struc['name'] != $limit_file ) {653 if ( $limit_file && $struc['name'] !== $limit_file ) { 654 654 continue; 655 655 }
Note: See TracChangeset
for help on using the changeset viewer.