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:
parent
dba1a0f436
commit
d70c159c96
@ -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
|
||||
|
@ -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 />
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user