Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/wp-admin/install.php
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ function display_setup_form( $error = null ) {
display_header();
die(
'<h1>' . __( 'Already Installed' ) . '</h1>' .
'<p>' . __( 'You appear to have already installed WordPress. To reinstall please clear your old database tables first.' ) . '</p>' .
'<p>' . __( 'You appear to have already installed WordPress. To reinstall, please change your database table prefix.' ) . '</p>' .
'<p class="step"><a href="' . esc_url( wp_login_url() ) . '">' . __( 'Log In' ) . '</a></p>' .
'</body></html>'
);
Expand Down
2 changes: 1 addition & 1 deletion src/wp-includes/ms-deprecated.php
Original file line number Diff line number Diff line change
Expand Up @@ -616,7 +616,7 @@ function install_blog( $blog_id, $blog_title = '' ) {

$suppress = $wpdb->suppress_errors();
if ( $wpdb->get_results( "DESCRIBE {$wpdb->posts}" ) ) {
die( '<h1>' . __( 'Already Installed' ) . '</h1><p>' . __( 'You appear to have already installed WordPress. To reinstall please clear your old database tables first.' ) . '</p></body></html>' );
die( '<h1>' . __( 'Already Installed' ) . '</h1><p>' . __( 'You appear to have already installed WordPress. To reinstall, please change your database table prefix.' ) . '</p></body></html>' );
}
$wpdb->suppress_errors( $suppress );

Expand Down
Loading