Changes from branches/4.3/src/wp-admin/includes/class-wp-filesystem-ssh2.php at r33883 to trunk/src/wp-admin/includes/class-wp-filesystem-ssh2.php at r32726
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-filesystem-ssh2.php
r33883 r32726 384 384 */ 385 385 public function is_writable($file) { 386 // PHP will base it's writable checks on system_user === file_owner, not ssh_user === file_owner387 return true;386 $file = ltrim($file, '/'); 387 return is_writable('ssh2.sftp://' . $this->sftp_link . '/' . $file); 388 388 } 389 389 /**
Note: See TracChangeset
for help on using the changeset viewer.