Opened 2 years ago

Closed 22 months ago

#17344 closed defect (bug) (fixed)

MS Function - remove_user_from_blog returns null

Reported by: eightamrock Owned by: Sam Napolitano
Priority: normal Milestone: 3.3
Component: Multisite Version: 3.1
Severity: minor Keywords: has-patch
Cc:

Description (last modified by Viper007Bond)

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 .

Attachments (1)

ms-functions.diff (526 bytes) - added by eightamrock 2 years ago.
SVN Diff file with bug fix.

Download all attachments as: .zip

Change History (4)

SVN Diff file with bug fix.

  • Description modified (diff)
  • Keywords needs-patch removed
  • Milestone changed from Awaiting Review to 3.3
  • Resolution set to fixed
  • Status changed from new to closed

In [18510]:

Return true upon success in remove_user_from_blog(). Props eightamrock. fixes #17344

Note: See TracTickets for help on using tickets.