Make WordPress Core


Ignore:
Timestamp:
12/06/2010 03:41:19 PM (14 years ago)
Author:
nacin
Message:

Link to network/update-core when running multisite. Remove theme/plugin editors from blog menu when running multisite. Redirect to network/* when accessing theme/plugin-install/editor. props ocean90, see #15525.

File:
1 edited

Legend:

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

    r16658 r16747  
    1212/** WordPress Administration Bootstrap */
    1313require_once('./admin.php');
     14
     15if ( is_multisite() && ! is_network_admin() ) {
     16    wp_redirect( network_admin_url( 'plugin-install.php' ) );
     17    exit();
     18}
    1419
    1520$wp_list_table = get_list_table('WP_Plugin_Install_List_Table');
Note: See TracChangeset for help on using the changeset viewer.