X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/7688c6ba71852cd89123b62b2d57683535e4702a..959f97d8ecd5c1668103a3e41c795486b944bc68:/wp-admin/install.php diff --git a/wp-admin/install.php b/wp-admin/install.php index 6f4d7e3e..84011430 100644 --- a/wp-admin/install.php +++ b/wp-admin/install.php @@ -3,7 +3,7 @@ define('WP_INSTALLING', true); if (!file_exists('../wp-config.php')) { require_once('../wp-includes/compat.php'); require_once('../wp-includes/functions.php'); - wp_die("There doesn't seem to be a wp-config.php file. I need this before we can get started. Need more help? We got it. You can create a wp-config.php file through a web interface, but this doesn't work for all server setups. The safest way is to manually create the file.", "WordPress › Error"); + wp_die("There doesn't seem to be a wp-config.php file. I need this before we can get started. Need more help? We got it. You can create a wp-config.php file through a web interface, but this doesn't work for all server setups. The safest way is to manually create the file.

Create a Configuration File", "WordPress › Error"); } require_once('../wp-config.php'); @@ -39,28 +39,27 @@ switch($step) { ?>

ReadMe documentation at your leisure. Otherwise, just fill in the information below and you\'ll be on your way to using the most extendable and powerful personal publishing platform in the world.'), '../readme.html'); ?>

- +

- +
- + - - + + - - +

+
 
-

-

+
error) ) wp_die($wpdb->error->get_error_message()); - display_header(); + display_header(); // Fill in the data we gathered $weblog_title = stripslashes($_POST['weblog_title']); $admin_email = stripslashes($_POST['admin_email']); @@ -77,10 +76,10 @@ switch($step) { // check e-mail address if (empty($admin_email)) { // TODO: poka-yoke - die(__("ERROR: you must provide an e-mail address")); + die('

'.__("ERROR: you must provide an e-mail address.").'

'); } else if (!is_email($admin_email)) { // TODO: poka-yoke - die(__('ERROR: that isn\'t a valid e-mail address. E-mail addresses look like: username@example.com')); + die('

'.__('ERROR: that isn’t a valid e-mail address. E-mail addresses look like: username@example.com').'

'); } $wpdb->show_errors(); @@ -90,24 +89,26 @@ switch($step) {

-

log in with the username "admin" and password "%2$s".'), '../wp-login.php', $password); ?>

-

Note that password carefully! It is a random password that was generated just for you.'); ?>

+

-
-
-
admin
-
-
-
-
wp-login.php
-
-

+ + + + + + + + + +
admin

+ '.__('Note that password carefully! It is a random password that was generated just for you.').'

'; ?>
+ +

- -

+ - \ No newline at end of file +