Bootstrap: do not go gentle into that good night r38411, r38412, and parts of r38389.

See #36335.


git-svn-id: https://develop.svn.wordpress.org/trunk@38470 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Scott Taylor
2016-08-31 16:30:48 +00:00
parent 09856f3a5c
commit cba0e2c8f7
49 changed files with 396 additions and 50 deletions

View File

@@ -505,6 +505,7 @@ function wp_update_themes( $extra_stats = array() ) {
*/
function wp_maybe_auto_update() {
include_once( ABSPATH . '/wp-admin/includes/admin.php' );
include_once( ABSPATH . '/wp-admin/includes/class-wp-upgrader.php' );
$upgrader = new WP_Automatic_Updater;
$upgrader->run();