Set umask to 0 when creating site theme.
git-svn-id: https://develop.svn.wordpress.org/trunk@2242 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
728874a7b7
commit
ea3809cba3
|
@ -636,6 +636,7 @@ function make_site_theme() {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
umask(0);
|
||||||
if (! mkdir($site_dir, 0777)) {
|
if (! mkdir($site_dir, 0777)) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue