Changeset 6626 for trunk/wp-admin/plugins.php
- Timestamp:
- 01/16/2008 04:45:36 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/plugins.php
r6580 r6626 3 3 4 4 if ( isset($_GET['action']) ) { 5 if ( isset($_GET['plugin']) ) 6 $plugin = trim($_GET['plugin']); 7 5 8 if ( 'activate' == $_GET['action'] ) { 6 9 check_admin_referer('activate-plugin_' . $_GET['plugin']); … … 10 13 wp_redirect('plugins.php?activate=true'); // overrides the ?error=true one above 11 14 } elseif ( 'error_scrape' == $_GET['action'] ) { 12 $plugin = trim($_GET['plugin']);13 15 check_admin_referer('plugin-activation-error_' . $plugin); 14 16 $valid = validate_plugin($plugin);
Note: See TracChangeset
for help on using the changeset viewer.