Upgrade: Install new themes upon upgrade again.

This partially reverts [35738], which has shown to provide a bad user experience for users seeking to experiment with TwentySeventeen.

This will result in TwentySixteen being installed in addition to TwentySeventeen.

See #38551.


git-svn-id: https://develop.svn.wordpress.org/trunk@39064 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Dion Hulse
2016-11-01 01:23:17 +00:00
parent 99267c4e1d
commit b92ebd9e2d
2 changed files with 3 additions and 8 deletions

View File

@@ -187,7 +187,6 @@ class Tests_Theme extends WP_UnitTestCase {
* @ticket 29925
*/
function test_default_theme_in_default_theme_list() {
$this->markTestSkipped( 'Core repository inclusion was stopped after Twenty Fifteen' );
if ( 'twenty' === substr( WP_DEFAULT_THEME, 0, 6 ) ) {
$this->assertContains( WP_DEFAULT_THEME, $this->default_themes );
}