From 5813bf3ab264bbe6e7336da47d75322eff7181a2 Mon Sep 17 00:00:00 2001 From: westi Date: Sun, 16 Aug 2009 09:01:39 +0000 Subject: [PATCH] Restore the default behaviour on install of blogs appearing in search engines. Fixes #10621 for trunk. git-svn-id: http://svn.automattic.com/wordpress/trunk@11832 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/install.php | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/wp-admin/install.php b/wp-admin/install.php index a9579ff4d..4e97f02fe 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); ?>

@@ -65,7 +71,7 @@ function display_setup_form( $error = null ) { - +