- Timestamp:
- 02/09/2020 04:52:28 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-filesystem-ssh2.php
r47122 r47219 239 239 240 240 if ( $returnbool ) { 241 return ( $data === false) ? false : '' != trim( $data );241 return ( false === $data ) ? false : '' != trim( $data ); 242 242 } else { 243 243 return $data; … … 286 286 $ret = file_put_contents( $this->sftp_path( $file ), $contents ); 287 287 288 if ( $ret !== strlen( $contents )) {288 if ( strlen( $contents ) !== $ret ) { 289 289 return false; 290 290 }
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)