Make WordPress Core

Changeset 15623


Ignore:
Timestamp:
09/16/2010 08:48:18 PM (14 years ago)
Author:
scribu
Message:

Apply filter to wp_get_current_commenter(). Fixes #14878

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/comment.php

    r15592 r15623  
    11361136        $comment_author_url = $_COOKIE['comment_author_url_'.COOKIEHASH];
    11371137
    1138     return compact('comment_author', 'comment_author_email', 'comment_author_url');
     1138    return apply_filters('wp_get_current_commenter', compact('comment_author', 'comment_author_email', 'comment_author_url'));
    11391139}
    11401140
Note: See TracChangeset for help on using the changeset viewer.