Set perms on update-core.php after copying

git-svn-id: http://svn.automattic.com/wordpress/trunk@9288 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2008-10-22 21:14:49 +00:00
parent c157d8861a
commit 85bc4ebd08
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');