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
This commit is contained in:
dd32 2010-06-01 04:11:29 +00:00
parent 18094087e1
commit b9eff36d8d
1 changed files with 1 additions and 1 deletions

View File

@ -249,7 +249,7 @@ class WP_Filesystem_FTPext extends WP_Filesystem_Base {
function mkdir($path, $chmod = false, $chown = false, $chgrp = false) { function mkdir($path, $chmod = false, $chown = false, $chgrp = false) {
if ( !@ftp_mkdir($this->link, $path) ) if ( !@ftp_mkdir($this->link, $path) )
return false; return false;
$this->chmod($path); $this->chmod($path, $chmod);
if ( $chown ) if ( $chown )
$this->chown($path, $chown); $this->chown($path, $chown);
if ( $chgrp ) if ( $chgrp )