<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -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) &amp;&amp; !empty($_POST) ) {
+		$blog_public = isset($_POST['blog_public']);
+	}
+	
 	if ( ! is_null( $error ) ) {
 ?&gt;
 &lt;p&gt;&lt;?php printf( __('&lt;strong&gt;ERROR&lt;/strong&gt;: %s'), $error); ?&gt;&lt;/p&gt;
@@ -65,7 +71,7 @@ function display_setup_form( $error = null ) {
 			&lt;?php _e('Double-check your email address before continuing.'); ?&gt;
 		&lt;/tr&gt;
 		&lt;tr&gt;
-			&lt;td colspan=&quot;2&quot;&gt;&lt;label&gt;&lt;input type=&quot;checkbox&quot; name=&quot;blog_public&quot; value=&quot;1&quot;&lt;?php if( isset($_POST) &amp;&amp; ! empty($_POST) &amp;&amp; isset( $_POST['blog_public'] ) ) : ?&gt; checked=&quot;checked&quot;&lt;?php endif; ?&gt; /&gt; &lt;?php _e('Allow my blog to appear in search engines like Google and Technorati.'); ?&gt;&lt;/label&gt;&lt;/td&gt;
+			&lt;td colspan=&quot;2&quot;&gt;&lt;label&gt;&lt;input type=&quot;checkbox&quot; name=&quot;blog_public&quot; value=&quot;1&quot; &lt;?php checked($blog_public); ?&gt; /&gt; &lt;?php _e('Allow my blog to appear in search engines like Google and Technorati.'); ?&gt;&lt;/label&gt;&lt;/td&gt;
 		&lt;/tr&gt;
 	&lt;/table&gt;
 	&lt;p class=&quot;step&quot;&gt;&lt;input type=&quot;submit&quot; name=&quot;Submit&quot; value=&quot;&lt;?php esc_attr_e('Install WordPress'); ?&gt;&quot; class=&quot;button&quot; /&gt;&lt;/p&gt;</diff>
      <filename>wp-admin/install.php</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>1ce7e21152837a294dadad8854af9deff1d88209</id>
    </parent>
  </parents>
  <author>
    <name>westi</name>
    <email>westi@1a063a9b-81f0-0310-95a4-ce76da25c4cd</email>
  </author>
  <url>http://github.com/blowery/wordpress/commit/3958df020f2cb3b394eac247e989226bfb734af4</url>
  <id>3958df020f2cb3b394eac247e989226bfb734af4</id>
  <committed-date>2009-08-16T02:08:12-07:00</committed-date>
  <authored-date>2009-08-16T02:08:12-07:00</authored-date>
  <message>Restore the default behaviour on install of blogs appearing in search engines. Fixes #10621 for 2.8 branch.

git-svn-id: http://svn.automattic.com/wordpress/branches/2.8@11833 1a063a9b-81f0-0310-95a4-ce76da25c4cd</message>
  <tree>1a5c97a6e6218de39786ec8963b9b7864ad7da69</tree>
  <committer>
    <name>westi</name>
    <email>westi@1a063a9b-81f0-0310-95a4-ce76da25c4cd</email>
  </committer>
</commit>
