Make WordPress Core

Ticket #45152: 45152.diff

File 45152.diff, 1.7 KB (added by jorbin, 6 years ago)
  • src/wp-admin/includes/update-core.php

     
    814814        'themes/twentyfifteen/'   => '4.1',
    815815        'themes/twentysixteen/'   => '4.4',
    816816        'themes/twentyseventeen/' => '4.7',
     817        'themes/twentynineteen/'  => '5.0',
    817818);
    818819
    819820/**
  • src/wp-includes/class-wp-theme.php

     
    5555                'twentyfifteen'   => 'Twenty Fifteen',
    5656                'twentysixteen'   => 'Twenty Sixteen',
    5757                'twentyseventeen' => 'Twenty Seventeen',
     58                'twentynineteen'  => 'Twenty Nineteen',
    5859        );
    5960
    6061        /**
  • src/wp-includes/default-constants.php

     
    358358         * @see WP_Theme::get_core_default_theme()
    359359         */
    360360        if ( !defined('WP_DEFAULT_THEME') )
    361                 define( 'WP_DEFAULT_THEME', 'twentyseventeen' );
     361                define( 'WP_DEFAULT_THEME', 'twentynineteen' );
    362362
    363363}
  • tests/phpunit/tests/theme.php

     
    1111        protected $default_themes = array(
    1212                'twentyten', 'twentyeleven', 'twentytwelve', 'twentythirteen',
    1313                'twentyfourteen', 'twentyfifteen', 'twentysixteen', 'twentyseventeen',
     14                'twentynineteen',
    1415        );
    1516
    1617        function setUp() {