Make WordPress Core


Ignore:
Timestamp:
12/06/2010 03:41:19 PM (13 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/theme-editor.php

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