Changeset 9075

Show
Ignore:
Timestamp:
10/03/08 03:12:42 (2 months ago)
Author:
ryan
Message:

Don't show avatar for pingbacks or trackbacks

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/wp-includes/pluggable.php

    r9026 r9075  
    14721472            $email = $user->user_email; 
    14731473    } elseif ( is_object($id_or_email) ) { 
     1474        if ( isset($id_or_email->comment_type) && '' != $id_or_email->comment_type ) 
     1475            return false; // No avatar for pingbacks or trackbacks 
     1476 
    14741477        if ( !empty($id_or_email->user_id) ) { 
    14751478            $id = (int) $id_or_email->user_id;