add_user_to_blog() and remove_user_from_blog() can break the switch_to_blog() stack
|Reported by:||mdawaffe||Owned by:||markjaquith|
Both add_user_to_blog() and remove_user_from_blog() call switch_to_blog() first thing. On encountering an error, however, they can return before calling restore_current_blog().
Change History (7)
comment:1 markjaquith — 3 years ago
- Keywords dev-feedback added
- Milestone changed from Awaiting Review to 3.1
- Owner set to markjaquith
- Status changed from new to accepted
Note: See TracTickets for help on using tickets.