Changes from branches/3.4/wp-admin/themes.php at r21139 to trunk/wp-admin/themes.php at r21069
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/themes.php
r21139 r21069 21 21 if ( ! $theme->exists() || ! $theme->is_allowed() ) 22 22 wp_die( __( 'Cheatin’ uh?' ) ); 23 switch_theme( $theme->get_template(), $theme->get_stylesheet());23 switch_theme($_GET['template'], $_GET['stylesheet']); 24 24 wp_redirect( admin_url('themes.php?activated=true') ); 25 25 exit; … … 64 64 ) ); 65 65 } 66 67 add_thickbox();68 66 69 67 endif; // switch_themes
Note: See TracChangeset
for help on using the changeset viewer.