WordPress.org

Make WordPress Core

Changeset 44683


Ignore:
Timestamp:
01/21/2019 10:56:31 PM (3 years ago)
Author:
pento
Message:

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.

Location:
trunk/src/wp-admin
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/schema.php

    r44526 r44683  
    542542
    543543        // 4.9.8
    544         'show_comments_cookies_opt_in'    => 0,
     544        'show_comments_cookies_opt_in'    => 1,
    545545    );
    546546
  • trunk/src/wp-admin/options-discussion.php

    r43531 r44683  
    8989<label for="show_comments_cookies_opt_in">
    9090<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' ) ); ?> />
    91 <?php _e( 'Show comments cookies opt-in checkbox.' ); ?>
     91<?php _e( 'Show comments cookies opt-in checkbox, allowing comment author cookies to be set.' ); ?>
    9292</label>
    9393<br />
Note: See TracChangeset for help on using the changeset viewer.