Reinstate the custom chmod value in FtpExt. Accidentally removed in r12998. Props reaperhulk. Fixes #13667

git-svn-id: https://develop.svn.wordpress.org/trunk@15086 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Dion Hulse 2010-06-01 04:11:29 +00:00
parent b8f92556c3
commit 792509c0be
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) {
if ( !@ftp_mkdir($this->link, $path) )
return false;
$this->chmod($path);
$this->chmod($path, $chmod);
if ( $chown )
$this->chown($path, $chown);
if ( $chgrp )