WordPress.org

Make WordPress Core


Ignore:
Timestamp:
07/24/2018 12:52:29 PM (23 months 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.

Merges [43525] to the 4.9 branch.
See #44373.

Location:
branches/4.9
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/4.9

  • branches/4.9/src/wp-includes/comment-template.php

    r43524 r43526  
    22062206    );
    22072207
    2208     if ( has_action( 'set_comment_cookies', 'wp_set_comment_cookies' ) && get_option( 'show_comments_cookies_opt_in' ) ) {
     2208    if ( has_action( 'set_comment_cookies', 'wp_set_comment_cookies' ) ) {
    22092209        $consent           = empty( $commenter['comment_author_email'] ) ? '' : ' checked="checked"';
    22102210        $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.