Changeset 7063 for trunk/wp-admin/includes/class-wp-filesystem-ftpext.php
- Timestamp:
- 02/27/2008 05:19:58 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/class-wp-filesystem-ftpext.php
r7039 r7063 90 90 if( '/' != substr($base, -1) ) $base .= '/'; 91 91 92 if($echo) echo __('Changing to ') . $base.'<br>';92 if($echo) echo sprintf(__('Changing to %s'), $base) .'<br>'; 93 93 if( false === ftp_chdir($this->link, $base) ) 94 94 return false; 95 95 96 96 if( $this->exists($base . 'wp-settings.php') ){ 97 if($echo) echo __('Found ') . $base . 'wp-settings.php<br>';97 if($echo) echo sprintf(__('Found %s'), $base . 'wp-settings.php') . '<br>'; 98 98 $this->wp_base = $base; 99 99 return $this->wp_base; … … 110 110 foreach($arrPath as $key=>$folder){ 111 111 if( $this->is_dir($base . $folder) ){ 112 if($echo) echo __('Found ') . $folder . ' ' . __('Changing to') . ' ' . $base . $folder . '/<br>';112 if($echo) echo sprintf(__('Found %s'), $folder) . ' ' . sprintf(__('Changing to %s'), $base . $folder . '/') . '<br>'; 113 113 return $this->find_base_dir($base . $folder . '/',$echo); 114 114 }
Note: See TracChangeset
for help on using the changeset viewer.