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

WordPress Trac wp-trac at lists.automattic.com
Sat May 7 03:10:14 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         |  Resolution:
 Keywords:  has-patch     |
--------------------------+------------------------------
Changes (by Viper007Bond):

 * keywords:  has-patch needs-patch => has-patch


Old description:

> 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 .

New description:

 File: wp-includes/ms-functions.php [[BR]]
 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#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list