- md5
- 25df49cae9304f2e421f7b4dd3e6e7f5
- sha1
- 25861269d3d84972f42594ab55fac4e47bf5d2d3
- sha256
- 4b62068b21391faea4e45f4a7008acf4dfc3b287b26560ccfc1e10315f2ccdbe
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
<?php
$_wp_installing = 1;
if (!file_exists('../wp-config.php')) die("There doesn't seem to be a wp-config.php file. Double check that you updated wp-config-sample.php with the proper database connection information and renamed it to wp-config.php.");
require('../wp-config.php');
timer_start();
require('upgrade-functions.php');
$step = $_GET['step'];
if (!$step) $step = 0;
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<title>WordPress › Upgrade WordPress</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<style media="screen" type="text/css">
body {
background-color: white;
color: black;
font-family: Georgia, "Times New Roman", Times, serif;
margin-left: 15%;
margin-right: 15%;
}
#logo {
margin: 0;
padding: 0;
background-image: url(http://wordpress.org/images/logo.png);
background-repeat: no-repeat;
height: 60px;
border-bottom: 4px solid #333;
}
#logo a {
display: block;
text-decoration: none;
text-indent: -100em;
height: 60px;
}
p {
line-height: 140%;
}
</style>
</head><body>
<h1 id="logo"><a href="http://wordpress.org">WordPress</a></h1>
<?php
switch($step) {
case 0:
?>
<p>This file upgrades you from any previous version of WordPress to the latest. It may take a while though, so be patient. </p>
<p>If you’re all ready, <a href="upgrade.php?step=1">let's go</a>! </p>
<?php
break;
case 1:
upgrade_all();
?>
<h2>Step 1</h2>
<p>There's actually only one step. So if you see this, you're done. <a href="../">Have fun</a>! </p>
<!--
<pre>
<?php echo $wpdb->num_queries; ?> queries
<?php timer_stop(1); ?> seconds
</pre>
-->
<?php
break;
}
?>
</body>
</html>
No other release has this exact content. See every version of this file.