# Error updating site info using SSO after update

**URL:** <https://meta.discourse.org/t/error-updating-site-info-using-sso-after-update/27881>\
**Category:** WordPress\
**Created:** [4월 23, 2015, 9:22오후 UTC](https://meta.discourse.org/t/error-updating-site-info-using-sso-after-update/27881 "2015-04-23T21:22:10Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![Grex315](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/grex315/32/115868_2.png) [@Grex315](https://meta.discourse.org/u/Grex315)\
**Post date:** [11월 16, 2015, 6:18오후 UTC](https://meta.discourse.org/t/error-updating-site-info-using-sso-after-update/27881/4 "2015-11-16T18:18:01Z")

</div>

I started to dig into this more as i was having issues with the avatar update from wordpress.

I found out that since wordpress version 4.2 it now includes its own get\_avatar\_url function. Not sure how this reacts with the function of the same name in the wp-discourse plugin. Removing this function and rewriting to use the wordpress function has removed my issues. It also provides a bit cleaner url for the avatar.

I created a pull request with this fix for the wp-discourse plugin.

[https://github.com/discourse/wp-discourse/pull/171](https://github.com/discourse/wp-discourse/pull/171)

---

_[View the full topic](https://meta.discourse.org/t/error-updating-site-info-using-sso-after-update/27881)._
