From 204501c750442303e3ddbeacbfed41df874bc87d Mon Sep 17 00:00:00 2001
From: Ryan Boren
Date: Tue, 14 Mar 2006 07:42:14 +0000
Subject: [PATCH] setup-config fix from David House. fixes #2544
git-svn-id: https://develop.svn.wordpress.org/trunk@3643 602fd350-edb4-49c9-b593-d223f7449a82
---
wp-admin/setup-config.php | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/wp-admin/setup-config.php b/wp-admin/setup-config.php
index d2c28297d0..2d6d92d056 100644
--- a/wp-admin/setup-config.php
+++ b/wp-admin/setup-config.php
@@ -13,7 +13,8 @@ if (!is_writable('../')) die("Sorry, I can't write to the directory. You'll have
$step = 0;
if(isset($_GET['step'])) $step = $_GET['step'];
header( 'Content-Type: text/html; charset=utf-8' );
-?>
+
+function setup_header() { ?>
@@ -50,10 +51,13 @@ header( 'Content-Type: text/html; charset=utf-8' );
+
Welcome to WordPress. Before getting started, we need some information on the database. You will need to know the following items before proceeding.
- Database name
@@ -68,6 +72,7 @@ switch($step) {
break;
case 1:
+ setup_header();
?>