Show "Log In" button on install.php when already installed. fixes #10488 props dancole
git-svn-id: http://svn.automattic.com/wordpress/trunk@13356 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
1b7d72fe35
commit
fc250d46f3
|
@ -118,7 +118,7 @@ function display_setup_form( $error = null ) {
|
|||
// Let's check to make sure WP isn't already installed.
|
||||
if ( is_blog_installed() ) {
|
||||
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></body></html>' );
|
||||
die( '<h1>' . __( 'Already Installed' ) . '</h1><p>' . __( 'You appear to have already installed WordPress. To reinstall please clear your old database tables first.' ) . '</p><p class="step"><a href="../wp-login.php" class="button">' . __('Log In') . '</a></p></body></html>' );
|
||||
}
|
||||
|
||||
$php_version = phpversion();
|
||||
|
|
Loading…
Reference in New Issue