diff --git a/wp-admin/install.php b/wp-admin/install.php index 9fe987eeb..184f17a6c 100644 --- a/wp-admin/install.php +++ b/wp-admin/install.php @@ -6,9 +6,6 @@ if (!file_exists('../wp-config.php')) require_once('../wp-config.php'); require_once('./upgrade-functions.php'); -$schema = ( isset($_SERVER['HTTPS']) && strtolower($_SERVER['HTTPS']) == 'on' ) ? 'https://' : 'http://'; -$guessurl = str_replace('/wp-admin/install.php?step=2', '', $schema . $_SERVER['HTTP_HOST'] . dirname($_SERVER['PHP_SELF']) ); - if (isset($_GET['step'])) $step = $_GET['step']; else @@ -77,10 +74,7 @@ header( 'Content-Type: text/html; charset=utf-8' );
'.__('You appear to have already installed WordPress. To reinstall please clear your old database tables first.').'