From b9eff36d8da4d3cea32d355cfe951e778937fb96 Mon Sep 17 00:00:00 2001 From: dd32 Date: Tue, 1 Jun 2010 04:11:29 +0000 Subject: [PATCH] Reinstate the custom chmod value in FtpExt. Accidentally removed in r12998. Props reaperhulk. Fixes #13667 git-svn-id: http://svn.automattic.com/wordpress/trunk@15086 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 6428425815..df4ce0ad50 100644 --- a/wp-admin/includes/class-wp-filesystem-ftpext.php +++ b/wp-admin/includes/class-wp-filesystem-ftpext.php @@ -249,7 +249,7 @@ class WP_Filesystem_FTPext extends WP_Filesystem_Base { function mkdir($path, $chmod = false, $chown = false, $chgrp = false) { if ( !@ftp_mkdir($this->link, $path) ) return false; - $this->chmod($path); + $this->chmod($path, $chmod); if ( $chown ) $this->chown($path, $chown); if ( $chgrp )