WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #17976, comment 15


Ignore:
Timestamp:
09/30/2011 11:07:55 AM (7 years ago)
Author:
SergeyBiryukov
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #17976, comment 15

    initial v1  
    44It's possible to hook into `wp_get_current_commenter()` function to ignore existing cookies:
    55{{{
    6 function ignore_existing_comment_cookies($commenter) {
     6function ignore_existing_comment_cookies() {
    77        return array( 'comment_author' => '', 'comment_author_email' => '', 'comment_author_url' => '' );
    88}