Make WordPress Core

Ticket #2106: 2106.diff

File 2106.diff, 902 bytes (added by davidhouse, 21 years ago)
  • wp-includes/functions.php

     
    16731673}
    16741674
    16751675function get_template() {
     1676        $template = get_settings('template');
     1677        if (!file_exists(get_theme_root() . "/$template")) { //works for dirs too
     1678                update_option('template', 'default');
     1679                update_option('stylesheet', 'default');
     1680        }
    16761681        return apply_filters('template', get_settings('template'));
    16771682}
    16781683
  • wp-admin/wp-admin.css

     
    754754        right: 5%;
    755755        width: 14.5em;
    756756}
     757#moremeta select {
     758        width: 96%;
     759}
    757760
    758761#slugdiv input, #passworddiv input, #authordiv select, #thumbdiv input, #parentdiv input {
    759762        margin-top: .5em;