Changeset 16008 for trunk/wp-admin/themes.php
- Timestamp:
- 10/27/2010 10:43:43 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/themes.php
r15962 r16008 17 17 check_admin_referer('switch-theme_' . $_GET['template']); 18 18 switch_theme($_GET['template'], $_GET['stylesheet']); 19 wp_redirect( 'themes.php?activated=true');19 wp_redirect( admin_url('themes.php?activated=true') ); 20 20 exit; 21 21 } else if ( 'delete' == $_GET['action'] ) { … … 24 24 wp_die( __( 'Cheatin’ uh?' ) ); 25 25 delete_theme($_GET['template']); 26 wp_redirect( 'themes.php?deleted=true');26 wp_redirect( admin_url('themes.php?deleted=true') ); 27 27 exit; 28 28 }
Note: See TracChangeset
for help on using the changeset viewer.