From 3fb766782d35d8535272d334bc25128dd165ff3b Mon Sep 17 00:00:00 2001 From: Helen Hou-Sandi Date: Tue, 21 Apr 2015 23:35:55 +0000 Subject: [PATCH] Don't add a class for comment authors who are members of the current site. Reverts [32245] and [31518]. We'll keep the whitespace and comment clarification, though. see #24054. git-svn-id: https://develop.svn.wordpress.org/trunk@32259 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/comment-template.php | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/wp-includes/comment-template.php b/src/wp-includes/comment-template.php index 6c89b56ed1..7af2f3b1b1 100644 --- a/src/wp-includes/comment-template.php +++ b/src/wp-includes/comment-template.php @@ -424,12 +424,6 @@ function get_comment_class( $class = '', $comment_id = null, $post_id = null ) { if ( $comment->user_id > 0 && $user = get_userdata( $comment->user_id ) ) { $classes[] = 'byuser'; $classes[] = 'comment-author-' . sanitize_html_class( $user->user_nicename, $comment->user_id ); - - // If a comment author is also a member of the site (multisite). - if ( is_user_member_of_blog( $comment->user_id ) ) { - $classes[] = 'bysiteuser'; - } - // For comment authors who are the author of the post if ( $post = get_post($post_id) ) { if ( $comment->user_id === $post->post_author ) {