Make WordPress Core

Ticket #14246: 14246.diff

File 14246.diff, 933 bytes (added by wpmuguru, 13 years ago)
  • wp-admin/network.php

     
    130130                die();
    131131        }
    132132
     133        if ( defined('DO_NOT_UPGRADE_GLOBAL_TABLES') ) {
     134                echo '<div class="error"><p><strong>' . __('Error:') . '</strong> ' . __( 'The constant DO_NOT_UPGRADE_GLOBAL_TABLES cannot be defined creating a Network.' ) . '</p></div>';
     135                echo '</div>';
     136                include ('./admin-footer.php' );
     137                die();
     138        }
     139
    133140        $active_plugins = get_option( 'active_plugins' );
    134141        if ( ! empty( $active_plugins ) ) {
    135142                echo '<div class="updated"><p><strong>' . __('Warning:') . '</strong> ' . sprintf( __( 'Please <a href="%s">deactivate your plugins</a> before enabling the Network feature.' ), admin_url( 'plugins.php?plugin_status=active' ) ) . '</p></div><p>' . __( 'Once the network is created, you may reactivate your plugins.' ) . '</p>';