mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-22 17:18:32 +01:00
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. Built from https://develop.svn.wordpress.org/trunk@44683 git-svn-id: http://core.svn.wordpress.org/trunk@44514 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
63a2dc94c6
commit
64877e74e8
@ -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 />
|
||||
|
||||
|
@ -13,7 +13,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '5.1-beta1-44682';
|
||||
$wp_version = '5.1-beta1-44683';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
Loading…
Reference in New Issue
Block a user