From 98c438048db904d7ad1b675a116f86ac3b74be14 Mon Sep 17 00:00:00 2001 From: Dion Hulse Date: Mon, 20 Oct 2014 07:40:41 +0000 Subject: [PATCH] Avoid a PHP Notice in the PemFTP Library by adding a missing function parameter. This parameter is unused by WordPress. Props hugodelgado. Fixes #29628 git-svn-id: https://develop.svn.wordpress.org/trunk@29969 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/includes/class-ftp.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-admin/includes/class-ftp.php b/src/wp-admin/includes/class-ftp.php index f068f157bd..bee9fa1f36 100644 --- a/src/wp-admin/includes/class-ftp.php +++ b/src/wp-admin/includes/class-ftp.php @@ -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"); }