Changeset 3804 for trunk/wp-admin/themes.php
- Timestamp:
- 05/26/2006 11:08:05 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/wp-admin/themes.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/themes.php
r3759 r3804 3 3 4 4 if ( isset($_GET['action']) ) { 5 check_admin_referer('switch-theme ' . $_GET['template']);5 check_admin_referer('switch-theme_' . $_GET['template']); 6 6 7 7 if ('activate' == $_GET['action']) { … … 70 70 $screenshot = $themes[$theme_name]['Screenshot']; 71 71 $stylesheet_dir = $themes[$theme_name]['Stylesheet Dir']; 72 $activate_link = wp_nonce_url("themes.php?action=activate&template=$template&stylesheet=$stylesheet", 'switch-theme ' . $template);72 $activate_link = wp_nonce_url("themes.php?action=activate&template=$template&stylesheet=$stylesheet", 'switch-theme_' . $template); 73 73 ?> 74 74 <div class="available-theme">
Note: See TracChangeset
for help on using the changeset viewer.