Opened 12 years ago
Closed 12 years ago
#24460 closed defect (bug) (fixed)
Fatal error when adding non-existent user to a site
Reported by: | duck_ | Owned by: | SergeyBiryukov |
---|---|---|---|
Milestone: | 3.6 | Priority: | normal |
Severity: | normal | Version: | 3.6 |
Component: | Network Admin | Keywords: | has-patch |
Focuses: | multisite | Cc: |
Description
Attempting to use site-users.php
in the network admin to add a non-existent user to a site results in a fatal error since the call to get_user_by()
will return false.
Fatal error: Call to a member function exists() on a non-object in wp-admin/network/site-users.php on line 89
Introduced in [23974]
Attachments (1)
Change History (2)
Note: See
TracTickets for help on using
tickets.
In 24509: