Tag Info

New answers tagged

1

Ok, I've narrowed this down. Always check if_user_logged_in() before constructing a new WP_User from the current user's ID. Simply put, don't call: new WP_User(0); or you'll get the warning above.



Top 50 recent answers are included