diff --git a/wp-admin/includes/update-core.php b/wp-admin/includes/update-core.php index 9a2430b89a..ae1bc88472 100644 --- a/wp-admin/includes/update-core.php +++ b/wp-admin/includes/update-core.php @@ -725,8 +725,9 @@ $_old_files = array( * Directories should be noted by suffixing it with a trailing slash (/) * * @since 3.2.0 - * @since 4.4.0 New themes are not automatically installed on upgrade. - * This can still be explicitly asked for by defining + * @since 4.7.0 New themes were not automatically installed for 4.4-4.6 on + * upgrade. New themes are now installed again. To disable new + * themes from being installed on upgrade, explicitly define * CORE_UPGRADE_SKIP_NEW_BUNDLED as false. * @global array $_new_bundled_files * @var array @@ -746,11 +747,6 @@ $_new_bundled_files = array( 'themes/twentyseventeen/' => '4.7', ); -// If not explicitly defined as false, don't install new default themes. -if ( ! defined( 'CORE_UPGRADE_SKIP_NEW_BUNDLED' ) || CORE_UPGRADE_SKIP_NEW_BUNDLED ) { - $_new_bundled_files = array( 'plugins/akismet/' => '2.0' ); -} - /** * Upgrades the core of WordPress. * diff --git a/wp-includes/version.php b/wp-includes/version.php index 4cbe46d9d4..6efb62c2b4 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.7-beta1-39063'; +$wp_version = '4.7-beta1-39064'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.