Make WordPress Core


Ignore:
Timestamp:
07/24/2018 12:50:55 PM (6 years ago)
Author:
SergeyBiryukov
Message:

Privacy: Remove the setting to enable comment cookies consent added in [43469].

This needs some more work to ensure expected behaviour.

See #44373.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/comment-template.php

    r43518 r43525  
    22722272    );
    22732273
    2274     if ( has_action( 'set_comment_cookies', 'wp_set_comment_cookies' ) && get_option( 'show_comments_cookies_opt_in' ) ) {
     2274    if ( has_action( 'set_comment_cookies', 'wp_set_comment_cookies' ) ) {
    22752275        $consent           = empty( $commenter['comment_author_email'] ) ? '' : ' checked="checked"';
    22762276        $fields['cookies'] = '<p class="comment-form-cookies-consent"><input id="wp-comment-cookies-consent" name="wp-comment-cookies-consent" type="checkbox" value="yes"' . $consent . ' />' .
Note: See TracChangeset for help on using the changeset viewer.