Make WordPress Core


Ignore:
Timestamp:
12/21/2011 10:57:42 AM (14 years ago)
Author:
westi
Message:

Make it possible for commenter cookies to be disabled if someone wants to by setting them on an action instead of always. Fixes #17976 props SergeyBiryukov and pishmishy .

File:
1 edited

Legend:

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

    r19547 r19622  
    241241add_action( 'do_pings',                   'do_all_pings',                            10, 1 );
    242242add_action( 'do_robots',                  'do_robots'                                      );
     243add_action( 'set_comment_cookies',        'wp_set_comment_cookies',                  10, 2 );
    243244add_action( 'sanitize_comment_cookies',   'sanitize_comment_cookies'                       );
    244245add_action( 'admin_print_scripts',        'print_head_scripts',                      20    );
Note: See TracChangeset for help on using the changeset viewer.