Opened 10 years ago
Closed 10 years ago
#29628 closed defect (bug) (fixed)
Undefined variable: arg class-ftp.php:508
Reported by: | hugodelgado | Owned by: | dd32 |
---|---|---|---|
Milestone: | 4.1 | Priority: | normal |
Severity: | normal | Version: | 4.0 |
Component: | Filesystem API | Keywords: | |
Focuses: | Cc: |
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)
#3
@
10 years ago
- Owner set to dd32
- Resolution set to fixed
- Status changed from new to closed
In 29969:
Note: See
TracTickets for help on using
tickets.
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.