Make WordPress Core


Ignore:
Timestamp:
10/19/2004 03:03:06 AM (20 years ago)
Author:
rboren
Message:

Split admin-header.php into admin.php and admin-header.php. Split menu.php into menu-header.php and menu.php. Add plugin admin page support.

File:
1 edited

Legend:

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

    r1711 r1818  
    11<?php
     2require_once('admin.php');
    23
    34if ( isset($_GET['action']) ) {
    4     $standalone = 1;
    5     require_once('admin-header.php');
    6 
    75    check_admin_referer();
    86
     
    2523}
    2624
    27 require_once('../wp-includes/wp-l10n.php');
    2825$title = __('Manage Plugins');
    2926require_once('admin-header.php');
    30 
    31 if ($user_level < 9) // Must be at least level 9
    32     die (__('Sorry, you must be at least a level 8 user to modify plugins.'));
    3327
    3428// Clean up options
Note: See TracChangeset for help on using the changeset viewer.