Ticket #38570: 38570.patch
File 38570.patch, 2.4 KB (added by , 8 years ago) |
---|
-
wp-admin/includes/network.php
177 177 ); 178 178 echo '</p>'; 179 179 } elseif ( $is_apache ) { 180 echo '<div class="error inline"><p><strong>' . __( 'Warning !' ) . '</strong> ';180 echo '<div class="error inline"><p><strong>' . __( 'Warning:' ) . '</strong> '; 181 181 /* translators: %s: mod_rewrite */ 182 182 printf( __( 'It looks like the Apache %s module is not installed.' ), 183 183 '<code>mod_rewrite</code>' … … 226 226 endif; 227 227 228 228 if ( WP_CONTENT_DIR != ABSPATH . 'wp-content' && ( allow_subdirectory_install() || ! allow_subdomain_install() ) ) 229 echo '<div class="error inline"><p><strong>' . __('Warning !') . '</strong> ' . __( 'Subdirectory networks may not be fully compatible with custom wp-content directories.' ) . '</p></div>';229 echo '<div class="error inline"><p><strong>' . __('Warning:') . '</strong> ' . __( 'Subdirectory networks may not be fully compatible with custom wp-content directories.' ) . '</p></div>'; 230 230 231 231 $is_www = ( 0 === strpos( $hostname, 'www.' ) ); 232 232 if ( $is_www ) : … … 267 267 ); 268 268 // Uh oh: 269 269 if ( !allow_subdirectory_install() ) 270 echo ' <strong>' . __( 'Warning !' ) . ' ' . __( 'The main site in a sub-directory install will need to use a modified permalink structure, potentially breaking existing links.' ) . '</strong>';270 echo ' <strong>' . __( 'Warning:' ) . ' ' . __( 'The main site in a sub-directory install will need to use a modified permalink structure, potentially breaking existing links.' ) . '</strong>'; 271 271 ?></td> 272 272 </tr> 273 273 <?php elseif ( !allow_subdomain_install() ) : ?> … … 277 277 _e( 'Because your install is in a directory, the sites in your WordPress network must use sub-directories.' ); 278 278 // Uh oh: 279 279 if ( !allow_subdirectory_install() ) 280 echo ' <strong>' . __( 'Warning !' ) . ' ' . __( 'The main site in a sub-directory install will need to use a modified permalink structure, potentially breaking existing links.' ) . '</strong>';280 echo ' <strong>' . __( 'Warning:' ) . ' ' . __( 'The main site in a sub-directory install will need to use a modified permalink structure, potentially breaking existing links.' ) . '</strong>'; 281 281 ?></td> 282 282 </tr> 283 283 <?php elseif ( !allow_subdirectory_install() ) : ?>