X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/9c40b4d36daed9e28e48a5fe9205c32557195a4b..312084b5d95c21feb519ff03decf948420e1f6fa:/wp-admin/install.php diff --git a/wp-admin/install.php b/wp-admin/install.php index a9579ff4..0e9b87b9 100644 --- a/wp-admin/install.php +++ b/wp-admin/install.php @@ -49,6 +49,12 @@ header( 'Content-Type: text/html; charset=utf-8' ); }//end function display_header(); function display_setup_form( $error = null ) { + // Ensure that Blogs appear in search engines by default + $blog_public = 1; + if ( isset($_POST) && !empty($_POST) ) { + $blog_public = isset($_POST['blog_public']); + } + if ( ! is_null( $error ) ) { ?>
ERROR: %s'), $error); ?>
@@ -62,10 +68,10 @@ function display_setup_form( $error = null ) {'.__('You appear to have already installed WordPress. To reinstall please clear your old database tables first.').'