Make WordPress Core


Ignore:
File:
1 edited

Legend:

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

    r21139 r21069  
    2121        if ( ! $theme->exists() || ! $theme->is_allowed() )
    2222            wp_die( __( 'Cheatin’ uh?' ) );
    23         switch_theme( $theme->get_template(), $theme->get_stylesheet() );
     23        switch_theme($_GET['template'], $_GET['stylesheet']);
    2424        wp_redirect( admin_url('themes.php?activated=true') );
    2525        exit;
     
    6464    ) );
    6565}
    66 
    67 add_thickbox();
    6866
    6967endif; // switch_themes
Note: See TracChangeset for help on using the changeset viewer.