- Timestamp:
- 01/29/2020 12:43:23 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-filesystem-ssh2.php
r46742 r47122 65 65 $this->errors = new WP_Error(); 66 66 67 // Check if possible to use ssh2 functions.67 // Check if possible to use ssh2 functions. 68 68 if ( ! extension_loaded( 'ssh2' ) ) { 69 69 $this->errors->add( 'no_ssh2_ext', __( 'The ssh2 PHP extension is not available' ) ); … … 583 583 */ 584 584 public function is_writable( $file ) { 585 // PHP will base it 's writable checks on system_user === file_owner, not ssh_user === file_owner585 // PHP will base its writable checks on system_user === file_owner, not ssh_user === file_owner. 586 586 return true; 587 587 } … … 738 738 739 739 if ( '.' == $struc['name'] || '..' == $struc['name'] ) { 740 continue; // Do not care about these folders.740 continue; // Do not care about these folders. 741 741 } 742 742
Note: See TracChangeset
for help on using the changeset viewer.