From b2bb4ea2d5604a0ac2760675e0f35aeef5509035 Mon Sep 17 00:00:00 2001 From: "Dominik Schilling (ocean90)" Date: Thu, 1 Oct 2015 21:34:38 +0000 Subject: [PATCH] Install: Replace the "Privacy" setting with the "Search Engine Visibility" setting from Reading Settings. Props Clorith, ocean90. Fixes #27628. See #16416. git-svn-id: https://develop.svn.wordpress.org/trunk@34752 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/css/install.css | 6 ++++++ src/wp-admin/install.php | 25 ++++++++++++++++++++++--- 2 files changed, 28 insertions(+), 3 deletions(-) diff --git a/src/wp-admin/css/install.css b/src/wp-admin/css/install.css index b57f15e3da..cbc8a9b1fc 100644 --- a/src/wp-admin/css/install.css +++ b/src/wp-admin/css/install.css @@ -61,6 +61,12 @@ abbr { font-variant: normal; } +fieldset { + border: 0; + padding: 0; + margin: 0; +} + label { cursor: pointer; } diff --git a/src/wp-admin/install.php b/src/wp-admin/install.php index 90ed449e4a..2011476e87 100644 --- a/src/wp-admin/install.php +++ b/src/wp-admin/install.php @@ -177,8 +177,27 @@ function display_setup_form( $error = null ) {

- - + + +
+ + + /> +
+ /> + +

+ + +

+ +
+

'submit' ) ); ?>

@@ -291,7 +310,7 @@ switch($step) { $admin_password = isset($_POST['admin_password']) ? wp_unslash( $_POST['admin_password'] ) : ''; $admin_password_check = isset($_POST['admin_password2']) ? wp_unslash( $_POST['admin_password2'] ) : ''; $admin_email = isset( $_POST['admin_email'] ) ?trim( wp_unslash( $_POST['admin_email'] ) ) : ''; - $public = isset( $_POST['blog_public'] ) ? (int) $_POST['blog_public'] : 0; + $public = isset( $_POST['blog_public'] ) ? (int) $_POST['blog_public'] : 1; // Check email address. $error = false;