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

WordPress Trac noreply at wordpress.org
Mon Apr 20 04:16:54 UTC 2015


#24054: (get_)comment_class() should include a is_user_member_of_blog() class
-----------------------------------+-------------------------
 Reporter:  Viper007Bond           |       Owner:  jeremyfelt
     Type:  enhancement            |      Status:  reopened
 Priority:  normal                 |   Milestone:  4.2
Component:  Comments               |     Version:  3.5.1
 Severity:  normal                 |  Resolution:
 Keywords:  has-patch 2nd-opinion  |     Focuses:  multisite
-----------------------------------+-------------------------

Comment (by jeremyfelt):

 `bysiteuser` is probably better. `comment-author-is-site-member` is
 descriptive, but long and very different from existing classes.

 I'm still in favor of the addition. There is no distinction between
 global/network user and site user, so this makes it possible (without
 filter) to highlight comment authors that are members of a site vs those
 happen to exist on the same network(s). That said, I don't currently have
 a use case for this, I can just imagine it coming up. It would be easy to
 implement the same thing via filter.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/24054#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list