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:
parent
a2819cad80
commit
f963c99d5a
|
@ -14,6 +14,7 @@ if (!$step) $step = 0;
|
||||||
<style media="screen" type="text/css">
|
<style media="screen" type="text/css">
|
||||||
<!--
|
<!--
|
||||||
body {
|
body {
|
||||||
|
background-color: white;
|
||||||
font-family: Georgia, "Times New Roman", Times, serif;
|
font-family: Georgia, "Times New Roman", Times, serif;
|
||||||
margin-left: 15%;
|
margin-left: 15%;
|
||||||
margin-right: 15%;
|
margin-right: 15%;
|
||||||
|
@ -707,7 +708,7 @@ $guessurl = str_replace('/wp-admin/install.php?step=2', '', 'http://' . $HTTP_HO
|
||||||
|
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
$url = $_POST['url'];
|
$url = $_REQUEST['url'];
|
||||||
if (isset($url)) {
|
if (isset($url)) {
|
||||||
$query= "UPDATE $tableoptions set option_value='$url' where option_id=1"; //siteurl
|
$query= "UPDATE $tableoptions set option_value='$url' where option_id=1"; //siteurl
|
||||||
$q = $wpdb->query($query);
|
$q = $wpdb->query($query);
|
||||||
|
|
|
@ -13,6 +13,7 @@ if (!$step) $step = 0;
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
||||||
<style media="screen" type="text/css">
|
<style media="screen" type="text/css">
|
||||||
body {
|
body {
|
||||||
|
background-color: white;
|
||||||
font-family: Georgia, "Times New Roman", Times, serif;
|
font-family: Georgia, "Times New Roman", Times, serif;
|
||||||
margin-left: 15%;
|
margin-left: 15%;
|
||||||
margin-right: 15%;
|
margin-right: 15%;
|
||||||
|
|
Loading…
Reference in New Issue