Changeset 3928 for trunk/wp-admin/plugins.php
- Timestamp:
- 06/27/2006 05:38:56 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/plugins.php
r3804 r3928 13 13 do_action('activate_' . trim( $_GET['plugin'] )); 14 14 } 15 header('Location:plugins.php?activate=true');15 wp_redirect('plugins.php?activate=true'); 16 16 } else if ('deactivate' == $_GET['action']) { 17 17 check_admin_referer('deactivate-plugin_' . $_GET['plugin']); … … 20 20 update_option('active_plugins', $current); 21 21 do_action('deactivate_' . trim( $_GET['plugin'] )); 22 header('Location:plugins.php?deactivate=true');22 wp_redirect('plugins.php?deactivate=true'); 23 23 } 24 24 exit;
Note: See TracChangeset
for help on using the changeset viewer.