WordPress.org

Make WordPress Core

Changeset 32259


Ignore:
Timestamp:
04/21/2015 11:35:55 PM (5 years ago)
Author:
helen
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/comment-template.php

    r32245 r32259  
    425425        $classes[] = 'byuser';
    426426        $classes[] = 'comment-author-' . sanitize_html_class( $user->user_nicename, $comment->user_id );
    427 
    428         // If a comment author is also a member of the site (multisite).
    429         if ( is_user_member_of_blog( $comment->user_id ) ) {
    430             $classes[] = 'bysiteuser';
    431         }
    432 
    433427        // For comment authors who are the author of the post
    434428        if ( $post = get_post($post_id) ) {
Note: See TracChangeset for help on using the changeset viewer.