Changeset 13929
- Timestamp:
- 04/02/2010 03:24:18 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/network.php
r13926 r13929 68 68 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.' ) ); 69 69 70 if ( get_option( 'siteurl' ) != get_option( 'home' ) )71 wp_die( __( 'Your <strong>WordPress address</strong> must match your <strong>Site address</strong> before creating a Network.' ) );72 73 70 $title = __( 'Create a Network of WordPress Sites' ); 74 71 $parent_file = 'tools.php'; … … 94 91 */ 95 92 function network_step1( $errors = false ) { 93 94 if ( get_option( 'siteurl' ) != get_option( 'home' ) ) { 95 echo '<div class="error"><p><strong>' . __('Error:') . '</strong> ' . sprintf( __( 'Your <strong>WordPress address</strong> must match your <strong>Site address</strong> before creating a Network. See <a href="%s">General Settings</a>.' ), esc_url( admin_url( 'options-general.php' ) ) ) . '</strong></p></div>'; 96 include ('./admin-footer.php' ); 97 die(); 98 } 96 99 97 100 $active_plugins = get_option( 'active_plugins' );
Note: See TracChangeset
for help on using the changeset viewer.