Avoid a PHP Notice in the PemFTP Library by adding a missing function parameter. This parameter is unused by WordPress.
Props hugodelgado. Fixes #29628 Built from https://develop.svn.wordpress.org/trunk@29969 git-svn-id: http://core.svn.wordpress.org/trunk@29715 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
2e30f3d891
commit
6792506741
|
@ -504,7 +504,7 @@ class ftp_base {
|
|||
return $this->_list(($arg?" ".$arg:"").($pathname?" ".$pathname:""), "LIST", "rawlist");
|
||||
}
|
||||
|
||||
function nlist($pathname="") {
|
||||
function nlist($pathname="", $arg="") {
|
||||
return $this->_list(($arg?" ".$arg:"").($pathname?" ".$pathname:""), "NLST", "nlist");
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue