WordPress.org

Make WordPress Core


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

Introduce WP_DEFAULT_THEME

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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.