From e2c408bfbe0a3a84f2abb13ae904d82275db3f43 Mon Sep 17 00:00:00 2001 From: ryan Date: Thu, 10 Dec 2009 23:03:25 +0000 Subject: [PATCH] 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 --- wp-admin/includes/class-wp-filesystem-ftpext.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-admin/includes/class-wp-filesystem-ftpext.php b/wp-admin/includes/class-wp-filesystem-ftpext.php index d5c9b0812..b8d5c9ae6 100644 --- a/wp-admin/includes/class-wp-filesystem-ftpext.php +++ b/wp-admin/includes/class-wp-filesystem-ftpext.php @@ -134,7 +134,7 @@ class WP_Filesystem_FTPext extends WP_Filesystem_Base { return $cwd; } function chdir($dir) { - return @ftp_chdir($dir); + return @ftp_chdir($this->link, $dir); } function chgrp($file, $group, $recursive = false ) { return false;