mirror of
git://develop.git.wordpress.org/
synced 2025-02-24 16:43:06 +01:00
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:
parent
89440182ee
commit
06f0822a1a
@ -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…
x
Reference in New Issue
Block a user