[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:36:30 UTC 2013


#24054: (get_)comment_class() should include a is_user_member_of_blog() class
--------------------------+------------------------------
 Reporter:  Viper007Bond  |       Owner:
     Type:  enhancement   |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Comments      |     Version:  3.5.1
 Severity:  normal        |  Resolution:
 Keywords:                |
--------------------------+------------------------------
Description changed by Viper007Bond:

Old description:

> 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?).

New description:

 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 (who
 may not have access to the site's admin area). 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 authors, editors, and administrators but not style
 contributors or something like that.

 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#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list