Attack of the Background-Color Police. Also, let step 3 of install.php accept the url param via GET. This will enable batch installation of WP via scripts, if someone wants to be clever.

git-svn-id: https://develop.svn.wordpress.org/trunk@1068 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Dougal Campbell 2004-04-14 17:10:12 +00:00
parent a2819cad80
commit f963c99d5a
2 changed files with 3 additions and 1 deletions

View File

@ -14,6 +14,7 @@ if (!$step) $step = 0;
<style media="screen" type="text/css">
<!--
body {
background-color: white;
font-family: Georgia, "Times New Roman", Times, serif;
margin-left: 15%;
margin-right: 15%;
@ -707,7 +708,7 @@ $guessurl = str_replace('/wp-admin/install.php?step=2', '', 'http://' . $HTTP_HO
<?php
$url = $_POST['url'];
$url = $_REQUEST['url'];
if (isset($url)) {
$query= "UPDATE $tableoptions set option_value='$url' where option_id=1"; //siteurl
$q = $wpdb->query($query);

View File

@ -13,6 +13,7 @@ if (!$step) $step = 0;
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<style media="screen" type="text/css">
body {
background-color: white;
font-family: Georgia, "Times New Roman", Times, serif;
margin-left: 15%;
margin-right: 15%;