Changeset 4024

Show
Ignore:
Timestamp:
07/21/06 19:00:04 (2 years ago)
Author:
ryan
Message:

Don't validate theme during install.

Files:

Legend:

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

    r4017 r4024  
    371371 
    372372function validate_current_theme() { 
     373    // Don't validate during an install/upgrade. 
     374    if ( defined('WP_INSTALLING') ) 
     375        return true; 
     376 
    373377    if ((get_template() != 'default') && (!file_exists(get_template_directory() . '/index.php'))) { 
    374378        update_option('template', 'default');