Use set_time_limit() to buy some time during upgrade. see #5560

git-svn-id: http://svn.automattic.com/wordpress/trunk@9164 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan
2008-10-14 16:36:43 +00:00
parent d7fccb66d3
commit aceef65ba0
3 changed files with 5 additions and 0 deletions

View File

@@ -323,6 +323,8 @@ function wp_update_theme($theme, $feedback = '') {
function wp_update_core($feedback = '') {
global $wp_filesystem;
@set_time_limit( 300 );
if ( !empty($feedback) )
add_filter('update_feedback', $feedback);