Background Updates: Fix a PHP Warning caused by a Upgrader instance being passed into the Theme & Plugin $extra_stats parameter. See #27633
Built from https://develop.svn.wordpress.org/trunk@27928 git-svn-id: http://core.svn.wordpress.org/trunk@27758 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
86d10100d8
commit
0fd4d1e492
|
@ -617,14 +617,14 @@ add_action( 'load-update.php', 'wp_update_plugins' );
|
||||||
add_action( 'load-update-core.php', 'wp_update_plugins' );
|
add_action( 'load-update-core.php', 'wp_update_plugins' );
|
||||||
add_action( 'admin_init', '_maybe_update_plugins' );
|
add_action( 'admin_init', '_maybe_update_plugins' );
|
||||||
add_action( 'wp_update_plugins', 'wp_update_plugins' );
|
add_action( 'wp_update_plugins', 'wp_update_plugins' );
|
||||||
add_action( 'upgrader_process_complete', 'wp_update_plugins' );
|
add_action( 'upgrader_process_complete', 'wp_update_plugins', 10, 0 );
|
||||||
|
|
||||||
add_action( 'load-themes.php', 'wp_update_themes' );
|
add_action( 'load-themes.php', 'wp_update_themes' );
|
||||||
add_action( 'load-update.php', 'wp_update_themes' );
|
add_action( 'load-update.php', 'wp_update_themes' );
|
||||||
add_action( 'load-update-core.php', 'wp_update_themes' );
|
add_action( 'load-update-core.php', 'wp_update_themes' );
|
||||||
add_action( 'admin_init', '_maybe_update_themes' );
|
add_action( 'admin_init', '_maybe_update_themes' );
|
||||||
add_action( 'wp_update_themes', 'wp_update_themes' );
|
add_action( 'wp_update_themes', 'wp_update_themes' );
|
||||||
add_action( 'upgrader_process_complete', 'wp_update_themes' );
|
add_action( 'upgrader_process_complete', 'wp_update_themes', 10, 0 );
|
||||||
|
|
||||||
add_action( 'wp_maybe_auto_update', 'wp_maybe_auto_update' );
|
add_action( 'wp_maybe_auto_update', 'wp_maybe_auto_update' );
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue