[wp-trac] [WordPress Trac] #17344: MS Function - remove_user_from_blog returns null

WordPress Trac wp-trac at lists.automattic.com
Sat May 7 02:20:41 UTC 2011


#17344: MS Function - remove_user_from_blog returns null
--------------------------+-----------------------------------
 Reporter:  eightamrock   |      Owner:  Sam Napolitano
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Multisite     |    Version:  3.1
 Severity:  minor         |   Keywords:  has-patch needs-patch
--------------------------+-----------------------------------
 File: wp-includes/ms-functions.php
 Issue: remove_user_from_blog() returns false on success

 I added a return true; to the above function. It would make sense that
 since add_user_to_blog returns true on success that remove does as well.

 Patch attached. Simple one line bug fix .

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/17344>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list