[wp-trac] [WordPress Trac] #24054: (get_)comment_class() should include a is_user_member_of_blog() class

WordPress Trac noreply at wordpress.org
Thu Apr 11 22:35:04 UTC 2013


#24054: (get_)comment_class() should include a is_user_member_of_blog() class
-----------------------------+-------------------------
 Reporter:  Viper007Bond     |       Type:  enhancement
   Status:  new              |   Priority:  normal
Milestone:  Awaiting Review  |  Component:  Comments
  Version:  3.5.1            |   Severity:  normal
 Keywords:                   |
-----------------------------+-------------------------
 On multi-site, there's no way to style comments that are members of the
 site. You can either style the post author or all registered users.
 Example use case would be a multi-author site where you want comments from
 all authors highlighted.

 I think it'd also be cool to include what role they are so that you could
 style say all contributors, authors, editors, and administrators but not
 style contributors or something like that and not subscribers.

 I'm not sure if this would an information exposure issue though (does it
 matter if it is known what role a user is or that they are a member of the
 site?).

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/24054>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list