[wp-trac] [WordPress Trac] #37223: Fatal error when adding a new multi-site user due to incorrect error handling.
WordPress Trac
noreply at wordpress.org
Thu Jul 7 17:47:55 UTC 2016
#37223: Fatal error when adding a new multi-site user due to incorrect error
handling.
--------------------------+------------------------
Reporter: pbogdan | Owner: flixos90
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 4.6
Component: Users | Version: 4.5
Severity: normal | Resolution: fixed
Keywords: has-patch | Focuses: multisite
--------------------------+------------------------
Changes (by jeremyfelt):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"38007"]:
{{{
#!CommitTicketReference repository="" revision="38007"
Multisite: Correct logic used to display an Edit User link after adding a
user.
Previously, if a user was added with the checkbox for no confirmation
selected and an error was then encountered in `wpmu_activate_signup()`, a
fatal error would trigger because `$new_user` was a `WP_Error` object
rather than a user.
Fixes #37223.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/37223#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list