Changeset 47156 for trunk/src/wp-admin/includes/network.php
- Timestamp:
- 02/01/2020 09:36:44 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/network.php
r47119 r47156 111 111 112 112 if ( defined( 'DO_NOT_UPGRADE_GLOBAL_TABLES' ) ) { 113 echo '<div class="error"><p><strong>' . __( 'E RROR:' ) . '</strong> ' . sprintf(113 echo '<div class="error"><p><strong>' . __( 'Error:' ) . '</strong> ' . sprintf( 114 114 /* translators: %s: DO_NOT_UPGRADE_GLOBAL_TABLES */ 115 115 __( 'The constant %s cannot be defined when creating a network.' ), … … 137 137 $has_ports = strstr( $hostname, ':' ); 138 138 if ( ( false !== $has_ports && ! in_array( $has_ports, array( ':80', ':443' ) ) ) ) { 139 echo '<div class="error"><p><strong>' . __( 'E RROR:' ) . '</strong> ' . __( 'You cannot install a network of sites with your server address.' ) . '</p></div>';139 echo '<div class="error"><p><strong>' . __( 'Error:' ) . '</strong> ' . __( 'You cannot install a network of sites with your server address.' ) . '</p></div>'; 140 140 echo '<p>' . sprintf( 141 141 /* translators: %s: Port number. */ … … 155 155 $error_codes = array(); 156 156 if ( is_wp_error( $errors ) ) { 157 echo '<div class="error"><p><strong>' . __( 'E RROR: The network could not be created.' ) . '</strong></p>';157 echo '<div class="error"><p><strong>' . __( 'Error: The network could not be created.' ) . '</strong></p>'; 158 158 foreach ( $errors->get_error_messages() as $error ) { 159 159 echo "<p>$error</p>";
Note: See TracChangeset
for help on using the changeset viewer.