X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/72836ec95a52eacbda4dc5aa296b7dd6de08bd3b..4713a14935b83517997f3c88f808eb41da55033d:/wp-admin/install.php diff --git a/wp-admin/install.php b/wp-admin/install.php index 0b6ac2ed..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' ); @@ -56,6 +54,7 @@ function display_header() { > + <?php _e( 'WordPress › Installation' ); ?> -

+

'; } else { ?>

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

-

+

@@ -220,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 ); ?> @@ -249,8 +247,10 @@ switch($step) { } break; } +if ( !wp_is_mobile() ) { ?> +