Avatars in Custom Comment Type
|Reported by:||usermrpapa||Owned by:||nacin|
currently, its possible to define a custom comment type and have them displayed interspersed within normal WP comments or in its own section.
However, since the comment_type is custom, the get_avatar() function wont show avatars because of an explicit check for comment_type of comment. A comment in the code says dont show avatars for pingbacks or trackbacks which makes sense, but it also ruins the chance to show avatars for custom comment types. Also, the check and abort is before the avatar filter, so no chance to override.
Sure would be nice if this statement:
if ( isset($id_or_email->comment_type) && '' != $id_or_email->comment_type && 'comment' != $id_or_email->comment_type )
didnt explicitly check for comment_type of 'comment' only and instead checked for types not wanted (ie pingback or trackback).
will try to work up a patch tonight.