WordPress.org

Make WordPress Core

Changeset 7171


Ignore:
Timestamp:
03/06/2008 06:14:58 PM (13 years ago)
Author:
ryan
Message:

ftpsockets fix from DD32. see #5586

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/class-wp-filesystem-ftpsockets.php

    r7164 r7171  
    180180    }
    181181
     182    function chdir($file){
     183        return $this->ftp->chdir($file);
     184    }
     185   
    182186    function chgrp($file,$group,$recursive=false){
    183187        return false;
     
    326330    function is_dir($path){
    327331        $cwd = $this->cwd();
    328         if ( $this->ftp->chdir($path) ) {
    329             $this->ftp->chdir($cwd);
     332        if ( $this->chdir($path) ) {
     333            $this->chdir($cwd);
    330334            return true;
    331335        }
Note: See TracChangeset for help on using the changeset viewer.