~canonical-sysadmins/wordpress/4.7.4

« back to all changes in this revision

Viewing changes to wp-admin/network/plugin-install.php

  • Committer: Jacek Nykis
  • Date: 2015-01-05 16:17:05 UTC
  • Revision ID: jacek.nykis@canonical.com-20150105161705-w544l1h5mcg7u4w9
Initial commit

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?php
 
2
/**
 
3
 * Install plugin network administration panel.
 
4
 *
 
5
 * @package WordPress
 
6
 * @subpackage Multisite
 
7
 * @since 3.1.0
 
8
 */
 
9
 
 
10
if ( isset( $_GET['tab'] ) && ( 'plugin-information' == $_GET['tab'] ) )
 
11
        define( 'IFRAME_REQUEST', true );
 
12
 
 
13
/** Load WordPress Administration Bootstrap */
 
14
require_once( dirname( __FILE__ ) . '/admin.php' );
 
15
 
 
16
if ( ! is_multisite() )
 
17
        wp_die( __( 'Multisite support is not enabled.' ) );
 
18
 
 
19
require( ABSPATH . 'wp-admin/plugin-install.php' );