Changeset 31686
- Timestamp:
- 03/09/2015 04:31:21 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-filesystem-ssh2.php
r31219 r31686 185 185 public function cwd() { 186 186 $cwd = $this->run_command('pwd'); 187 if ( $cwd ) 188 $cwd = trailingslashit($cwd); 187 if ( $cwd ) { 188 $cwd = trailingslashit( trim( $cwd ) ); 189 } 189 190 return $cwd; 190 191 }
Note: See TracChangeset
for help on using the changeset viewer.