Set perms on update-core.php after copying

git-svn-id: https://develop.svn.wordpress.org/trunk@9288 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2008-10-22 21:14:49 +00:00
parent 89440182ee
commit 06f0822a1a
1 changed files with 1 additions and 0 deletions

View File

@ -388,6 +388,7 @@ function wp_update_core($feedback = '') {
$wp_filesystem->delete($working_dir, true);
return new WP_Error('copy_failed', __('Could not copy files'));
}
$wp_filesystem->chmod($wp_dir . 'wp-admin/includes/update-core.php', 0644);
require(ABSPATH . 'wp-admin/includes/update-core.php');