[wp-trac] [WordPress Trac] #29628: Undefined variable: arg class-ftp.php:508
WordPress Trac
noreply at wordpress.org
Thu Sep 11 19:53:35 UTC 2014
#29628: Undefined variable: arg class-ftp.php:508
--------------------------+-----------------------------
Reporter: hugodelgado | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 4.0
Severity: normal | Keywords:
Focuses: |
--------------------------+-----------------------------
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");
}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/29628>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list