Make WordPress Core

Ticket #55174: 55174.patch

File 55174.patch, 839 bytes (added by hilayt24, 3 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.

  • src/wp-admin/install.php

     
    186186                                        <?php
    187187                                        if ( has_action( 'blog_privacy_selector' ) ) {
    188188                                                ?>
    189                                                 <input id="blog-public" type="radio" name="blog_public" value="1" <?php checked( 1, $blog_public ); ?> />
     189                                                <input id="blog-public" type="radio" name="blog_public" value="0" <?php checked( 1, $blog_public ); ?> />
    190190                                                <label for="blog-public"><?php _e( 'Allow search engines to index this site' ); ?></label><br/>
    191191                                                <input id="blog-norobots" type="radio" name="blog_public" value="0" <?php checked( 0, $blog_public ); ?> />
    192192                                                <label for="blog-norobots"><?php _e( 'Discourage search engines from indexing this site' ); ?></label>