[wp-trac] [WordPress Trac] #53678: Comment author filter is not applied to comment reply
WordPress Trac
noreply at wordpress.org
Thu Oct 21 22:17:41 UTC 2021
#53678: Comment author filter is not applied to comment reply
--------------------------+---------------------
Reporter: mjulian7 | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 5.9
Component: Comments | Version:
Severity: minor | Resolution:
Keywords: has-patch | Focuses:
--------------------------+---------------------
Comment (by audrasjb):
Patch looks good to me, I tested it applying this hook:
{{{
function wpcore_get_comment_author( $author, $comment_ID, $comment ) {
return 'testing - ' . $author;
}
add_filter( 'get_comment_author', 'wpcore_get_comment_author', 10, 3 );
}}}
And it works fine on my side.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/53678#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list