Make WordPress Core


Ignore:
Timestamp:
05/02/2018 10:10:30 PM (7 years ago)
Author:
SergeyBiryukov
Message:

Add a checkbox to the comment form so logged out users can opt-out of commenter cookies.

Props lakenh, xkon, birgire, azaozz, johnbillion.
Merges [42772] and [43042] to the 4.9 branch.
See #43436.

Location:
branches/4.9
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/4.9

  • branches/4.9/src/wp-includes/default-filters.php

    r43117 r43127  
    301301add_action( 'do_pings',                   'do_all_pings',                            10, 1 );
    302302add_action( 'do_robots',                  'do_robots'                                      );
    303 add_action( 'set_comment_cookies',        'wp_set_comment_cookies',                  10, 2 );
     303add_action( 'set_comment_cookies',        'wp_set_comment_cookies',                  10, 3 );
    304304add_action( 'sanitize_comment_cookies',   'sanitize_comment_cookies'                       );
    305305add_action( 'admin_print_scripts',        'print_emoji_detection_script'                   );
Note: See TracChangeset for help on using the changeset viewer.