X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/596d585e1dc1eb25bccd3781e37210a4e2504179..6c8f14c09105d0afa4c1574215c59b5021040e76:/wp-admin/setup-config.php diff --git a/wp-admin/setup-config.php b/wp-admin/setup-config.php index 5bf19ad1..7409d010 100644 --- a/wp-admin/setup-config.php +++ b/wp-admin/setup-config.php @@ -85,7 +85,7 @@ $step = isset( $_GET['step'] ) ? (int) $_GET['step'] : 0; * @package WordPress * @subpackage Installer_WP_Config */ -function display_header() { +function setup_config_display_header() { global $wp_version; header( 'Content-Type: text/html; charset=utf-8' ); @@ -96,16 +96,17 @@ function display_header() {
wp-config-sample.php in a text editor, fill in your information, and save it as wp-config.php
." ); ?>
wp-config-sample.php in a text editor, fill in your information, and save it as wp-config.php
." ); ?>
' . __( 'Try Again' ) . ''; + $tryagain_link = '
' . __( 'Try again' ) . ''; if ( empty( $prefix ) ) wp_die( __( 'ERROR: "Table Prefix" must not be empty.' . $tryagain_link ) ); @@ -254,17 +255,24 @@ switch($step) { unset( $line ); if ( ! is_writable(ABSPATH) ) : - display_header(); + setup_config_display_header(); ?> -
wp-config.php file." ); ?>
+wp-config.php file." ); ?>
wp-config.php manually and paste the following text into it.' ); ?>
- - - + + + - + - +