WordPress.org

Make WordPress Core

Changeset 16272


Ignore:
Timestamp:
11/10/2010 02:27:15 PM (9 years ago)
Author:
nacin
Message:

Network admin multisite checks and docs. see #14435.

Location:
trunk/wp-admin/network
Files:
25 edited

Legend:

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

    r15880 r16272  
    44 *
    55 * @package WordPress
    6  * @subpackage Administration
     6 * @subpackage Multisite
    77 * @since 3.1.0
    88 */
    99
    10 define('WP_NETWORK_ADMIN', TRUE);
     10define( 'WP_NETWORK_ADMIN', TRUE );
    1111
    12 require_once( dirname(dirname(__FILE__)) . '/admin.php');
     12/** Load WordPress Administration Bootstrap */
     13require_once( dirname( dirname( __FILE__ ) ) . '/admin.php' );
    1314
    1415if ( ! is_multisite() )
  • trunk/wp-admin/network/edit.php

    r16183 r16272  
    88 */
    99
     10/** Load WordPress Administration Bootstrap */
    1011require_once( './admin.php' );
    1112
  • trunk/wp-admin/network/index-extra.php

    r15880 r16272  
    44 *
    55 * @package WordPress
    6  * @subpackage Administration
     6 * @subpackage Multisite
    77 * @since 3.1.0
    88 */
    99
     10/** Load WordPress Administration Bootstrap */
    1011require_once( './admin.php' );
    1112
  • trunk/wp-admin/network/index.php

    r15878 r16272  
    88 */
    99
    10 /** Load WordPress Bootstrap */
     10/** Load WordPress Administration Bootstrap */
    1111require_once( './admin.php' );
    1212
    1313/** Load WordPress dashboard API */
    14 require_once(ABSPATH . 'wp-admin/includes/dashboard.php');
     14require_once( ABSPATH . 'wp-admin/includes/dashboard.php' );
    1515
    1616if ( !is_multisite() )
  • trunk/wp-admin/network/menu.php

    r16184 r16272  
    44 *
    55 * @package WordPress
    6  * @subpackage Administration
     6 * @subpackage Multisite
    77 * @since 3.1.0
    88 */
  • trunk/wp-admin/network/plugin-editor.php

    r15880 r16272  
    44 *
    55 * @package WordPress
    6  * @subpackage Administration
     6 * @subpackage Multisite
    77 * @since 3.1.0
    88 */
    99
     10/** Load WordPress Administration Bootstrap */
    1011require_once( './admin.php' );
    1112
     13if ( ! is_multisite() )
     14    wp_die( __( 'Multisite support is not enabled.' ) );
     15
    1216require( '../plugin-editor.php' );
  • trunk/wp-admin/network/plugin-install.php

    r15880 r16272  
    44 *
    55 * @package WordPress
    6  * @subpackage Administration
     6 * @subpackage Multisite
    77 * @since 3.1.0
    88 */
    99
     10/** Load WordPress Administration Bootstrap */
    1011require_once( './admin.php' );
    1112
     13if ( ! is_multisite() )
     14    wp_die( __( 'Multisite support is not enabled.' ) );
     15
    1216require( '../plugin-install.php' );
  • trunk/wp-admin/network/plugins.php

    r15880 r16272  
    44 *
    55 * @package WordPress
    6  * @subpackage Administration
     6 * @subpackage Multisite
    77 * @since 3.1.0
    88 */
    99
     10/** Load WordPress Administration Bootstrap */
    1011require_once( './admin.php' );
    1112
     13if ( ! is_multisite() )
     14    wp_die( __( 'Multisite support is not enabled.' ) );
     15
    1216require( '../plugins.php' );
  • trunk/wp-admin/network/profile.php

    r15880 r16272  
    44 *
    55 * @package WordPress
    6  * @subpackage Administration
     6 * @subpackage Multisite
    77 * @since 3.1.0
    88 */
    99
     10/** Load WordPress Administration Bootstrap */
    1011require_once( './admin.php' );
    1112
     13if ( ! is_multisite() )
     14    wp_die( __( 'Multisite support is not enabled.' ) );
     15
    1216require( '../profile.php' );
  • trunk/wp-admin/network/settings.php

    r16271 r16272  
    88 */
    99
     10/** Load WordPress Administration Bootstrap */
    1011require_once( './admin.php' );
    1112
  • trunk/wp-admin/network/site-info.php

    r15962 r16272  
    11<?php
    2 
    32/**
    43 * Edit Site Info Administration Screen
    54 *
    65 * @package WordPress
    7  * @subpackage Administration
     6 * @subpackage Multisite
    87 * @since 3.1.0
    98 */
    109
    1110/** Load WordPress Administration Bootstrap */
    12 require_once('./admin.php');
     11require_once( './admin.php' );
    1312
    1413if ( ! is_multisite() )
  • trunk/wp-admin/network/site-new.php

    r15908 r16272  
    11<?php
    2 
    32/**
    43 * Add Site Administration Screen
    54 *
    65 * @package WordPress
    7  * @subpackage Administration
     6 * @subpackage Multisite
    87 * @since 3.1.0
    98 */
    109
    1110/** Load WordPress Administration Bootstrap */
    12 require_once('./admin.php');
     11require_once( './admin.php' );
    1312
    1413if ( ! is_multisite() )
  • trunk/wp-admin/network/site-options.php

    r15962 r16272  
    11<?php
    2 
    32/**
    43 * Edit Site Options Administration Screen
    54 *
    65 * @package WordPress
    7  * @subpackage Administration
     6 * @subpackage Multisite
    87 * @since 3.1.0
    98 */
    109
    1110/** Load WordPress Administration Bootstrap */
    12 require_once('./admin.php');
     11require_once( './admin.php' );
    1312
    1413if ( ! is_multisite() )
  • trunk/wp-admin/network/site-themes.php

    r16252 r16272  
    44 *
    55 * @package WordPress
    6  * @subpackage Administration
     6 * @subpackage Multisite
    77 * @since 3.1.0
    88 */
    99
     10/** Load WordPress Administration Bootstrap */
    1011require_once( './admin.php' );
     12
     13if ( ! is_multisite() )
     14    wp_die( __( 'Multisite support is not enabled.' ) );
    1115
    1216$wp_list_table = get_list_table('WP_MS_Themes_List_Table');
  • trunk/wp-admin/network/site-users.php

    r15962 r16272  
    11<?php
    2 
    32/**
    43 * Edit Site Users Administration Screen
    54 *
    65 * @package WordPress
    7  * @subpackage Administration
     6 * @subpackage Multisite
    87 * @since 3.1.0
    98 */
    109
    1110/** Load WordPress Administration Bootstrap */
    12 require_once('./admin.php');
     11require_once( './admin.php' );
    1312
    1413if ( ! is_multisite() )
  • trunk/wp-admin/network/sites.php

    r16185 r16272  
    88 */
    99
     10/** Load WordPress Administration Bootstrap */
    1011require_once( './admin.php' );
    1112
  • trunk/wp-admin/network/theme-editor.php

    r15880 r16272  
    44 *
    55 * @package WordPress
    6  * @subpackage Administration
     6 * @subpackage Multisite
    77 * @since 3.1.0
    88 */
    99
     10/** Load WordPress Administration Bootstrap */
    1011require_once( './admin.php' );
    1112
     13if ( ! is_multisite() )
     14    wp_die( __( 'Multisite support is not enabled.' ) );
     15
    1216require( '../theme-editor.php' );
  • trunk/wp-admin/network/theme-install.php

    r15898 r16272  
    44 *
    55 * @package WordPress
    6  * @subpackage Administration
     6 * @subpackage Multisite
    77 * @since 3.1.0
    88 */
    99
     10/** Load WordPress Administration Bootstrap */
    1011require_once( './admin.php' );
    1112
     13if ( ! is_multisite() )
     14    wp_die( __( 'Multisite support is not enabled.' ) );
     15
    1216require( '../theme-install.php' );
  • trunk/wp-admin/network/themes.php

    r16242 r16272  
    88 */
    99
     10/** Load WordPress Administration Bootstrap */
    1011require_once( './admin.php' );
     12
     13if ( ! is_multisite() )
     14    wp_die( __( 'Multisite support is not enabled.' ) );
    1115
    1216$wp_list_table = get_list_table('WP_MS_Themes_List_Table');
  • trunk/wp-admin/network/update-core.php

    r15885 r16272  
    11<?php
     2/**
     3 * Updates network administration panel.
     4 *
     5 * @package WordPress
     6 * @subpackage Multisite
     7 * @since 3.1.0
     8 */
    29
     10/** Load WordPress Administration Bootstrap */
    311require_once( './admin.php' );
    412
     13if ( ! is_multisite() )
     14    wp_die( __( 'Multisite support is not enabled.' ) );
     15
    516require( '../update-core.php' );
  • trunk/wp-admin/network/update.php

    r15880 r16272  
    44 *
    55 * @package WordPress
    6  * @subpackage Administration
     6 * @subpackage Multisite
    77 * @since 3.1.0
    88 */
    99
     10/** Load WordPress Administration Bootstrap */
    1011require_once( './admin.php' );
    1112
     13if ( ! is_multisite() )
     14    wp_die( __( 'Multisite support is not enabled.' ) );
     15
    1216require( '../update.php' );
  • trunk/wp-admin/network/upgrade.php

    r15746 r16272  
    88 */
    99
    10 require_once('./admin.php');
     10/** Load WordPress Administration Bootstrap */
     11require_once( './admin.php' );
    1112
    12 if ( !is_multisite() )
     13if ( ! is_multisite() )
    1314    wp_die( __( 'Multisite support is not enabled.' ) );
    1415
  • trunk/wp-admin/network/user-edit.php

    r15880 r16272  
    44 *
    55 * @package WordPress
    6  * @subpackage Administration
     6 * @subpackage Multisite
    77 * @since 3.1.0
    88 */
    99
     10/** Load WordPress Administration Bootstrap */
    1011require_once( './admin.php' );
    1112
     13if ( ! is_multisite() )
     14    wp_die( __( 'Multisite support is not enabled.' ) );
     15
    1216require( '../user-edit.php' );
  • trunk/wp-admin/network/user-new.php

    r16184 r16272  
    11<?php
    2 
    32/**
    43 * Add Site Administration Screen
    54 *
    65 * @package WordPress
    7  * @subpackage Administration
     6 * @subpackage Multisite
    87 * @since 3.1.0
    98 */
    109
    1110/** Load WordPress Administration Bootstrap */
    12 require_once('./admin.php');
     11require_once( './admin.php' );
    1312
    1413if ( ! is_multisite() )
  • trunk/wp-admin/network/users.php

    r16183 r16272  
    88 */
    99
     10/** Load WordPress Administration Bootstrap */
    1011require_once( './admin.php' );
     12
     13if ( ! is_multisite() )
     14    wp_die( __( 'Multisite support is not enabled.' ) );
    1115
    1216$wp_list_table = get_list_table('WP_MS_Users_List_Table');
     
    7377    </h2>
    7478
     79    <?php $wp_list_table->views(); ?>
     80
    7581    <form action="" method="get" class="search-form">
    7682        <p class="search-box">
Note: See TracChangeset for help on using the changeset viewer.