WordPress.org

Make WordPress Core


Ignore:
Timestamp:
07/30/2010 08:34:54 PM (10 years ago)
Author:
ryan
Message:

Network Admin, first pass. see #14435

File:
1 edited

Legend:

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

    r15387 r15481  
    1414if ( !defined('WP_ADMIN') )
    1515    define('WP_ADMIN', TRUE);
     16
     17if ( !defined('WP_NETWORK_ADMIN') )
     18    define('WP_NETWORK_ADMIN', FALSE);
    1619
    1720if ( isset($_GET['import']) && !defined('WP_LOAD_IMPORTERS') )
     
    9194    $taxnow = '';
    9295
    93 require(ABSPATH . 'wp-admin/menu.php');
     96if ( WP_NETWORK_ADMIN )
     97    require(ABSPATH . 'wp-admin/network/menu.php');
     98else
     99    require(ABSPATH . 'wp-admin/menu.php');
    94100
    95101if ( current_user_can( 'manage_options' ) )
Note: See TracChangeset for help on using the changeset viewer.