Changeset 18841 for trunk/wp-admin/network.php
- Timestamp:
- 09/30/2011 05:18:35 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/network.php
r18692 r18841 136 136 137 137 if ( get_option( 'siteurl' ) != get_option( 'home' ) ) { 138 echo '<div class="error"><p><strong>' . __('E rror:') . '</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' ) ) ) . '</p></div>';138 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' ) ) ) . '</p></div>'; 139 139 echo '</div>'; 140 140 include ( ABSPATH . 'wp-admin/admin-footer.php' ); … … 143 143 144 144 if ( defined('DO_NOT_UPGRADE_GLOBAL_TABLES') ) { 145 echo '<div class="error"><p><strong>' . __('E rror:') . '</strong> ' . __( 'The constant DO_NOT_UPGRADE_GLOBAL_TABLES cannot be defined when creating a network.' ) . '</p></div>';145 echo '<div class="error"><p><strong>' . __('ERROR:') . '</strong> ' . __( 'The constant DO_NOT_UPGRADE_GLOBAL_TABLES cannot be defined when creating a network.' ) . '</p></div>'; 146 146 echo '</div>'; 147 147 include ( ABSPATH . 'wp-admin/admin-footer.php' ); … … 160 160 $has_ports = strstr( $hostname, ':' ); 161 161 if ( ( false !== $has_ports && ! in_array( $has_ports, array( ':80', ':443' ) ) ) ) { 162 echo '<div class="error"><p><strong>' . __( 'E rror:') . '</strong> ' . __( 'You cannot install a network of sites with your server address.' ) . '</p></div>';162 echo '<div class="error"><p><strong>' . __( 'ERROR:') . '</strong> ' . __( 'You cannot install a network of sites with your server address.' ) . '</p></div>'; 163 163 echo '<p>' . sprintf( __( 'You cannot use port numbers such as <code>%s</code>.' ), $has_ports ) . '</p>'; 164 164 echo '<a href="' . esc_url( admin_url() ) . '">' . __( 'Return to Dashboard' ) . '</a>';
Note: See TracChangeset
for help on using the changeset viewer.