Make WordPress Core

Changeset 10876


Ignore:
Timestamp:
04/05/2009 05:48:24 PM (16 years ago)
Author:
westi
Message:

Move byuser to a seperate array entry to ease filtering by plugins. Fixes #9465 for 2.7 branch props hakre.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.7/wp-includes/comment-template.php

    r10401 r10876  
    293293    if ( $comment->user_id > 0 && $user = get_userdata($comment->user_id) ) {
    294294        // For all registered users, 'byuser'
    295         $classes[] = 'byuser comment-author-' . $user->user_nicename;
     295        $classes[] = 'byuser';
     296        $classes[] = 'comment-author-' . $user->user_nicename;
    296297        // For comment authors who are the author of the post
    297298        if ( $post = get_post($post_id) ) {
Note: See TracChangeset for help on using the changeset viewer.