FTP/PemFTP Library: Fix some PHP notices.

ftp_base::glob() used each(), which is deprecated as of PHP 7.2.
ftp_base::fget() was missing the decleration of its third parameter, $rest.

Props itowhid06, pento.
Merges [43848] to trunk.
Fixes #44489.

Built from https://develop.svn.wordpress.org/trunk@44184


git-svn-id: http://core.svn.wordpress.org/trunk@44014 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
atimmer
2018-12-15 11:00:40 +00:00
parent 96b2a4677c
commit 7616bf91af
25 changed files with 1423 additions and 749 deletions

View File

@@ -289,6 +289,9 @@ var modifiers = {
ctrl: function ctrl() {
return [CTRL];
},
alt: function alt() {
return [ALT];
},
ctrlShift: function ctrlShift() {
return [CTRL, SHIFT];
},