Commit 3f3c8c26 by Scott

Fix missing avatar with Wordpress integration

parent 9d844762
......@@ -58,6 +58,9 @@ function qa_get_logged_in_user()
else
$level = QA_USER_LEVEL_BASIC;
// flush WP email cache (for displaying avatars)
qa_get_public_from_userids([$wordpressuser->ID]);
return array(
'userid' => $wordpressuser->ID,
'publicusername' => $wordpressuser->user_nicename,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment