[buddypress-trac] [BuddyPress Trac] #5857: In multisite a user removed from spammers will not have his sites restored

buddypress-trac noreply at wordpress.org
Tue Dec 2 16:59:23 UTC 2014


#5857: In multisite a user removed from spammers will not have his sites restored
-------------------------+------------------
 Reporter:  imath        |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  2.2
Component:  Blogs        |     Version:
 Severity:  normal       |  Resolution:
 Keywords:  has-patch    |
-------------------------+------------------
Changes (by imath):

 * keywords:  needs-refresh => has-patch


Comment:

 Replying to [comment:1 DJPaul]:
 > Let's get the `get_blogs_of_user( 2 )` corrected, and add a unit test.

 Thanks a lot for the feedback, i made a silly mistake there! Wow!

 Corrected it in 5857.02.patch and added a unit test. Using the unit test
 made me change the function to restore user's blog association in order to
 be sure it respects {{{bp_get_current_blog_roles()}}}

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/5857#comment:2>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list