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/users.php

    r1733 r1818  
    11<?php
    2 require_once('../wp-includes/wp-l10n.php');
     2require_once('admin.php');
    33
    44$title = __('Users');
     
    2323switch ($action) {
    2424case 'adduser':
    25     $standalone = 1;
    26     require_once('admin-header.php');
    27 
    2825    check_admin_referer();
    2926
     
    10198
    10299case 'promote':
    103 
    104     $standalone = 1;
    105     require_once('admin-header.php');
    106 
    107100    check_admin_referer();
    108101
     
    135128
    136129case 'delete':
    137 
    138     $standalone = 1;
    139     require_once('admin-header.php');
    140130
    141131    check_admin_referer();
     
    177167default:
    178168   
    179     $standalone = 0;
    180169    include ('admin-header.php');
    181170    ?>
Note: See TracChangeset for help on using the changeset viewer.