Ticket #8446: 8446_comment.patch
| File 8446_comment.patch, 637 bytes (added by , 17 years ago) |
|---|
-
wp-includes/comment-template.php
294 294 if ( $comment->user_id > 0 && $user = get_userdata($comment->user_id) ) { 295 295 // For all registered users, 'byuser' 296 296 $classes[] = 'byuser'; 297 $classes[] = 'comment-author-' . $ user->user_id;297 $classes[] = 'comment-author-' . $comment->user_id; 298 298 // For comment authors who are the author of the post 299 299 if ( $post = get_post($post_id) ) { 300 300 if ( $comment->user_id === $post->post_author )