mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 14:20:15 +00: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:
@@ -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');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user