Make WordPress Core


Ignore:
Timestamp:
05/14/2010 12:34:48 PM (14 years ago)
Author:
nacin
Message:

Close wrapper div when ending network_step1 with a warning. props Caspie, fixes #13389.

File:
1 edited

Legend:

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

    r14514 r14630  
    111111    if ( get_option( 'siteurl' ) != get_option( 'home' ) ) {
    112112        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>';
     113        echo '</div>';
    113114        include ('./admin-footer.php' );
    114115        die();
     
    118119    if ( ! empty( $active_plugins ) ) {
    119120        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>';
     121        echo '</div>';
    120122        include( './admin-footer.php' );
    121123        die();
     
    128130        echo '<p>' . sprintf( __( 'You cannot use port numbers such as <code>%s</code>.' ), $has_ports ) . '</p>';
    129131        echo '<a href="' . esc_url( admin_url() ) . '">' . __( 'Return to Dashboard' ) . '</a>';
     132        echo '</div>';
    130133        include( './admin-footer.php' );
    131134        die();
Note: See TracChangeset for help on using the changeset viewer.