Ticket #14246: 14246.diff
File 14246.diff, 933 bytes (added by , 13 years ago) |
---|
-
wp-admin/network.php
130 130 die(); 131 131 } 132 132 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 133 140 $active_plugins = get_option( 'active_plugins' ); 134 141 if ( ! empty( $active_plugins ) ) { 135 142 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>';