Make WordPress Core


Ignore:
Timestamp:
11/25/2015 09:44:02 PM (8 years ago)
Author:
wonderboymusic
Message:

Upgrade: New themes are not automatically installed on upgrade. This can still be explicitly asked for by defining CORE_UPGRADE_SKIP_NEW_BUNDLED as false.

In populate_options(), if the theme specified by WP_DEFAULT_THEME doesn't exist, fall back to the latest core default theme. If we can't find a core default theme, WP_DEFAULT_THEME is the best we can do.

Props nacin, jeremyfelt, dd32.
See #34306.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/theme.php

    r33815 r35738  
    177177     */
    178178    function test_default_theme_in_default_theme_list() {
     179        $this->markTestSkipped( 'Core repository inclusion was stopped after Twenty Fifteen' );
    179180        if ( 'twenty' === substr( WP_DEFAULT_THEME, 0, 6 ) ) {
    180181            $this->assertContains( WP_DEFAULT_THEME, $this->default_themes );
Note: See TracChangeset for help on using the changeset viewer.