[wp-trac] [WordPress Trac] #32472: is_user_member_of_blog() can be very slow when a user is a member of hundreds of sites

WordPress Trac noreply at wordpress.org
Thu Jun 4 17:51:05 UTC 2015


#32472: is_user_member_of_blog() can be very slow when a user is a member of
hundreds of sites
----------------------------------------+----------------------------------
 Reporter:  sammybeats                  |       Owner:
     Type:  enhancement                 |      Status:  new
 Priority:  normal                      |   Milestone:  Awaiting Review
Component:  Users                       |     Version:  3.0
 Severity:  normal                      |  Resolution:
 Keywords:  has-patch needs-unit-tests  |     Focuses:  multisite,
                                        |  performance
----------------------------------------+----------------------------------

Comment (by BinaryKitten):

 Replying to [comment:8 johnbillion]:
 > This looks like a sane way to handle this. +1
 >
 > It'll need tests, including ones to make sure that it continues to
 function as expected when a user is added to then removed from a blog, has
 their role removed, etc.


 Hi @johnbillion

 Would there be some guidance for this process?

 cheers

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


More information about the wp-trac mailing list