Ticket #45564: install.patch
File install.patch, 684 bytes (added by , 7 years ago) |
---|
-
.php
old new 370 370 371 371 if ( $error === false ) { 372 372 $wpdb->show_errors(); 373 if(empty($wpdb->show_errors())){ 373 374 $result = wp_install( $weblog_title, $user_name, $admin_email, $public, '', wp_slash( $admin_password ), $loaded_language ); 374 375 ?> 375 376 … … 394 395 </table> 395 396 396 397 <p class="step"><a href="<?php echo esc_url( wp_login_url() ); ?>" class="button button-large"><?php _e( 'Log In' ); ?></a></p> 398 <?php 399 } 400 else{ 401 402 ?> 403 <h1><?php _e( 'Error!' ); ?></h1> 397 404 405 <p><?php _e( 'There is some issue with your database access.' ); ?></p> 398 406 <?php 407 408 } 409 399 410 } 400 411 break; 401 412 }