Make WordPress Core


Ignore:
Timestamp:
08/22/2006 06:20:00 PM (18 years ago)
Author:
ryan
Message:

Die before including the header.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/plugin-editor.php

    r3985 r4111  
    4242default:
    4343
    44     require_once('admin-header.php');
    4544    if ( !current_user_can('edit_plugins') )
    4645        wp_die('<p>'.__('You do not have sufficient permissions to edit plugins for this blog.').'</p>');
     46
     47    require_once('admin-header.php');
    4748
    4849    update_recently_edited("wp-content/plugins/$file");
Note: See TracChangeset for help on using the changeset viewer.