Changeset 13679
- Timestamp:
- 03/11/2010 11:53:03 PM (15 years ago)
- Location:
- trunk/wp-admin
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/menu.php
r13660 r13679 183 183 if ( is_multisite() && !is_main_site() ) 184 184 $submenu['tools.php'][25] = array( __('Delete Site'), 'manage_options', 'ms-delete-site.php' ); 185 if ( is_super_admin() && defined('WP_ALLOW_MULTISITE') && WP_ALLOW_MULTISITE)185 if ( ( ! is_multisite() || defined( 'MULTISITE' ) ) && defined('WP_ALLOW_MULTISITE') && WP_ALLOW_MULTISITE && is_super_admin() ) 186 186 $submenu['tools.php'][50] = array(__('Network'), 'manage_options', 'network.php'); 187 187 -
trunk/wp-admin/network.php
r13676 r13679 16 16 if ( ! is_super_admin() ) 17 17 wp_die( __( 'You do not have sufficient permissions to manage options for this site.' ) ); 18 19 if ( is_multisite() && ! defined( 'MULTISITE' ) ) 20 wp_die( __('The Network creation panel is not for WordPress MU networks.') ); 18 21 19 22 // We need to create references to ms global tables to enable Network. … … 287 290 288 291 # uploaded files 289 RewriteRule ^' . ( $vhost ? ' ([_0-9a-zA-Z-]+/)?' : '' ) . 'files/(.+) wp-includes/ms-files.php?file=$2[L]' . "\n";292 RewriteRule ^' . ( $vhost ? '' : '([_0-9a-zA-Z-]+/)?' ) . 'files/(.+) wp-includes/ms-files.php?file=$' . ( $vhost ? 1 : 2 ) . ' [L]' . "\n"; 290 293 291 294 if ( ! $vhost )
Note: See TracChangeset
for help on using the changeset viewer.