Changeset 13634
- Timestamp:
- 03/09/2010 07:10:07 PM (15 years ago)
- Location:
- trunk/wp-admin
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/menu.php
r13607 r13634 182 182 if ( is_multisite() && ($current_blog->domain . $current_blog->path != $current_site->domain . $current_site->path) ) 183 183 $submenu['tools.php'][25] = array( __('Delete Blog'), 'manage_options', 'ms-delete-site.php' ); 184 if ( !is_multisite() && is_super_admin() && defined('WP_ ENABLE_MULTISITE'))184 if ( !is_multisite() && is_super_admin() && defined('WP_ALLOW_MULTISITE') && WP_ALLOW_MULTISITE ) 185 185 $submenu['tools.php'][50] = array(__('Network'), 'manage_options', 'network.php'); 186 186 -
trunk/wp-admin/network.php
r13633 r13634 25 25 foreach ( $wpdb->tables( 'ms_global' ) as $table => $prefixed_table ) 26 26 $wpdb->$table = $prefixed_table; 27 28 if ( ! network_domain_check() && ( ! defined( 'WP_ALLOW_MULTISITE' ) || ! WP_ALLOW_MULTISITE ) ) 29 wp_die( __( 'You must define the <code>WP_ALLOW_MULTISITE</code> constant as true in your wp-config.php file to allow creation of a Network.' ) ); 27 30 28 31 $title = __( 'Create a Network of WordPress Sites' );
Note: See TracChangeset
for help on using the changeset viewer.