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-admin/includes/schema.php

    r14451 r14485  
    652652    if ( $template != $stylesheet )
    653653        $allowed_themes[ $template ] = true;
    654     if ( WP_FALLBACK_THEME != $stylesheet && WP_FALLBACK_THEME != $template )
    655         $allowed_themes[ WP_FALLBACK_THEME ] = true;
     654    if ( WP_DEFAULT_THEME != $stylesheet && WP_DEFAULT_THEME != $template )
     655        $allowed_themes[ WP_DEFAULT_THEME ] = true;
    656656
    657657    if ( 1 == $network_id ) {
Note: See TracChangeset for help on using the changeset viewer.