Changeset 14659
- Timestamp:
- 05/15/2010 06:49:16 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/network.php
r14657 r14659 97 97 <h2><?php echo esc_html( $title ); ?></h2> 98 98 99 <form method="post" action="">100 99 <?php 101 100 /** … … 110 109 111 110 if ( get_option( 'siteurl' ) != get_option( 'home' ) ) { 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>';111 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>'; 113 112 echo '</div>'; 114 113 include ('./admin-footer.php' ); … … 127 126 $has_ports = strstr( $hostname, ':' ); 128 127 if ( ( false !== $has_ports && ! in_array( $has_ports, array( ':80', ':443' ) ) ) ) { 129 echo '<div class="error"><p><strong>' . __( 'Error:') . '</strong> ' . __( 'You cannot install a network of sites with your server address.' ) . '</ strong></p></div>';128 echo '<div class="error"><p><strong>' . __( 'Error:') . '</strong> ' . __( 'You cannot install a network of sites with your server address.' ) . '</p></div>'; 130 129 echo '<p>' . sprintf( __( 'You cannot use port numbers such as <code>%s</code>.' ), $has_ports ) . '</p>'; 131 130 echo '<a href="' . esc_url( admin_url() ) . '">' . __( 'Return to Dashboard' ) . '</a>'; … … 134 133 die(); 135 134 } 135 136 echo '<form method="post" action="">'; 136 137 137 138 wp_nonce_field( 'install-network-1' ); … … 245 246 </table> 246 247 <p class='submit'><input class="button-primary" name='submit' type='submit' value='<?php esc_attr_e( 'Install' ); ?>' /></p> 248 </form> 247 249 <?php 248 250 } … … 391 393 } 392 394 ?> 393 </form>394 395 </div> 395 396
Note: See TracChangeset
for help on using the changeset viewer.