mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 14:20:15 +00:00
Use set_time_limit() to buy some time during upgrade. see #5560
git-svn-id: https://develop.svn.wordpress.org/trunk@9164 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user