diff --git a/wp-admin/network.php b/wp-admin/network.php index 7d6c788552..b78fb73e45 100644 --- a/wp-admin/network.php +++ b/wp-admin/network.php @@ -130,6 +130,13 @@ function network_step1( $errors = false ) { die(); } + if ( defined('DO_NOT_UPGRADE_GLOBAL_TABLES') ) { + echo '

' . __('Error:') . ' ' . __( 'The constant DO_NOT_UPGRADE_GLOBAL_TABLES cannot be defined when creating a network.' ) . '

'; + echo ''; + include ('./admin-footer.php' ); + die(); + } + $active_plugins = get_option( 'active_plugins' ); if ( ! empty( $active_plugins ) ) { echo '

' . __('Warning:') . ' ' . sprintf( __( 'Please deactivate your plugins before enabling the Network feature.' ), admin_url( 'plugins.php?plugin_status=active' ) ) . '

' . __( 'Once the network is created, you may reactivate your plugins.' ) . '

';