From 85bc4ebd080831c8b112a715b228ef376644b98d Mon Sep 17 00:00:00 2001 From: ryan Date: Wed, 22 Oct 2008 21:14:49 +0000 Subject: [PATCH] Set perms on update-core.php after copying git-svn-id: http://svn.automattic.com/wordpress/trunk@9288 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/update.php | 1 + 1 file changed, 1 insertion(+) diff --git a/wp-admin/includes/update.php b/wp-admin/includes/update.php index 679b5ffa10..8b7d712d66 100644 --- a/wp-admin/includes/update.php +++ b/wp-admin/includes/update.php @@ -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');