WordPress.org

Make WordPress Core


Ignore:
Timestamp:
05/06/2010 07:53:40 PM (11 years ago)
Author:
nacin
Message:

Remove WP_FALLBACK_THEME, use WP_DEFAULT_THEME instead. We now only fall back to the default theme if the theme is broken. Incomplete themes that need to inherit templates will inherit them from wp-includes/theme-compat -- this behavior is deprecated. fixes #12846.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/default-constants.php

    r13737 r14485  
    287287     * Slug of the default theme for this install.
    288288     * Used as the default theme when installing new sites.
     289     * Will be used as the fallback if the current theme doesn't exist.
    289290     * @since 3.0.0
    290291     */
     
    292293        define( 'WP_DEFAULT_THEME', 'twentyten' );
    293294
    294     /**
    295      * Slug of the fallback theme for this install.
    296      * Will be used as the fallback if the current theme doesn't exist.
    297      * @since 3.0.0
    298      */
    299     if ( !defined('WP_FALLBACK_THEME') )
    300         define( 'WP_FALLBACK_THEME', WP_DEFAULT_THEME );
    301295}
    302296
Note: See TracChangeset for help on using the changeset viewer.