WordPress.org

Make WordPress Core

Ticket #13389: network.php.diff

File network.php.diff, 1.6 KB (added by Caspie, 9 years ago)

small patch

  • network.php

     
    110110
    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();
    115116        }
     
    117118        $active_plugins = get_option( 'active_plugins' );
    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();
    122124        }
     
    127129                echo '<div class="error"><p><strong>' . __( 'Error:') . '</strong> ' . __( 'You cannot install a network of sites with your server address.' ) . '</strong></p></div>';
    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();
    132135        }