Pass correct number of args to ftp_chdir(). Props Denis-de-Bernardy. see #10889
git-svn-id: http://svn.automattic.com/wordpress/trunk@12369 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
fba269f7f4
commit
e2c408bfbe
|
@ -134,7 +134,7 @@ class WP_Filesystem_FTPext extends WP_Filesystem_Base {
|
||||||
return $cwd;
|
return $cwd;
|
||||||
}
|
}
|
||||||
function chdir($dir) {
|
function chdir($dir) {
|
||||||
return @ftp_chdir($dir);
|
return @ftp_chdir($this->link, $dir);
|
||||||
}
|
}
|
||||||
function chgrp($file, $group, $recursive = false ) {
|
function chgrp($file, $group, $recursive = false ) {
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Reference in New Issue