WordPress.org

Make WordPress Core


Ignore:
Timestamp:
03/04/2018 04:40:43 PM (22 months ago)
Author:
azaozz
Message:

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

Props lakenh, xkon, birgire, azaozz.
See #43436.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/default-filters.php

    r42770 r42772  
    328328add_action( 'do_pings', 'do_all_pings', 10, 1 );
    329329add_action( 'do_robots', 'do_robots' );
    330 add_action( 'set_comment_cookies', 'wp_set_comment_cookies', 10, 2 );
     330add_action( 'set_comment_cookies', 'wp_set_comment_cookies', 10, 3 );
    331331add_action( 'sanitize_comment_cookies', 'sanitize_comment_cookies' );
    332332add_action( 'admin_print_scripts', 'print_emoji_detection_script' );
Note: See TracChangeset for help on using the changeset viewer.