Ticket #38551: 38551.1.patch
| File 38551.1.patch, 1.2 KB (added by , 9 years ago) |
|---|
-
src/wp-admin/includes/update-core.php
746 746 'themes/twentyseventeen/' => '4.7', 747 747 ); 748 748 749 // If not explicitly defined as false, don't install new default themes.750 if ( ! defined( 'CORE_UPGRADE_SKIP_NEW_BUNDLED' ) || CORE_UPGRADE_SKIP_NEW_BUNDLED ) {751 $_new_bundled_files = array( 'plugins/akismet/' => '2.0' );752 }753 754 749 /** 755 750 * Upgrades the core of WordPress. 756 751 * … … 1037 1032 } 1038 1033 } 1039 1034 1035 // If not explicitly defined as false, don't install new default themes for non-stable releases. 1036 if ( ! $development_build && ( ! defined( 'CORE_UPGRADE_SKIP_NEW_BUNDLED' ) || CORE_UPGRADE_SKIP_NEW_BUNDLED ) ) { 1037 $_new_bundled_files = array( 'plugins/akismet/' => '2.0' ); 1038 } 1039 1040 1040 // Copy New bundled plugins & themes 1041 1041 // This gives us the ability to install new plugins & themes bundled with future versions of WordPress whilst avoiding the re-install upon upgrade issue. 1042 1042 // $development_build controls us overwriting bundled themes and plugins when a non-stable release is being updated