Comments: Default the show_comments_cookies_opt_in checkbox to enabled.

This also updates the option label, to clarify that it needs to be enabled for comment cookies to work.

Props azaozz, pento, dhavalkasvala, desrosj, pputzer, mirkoschubert, ThemeZee.
Fixes #44736.



git-svn-id: https://develop.svn.wordpress.org/trunk@44683 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Gary Pendergast 2019-01-21 22:56:31 +00:00
parent dba1a0f436
commit d70c159c96
2 changed files with 2 additions and 2 deletions

View File

@ -541,7 +541,7 @@ function populate_options( array $options = array() ) {
'wp_page_for_privacy_policy' => 0,
// 4.9.8
'show_comments_cookies_opt_in' => 0,
'show_comments_cookies_opt_in' => 1,
);
// 3.3

View File

@ -88,7 +88,7 @@ printf(
<label for="show_comments_cookies_opt_in">
<input name="show_comments_cookies_opt_in" type="checkbox" id="show_comments_cookies_opt_in" value="1" <?php checked( '1', get_option( 'show_comments_cookies_opt_in' ) ); ?> />
<?php _e( 'Show comments cookies opt-in checkbox.' ); ?>
<?php _e( 'Show comments cookies opt-in checkbox, allowing comment author cookies to be set.' ); ?>
</label>
<br />