Make WordPress Core


Ignore:
Timestamp:
09/16/2004 06:09:32 PM (21 years ago)
Author:
rboren
Message:

Revert to default theme if active theme is broken.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/themes.php

    r1655 r1675  
    2929?>
    3030
    31 <?php if ( isset($activated) ) : ?>
     31<?php if ( ! validate_current_theme() ) : ?>
     32<div class="updated"><p><?php _e('The active theme is broken.  Reverting to the default theme.'); ?></p></div>
     33<?php elseif ( isset($activated) ) : ?>
    3234<div class="updated"><p><?php _e('New theme activated'); ?></p></div>
    3335<?php endif; ?>
Note: See TracChangeset for help on using the changeset viewer.