Ticket #13389: network.php.diff
File network.php.diff, 1.6 KB (added by , 15 years ago) |
---|
-
network.php
110 110 111 111 if ( get_option( 'siteurl' ) != get_option( 'home' ) ) { 112 112 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>'; 113 114 include ('./admin-footer.php' ); 114 115 die(); 115 116 } … … 117 118 $active_plugins = get_option( 'active_plugins' ); 118 119 if ( ! empty( $active_plugins ) ) { 119 120 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>'; 120 122 include( './admin-footer.php' ); 121 123 die(); 122 124 } … … 127 129 echo '<div class="error"><p><strong>' . __( 'Error:') . '</strong> ' . __( 'You cannot install a network of sites with your server address.' ) . '</strong></p></div>'; 128 130 echo '<p>' . sprintf( __( 'You cannot use port numbers such as <code>%s</code>.' ), $has_ports ) . '</p>'; 129 131 echo '<a href="' . esc_url( admin_url() ) . '">' . __( 'Return to Dashboard' ) . '</a>'; 132 echo '</div>'; 130 133 include( './admin-footer.php' ); 131 134 die(); 132 135 }