Make WordPress Core


Ignore:
Timestamp:
03/16/2008 09:49:10 AM (16 years ago)
Author:
ryan
Message:

FTP CWD fixes from DD32. see #6245

File:
1 edited

Legend:

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

    r7257 r7327  
    318318        if(!$this->_exec("PWD", "pwd")) return FALSE;
    319319        if(!$this->_checkCode()) return FALSE;
    320         return ereg_replace("^[0-9]{3} \"(.+)\" .+".CRLF, "\\1", $this->_message);
     320        return ereg_replace("^[0-9]{3} \"(.+)\".+", "\\1", $this->_message);
    321321    }
    322322
Note: See TracChangeset for help on using the changeset viewer.