Ticket #9465: 9465-classnames-fixed.patch
| File 9465-classnames-fixed.patch, 733 bytes (added by hakre, 4 years ago) |
|---|
-
wp-includes/comment-template.php
292 292 // If the comment author has an id (registered), then print the log in name 293 293 if ( $comment->user_id > 0 && $user = get_userdata($comment->user_id) ) { 294 294 // For all registered users, 'byuser' 295 $classes[] = 'byuser comment-author-' . $user->user_nicename; 295 $classes[] = 'byuser'; 296 $classes[] = 'comment-author-' . $user->user_nicename; 296 297 // For comment authors who are the author of the post 297 298 if ( $post = get_post($post_id) ) { 298 299 if ( $comment->user_id === $post->post_author )
