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/update-core.php

    r16696 r16747  
    99/** WordPress Administration Bootstrap */
    1010require_once('./admin.php');
     11
     12if ( is_multisite() && ! is_network_admin() ) {
     13    wp_redirect( network_admin_url( 'update-core.php' ) );
     14    exit();
     15}
    1116
    1217if ( ! current_user_can('update_plugins') )
Note: See TracChangeset for help on using the changeset viewer.