wp_get_current_user bug in a few places
Closed this issue · 0 comments
jonathanstegall commented
In a few places, we call wp_get_current_user
, expecting a zero if no one is logged in. This is incorrect; it always returns an object but the ID is zero if no one is logged in.