Make WordPress Core

Changeset 1299


Ignore:
Timestamp:
05/17/2004 08:16:54 PM (20 years ago)
Author:
michelvaldrighi
Message:

using check_admin_referer for plugin (de)activation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/plugins.php

    r1245 r1299  
    44    $standalone = 1;
    55    require_once('admin-header.php');
     6
     7    check_admin_referer();
     8
    69    if ('activate' == $_GET['action']) {
    710        $current = "\n" . get_settings('active_plugins') . "\n";
Note: See TracChangeset for help on using the changeset viewer.