Set umask to 0 when creating site theme.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2242 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
300476b51c
commit
1da65af1e1
|
@ -636,6 +636,7 @@ function make_site_theme() {
|
|||
return false;
|
||||
}
|
||||
|
||||
umask(0);
|
||||
if (! mkdir($site_dir, 0777)) {
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue