Opened 12 years ago
Closed 12 years ago
#29628 closed defect (bug) (fixed)
Undefined variable: arg class-ftp.php:508
| Reported by: | hugodelgado | Owned by: | dd32 |
|---|---|---|---|
| Priority: | normal | Milestone: | 4.1 |
| Component: | Filesystem API | Version: | 4.0 |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: |
Description (last modified by )
Notice: Undefined variable: arg in wp-admin/includes/class-ftp.php on line 508. It has an easy fix:
where is:
function nlist($pathname="") {
return $this->_list(($arg?" ".$arg:"").($pathname?" ".$pathname:""), "NLST", "nlist");
}
should be:
function nlist($pathname="", arg="") {
return $this->_list(($arg?" ".$arg:"").($pathname?" ".$pathname:""), "NLST", "nlist");
}
Change History (6)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Although this is an external library PemFTP it appears to be abandoned for development now, so we should probably just go ahead and make any alterations we need.