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:
parent
c157d8861a
commit
85bc4ebd08
|
@ -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');
|
||||
|
||||
|
|
Loading…
Reference in New Issue