WordPress.org

Make WordPress Core

Changeset 13737


Ignore:
Timestamp:
03/17/2010 05:42:49 PM (10 years ago)
Author:
ryan
Message:

Introduce WP_DEFAULT_THEME

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/schema.php

    r13736 r13737  
    248248    'recently_edited' => '',
    249249    'use_linksupdate' => 0,
    250     'template' => WP_FALLBACK_THEME,
    251     'stylesheet' => WP_FALLBACK_THEME,
     250    'template' => WP_DEFAULT_THEME,
     251    'stylesheet' => WP_DEFAULT_THEME,
    252252    'comment_whitelist' => 1,
    253253    'blacklist_keys' => '',
  • trunk/wp-includes/default-constants.php

    r13500 r13737  
    285285
    286286    /**
     287     * Slug of the default theme for this install.
     288     * Used as the default theme when installing new sites.
     289     * @since 3.0.0
     290     */
     291    if ( !defined('WP_DEFAULT_THEME') )
     292        define( 'WP_DEFAULT_THEME', 'twentyten' );
     293
     294    /**
    287295     * Slug of the fallback theme for this install.
    288296     * Will be used as the fallback if the current theme doesn't exist.
     
    290298     */
    291299    if ( !defined('WP_FALLBACK_THEME') )
    292         define( 'WP_FALLBACK_THEME', 'twentyten' );
     300        define( 'WP_FALLBACK_THEME', WP_DEFAULT_THEME );
    293301}
    294302
Note: See TracChangeset for help on using the changeset viewer.