Make WordPress Core

Opened 2 years ago

Last modified 2 years ago

#55174 new defect (bug)

revert to the default "checked" behavior of blog_public switch in install.php

Reported by: paddicity's profile paddicity Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version:
Component: Upgrade/Install Keywords: has-patch reporter-feedback
Focuses: Cc:

Description

Good day,

https://core.trac.wordpress.org/changeset/10574/trunk/wp-admin/install.php

Please I think that is necessary to changed the default behavior of the 'Allow my blog to appear in search engines...' checkbox from checked to unchecked.

This has caused a lot of issues before, and someone has corrected/commented about it in this forum below,.. https://paddicity.com/threads/are-you-launching-a-new-self-hosted-wordpress-site-check-this-out.25/

Attachments (1)

55174.patch (839 bytes) - added by hilayt24 2 years ago.
The default value of the check box was set to 1 I changed that to 0 so that the checkbox will be unchecked by default.

Download all attachments as: .zip

Change History (4)

@hilayt24
2 years ago

The default value of the check box was set to 1 I changed that to 0 so that the checkbox will be unchecked by default.

#1 @hilayt24
2 years ago

  • Keywords has-patch added

#2 @SergeyBiryukov
2 years ago

Hi there, welcome to WordPress Trac! Thanks for the ticket.

Looks like the "Allow search engines to index this site" option has been checked by default on the installation screen since its introduction in [3548] / #2480 for WordPress 2.1.

#3 in reply to: ↑ description @SergeyBiryukov
2 years ago

  • Keywords reporter-feedback added

Replying to paddicity:

Please I think that is necessary to changed the default behavior of the 'Allow my blog to appear in search engines...' checkbox from checked to unchecked.

This has caused a lot of issues before, and someone has corrected/commented about it in this forum below,.. https://paddicity.com/threads/are-you-launching-a-new-self-hosted-wordpress-site-check-this-out.25/

Looking at the linked post, it says that the default value of the option has changed, and users have to correct that and check the box to allow search engine indexing. However, that is not the case on a clean install, the option is still enabled by default, which I think is the way it should be for the majority of use cases.

So I'm a bit confused about what is actually being suggested here. Could you clarify?

Last edited 2 years ago by SergeyBiryukov (previous) (diff)
Note: See TracTickets for help on using tickets.