WordPress.org

Make WordPress Core

Changeset 16925


Ignore:
Timestamp:
12/14/2010 07:19:47 PM (7 years ago)
Author:
nacin
Message:

Revert to WP_DEFAULT_THEME if a child theme is in use and no style.css is present. fixes #15712, props greuben.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/theme.php

    r16924 r16925  
    12871287        return false;
    12881288    }
    1289    
     1289
    12901290    if ( is_child_theme() && ! file_exists( get_stylesheet_directory() . '/style.css' ) ) {
    12911291        switch_theme( WP_DEFAULT_THEME, WP_DEFAULT_THEME );
Note: See TracChangeset for help on using the changeset viewer.