Changeset 48115 for trunk/src/wp-admin/includes/network.php
- Timestamp:
- 06/21/2020 01:58:46 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/network.php
r48108 r48115 114 114 115 115 if ( defined( 'DO_NOT_UPGRADE_GLOBAL_TABLES' ) ) { 116 echo '<div class="error"><p> ' . sprintf(116 echo '<div class="error"><p><strong>' . __( 'Error:' ) . '</strong> ' . sprintf( 117 117 /* translators: %s: DO_NOT_UPGRADE_GLOBAL_TABLES */ 118 118 __( 'The constant %s cannot be defined when creating a network.' ), … … 140 140 $has_ports = strstr( $hostname, ':' ); 141 141 if ( ( false !== $has_ports && ! in_array( $has_ports, array( ':80', ':443' ), true ) ) ) { 142 echo '<div class="error"><p><strong>' . __( ' You cannot install a network of sites with your server address.' ) . '</p></div>';142 echo '<div class="error"><p><strong>' . __( 'Error:' ) . '</strong> ' . __( 'You cannot install a network of sites with your server address.' ) . '</p></div>'; 143 143 echo '<p>' . sprintf( 144 144 /* translators: %s: Port number. */ … … 158 158 $error_codes = array(); 159 159 if ( is_wp_error( $errors ) ) { 160 echo '<div class="error"><p><strong>' . __( ' The network could not be created.' ) . '</strong></p>';160 echo '<div class="error"><p><strong>' . __( 'Error: The network could not be created.' ) . '</strong></p>'; 161 161 foreach ( $errors->get_error_messages() as $error ) { 162 162 echo "<p>$error</p>";
Note: See TracChangeset
for help on using the changeset viewer.