Changeset 3759 for trunk/wp-admin/themes.php
- Timestamp:
- 05/02/2006 10:36:06 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/wp-admin/themes.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/themes.php
r3517 r3759 3 3 4 4 if ( isset($_GET['action']) ) { 5 check_admin_referer( );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 = "themes.php?action=activate&template=$template&stylesheet=$stylesheet";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.