From 3fdd3ba9b5460810deba101bf317ed4dbaa69da9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Helen=20Hou-Sand=C3=AD?= Date: Tue, 21 Apr 2015 23:36:25 +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. Built from https://develop.svn.wordpress.org/trunk@32259 git-svn-id: http://core.svn.wordpress.org/trunk@32230 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/comment-template.php | 6 ------ wp-includes/version.php | 2 +- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/wp-includes/comment-template.php b/wp-includes/comment-template.php index 6c89b56ed1..7af2f3b1b1 100644 --- a/wp-includes/comment-template.php +++ b/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 ) { diff --git a/wp-includes/version.php b/wp-includes/version.php index 529e7bbf4f..c17450b030 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.2-RC3-32258'; +$wp_version = '4.2-RC3-32259'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.