# A few enhancements for the wp-discourse plugin

**URL:** <https://meta.discourse.org/t/a-few-enhancements-for-the-wp-discourse-plugin/27809>\
**Category:** WordPress\
**Created:** [April 21, 2015, 5:22pm UTC](https://meta.discourse.org/t/a-few-enhancements-for-the-wp-discourse-plugin/27809 "2015-04-21T17:22:09Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![pjv](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pjv/32/115994_2.png) [@pjv](https://meta.discourse.org/u/pjv)\
**Post date:** [July 22, 2015, 10:31am UTC](https://meta.discourse.org/t/a-few-enhancements-for-the-wp-discourse-plugin/27809/2 "2015-07-22T10:31:39Z")

</div>

And another one - using code from @AdamCapriola, for those using the SSO feature, I added a feature that lets you fill in the `logout redirect` field in the Discourse admin with a URL that will be handled by the wp-discourse plugin and will automatically log you out of WordPress when you log out of Discourse. Its use is entirely optional - if you don’t put the specific URL into the Discourse admin, then you are not logged out of WordPress (which is the standard behavior of the plugin). See: [log out of WP when log out of Discourse by pjv · Pull Request #158 · discourse/wp-discourse · GitHub](https://github.com/discourse/wp-discourse/pull/158)

---

_[View the full topic](https://meta.discourse.org/t/a-few-enhancements-for-the-wp-discourse-plugin/27809)._
