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

WordPress Trac noreply at wordpress.org
Tue Apr 21 21:48:28 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 revert  |     Focuses:  multisite
------------------------------+-------------------------

Comment (by jeremyfelt):

 Replying to [comment:19 nacin]:
 > Also, does is_user_member_of_blog() add significant overhead?

 It may via its use of `get_blogs_of_user()`, quite a bit happens there
 (including `get_blog_details()` for every site a user is a member of. Good
 catch for caution.

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


More information about the wp-trac mailing list