X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/a349837896628462bf8c9bdc27d1477a10fe03eb..41578db67d72562346e4dbb2a14889b23d522813:/wp-admin/install.php diff --git a/wp-admin/install.php b/wp-admin/install.php index 587d79ad..d29c8098 100644 --- a/wp-admin/install.php +++ b/wp-admin/install.php @@ -16,7 +16,7 @@ if ( false ) { Error: PHP is not running -

WordPress

+

WordPress

Error: PHP is not running

WordPress requires that your web server is running PHP. Your server does not have PHP installed, or PHP is turned off.

@@ -47,8 +47,6 @@ $step = isset( $_GET['step'] ) ? (int) $_GET['step'] : 0; * Display install header. * * @since 2.5.0 - * @package WordPress - * @subpackage Installer */ function display_header() { header( 'Content-Type: text/html; charset=utf-8' ); @@ -64,7 +62,7 @@ function display_header() { ?> -

+

'; } else { ?>

@@ -123,7 +120,7 @@ function display_setup_form( $error = null ) {

-

+

@@ -221,7 +218,7 @@ switch($step) { if ( $error === false ) { $wpdb->show_errors(); - $result = wp_install($weblog_title, $user_name, $admin_email, $public, '', $admin_password); + $result = wp_install($weblog_title, $user_name, $admin_email, $public, '', wp_slash( $admin_password ) ); extract( $result, EXTR_SKIP ); ?>