Make WordPress Core

Changeset 13904


Ignore:
Timestamp:
03/31/2010 06:23:05 PM (15 years ago)
Author:
wpmuguru
Message:

block enabling network when siteurl and home are not the same, see #12736

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/network.php

    r13811 r13904  
    5454if ( ! network_domain_check() && ( ! defined( 'WP_ALLOW_MULTISITE' ) || ! WP_ALLOW_MULTISITE ) )
    5555    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.' ) );
     56
     57if ( get_option( 'siteurl' ) != get_option( 'home' ) )
     58    wp_die( __( 'Your <strong>WordPress address</strong> must match your <strong>Site address</strong> before creating a Network.' ) );
    5659
    5760$title = __( 'Create a Network of WordPress Sites' );
Note: See TracChangeset for help on using the changeset viewer.