# WP Discourse 1.4.0 Release

**URL:** <https://meta.discourse.org/t/wp-discourse-1-4-0-release/65283>\
**Category:** Extras\
**Tags:** wordpress\
**Created:** [June 28, 2017, 5:49pm UTC](https://meta.discourse.org/t/wp-discourse-1-4-0-release/65283 "2017-06-28T17:49:23Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![simon](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/simon/32/339122_2.png) [@simon](https://meta.discourse.org/u/simon)\
**Post date:** [June 28, 2017, 5:49pm UTC](https://meta.discourse.org/t/wp-discourse-1-4-0-release/65283/1 "2017-06-28T17:49:23Z")

</div>

Version 1.4.0 of the [WP Discourse](https://github.com/discourse/wp-discourse) is now available in the [WordPress plugin repository](https://en-ca.wordpress.org/plugins/wp-discourse/). The code is also on [GitHub](https://github.com/discourse/wp-discourse).

The big changes in this release are adding an option to sync Discourse topics to their associated WordPress posts with a webhook, and adding support for connecting a single Discourse forum to a WordPress multisite network. Check out the [Webhook Settings](https://meta.discourse.org/t/wp-discourse-plugin-installation-and-setup/50752#wpdc-webhook-settings) and [Multisite Support](https://meta.discourse.org/t/wp-discourse-plugin-installation-and-setup/50752#wpdc-multisite-support) sections of the [WP Discourse installation and setup](https://meta.discourse.org/t/wp-discourse-plugin-installation-and-setup/50752) topic for details about both of these features.

Other changes include:

- adding a featured\_link option to the Publish options - thanks @iamntz! I’m finding this works very well with a customized `publish_format_html` template that removes the `{blog_url}` template tag.

- adding an option to not display the Discourse Name field on the WordPress user’s profile page. Enabling this will cause all posts to be published by the name supplied in the publishing\_username field.

- removing the debug\_mode option and adding a `wpdc_comment_sync_period` filter that can be used in its place. The problem with the debug\_mode option was that if it was left checked by mistake, it would have a huge impact on the plugin’s performance. If people are missing this option, it could be added back, but changed so that it’s only enabled for a single request.

#### Comment sync period filter example

Unless you are using a webhook to sync comments, the plugin defaults to syncing comments every 10 minutes. To change the sync period, you can do something like this:

```php
// Sync comments once every hour.
add_filter( 'wpdc_comment_sync_period', 'my_namespace_sync_period' );
function my_namespace_sync_period( $sync_period ) {

	return 60 * 60; // 60 seconds * 60 minutes.
}

```

#### Coming Soon

- a webhook option to automatically populate the Discourse Name field with the Discourse username. This will be able to be used when WordPress is the SSO provider for your forum, or when, through some other login system, you can guarantee that the user credentials on Discourse and WordPress match.

Let me know if you have any problems with the update. Previous versions of the plugin can be downloaded from the bottom of this page: [https://en-ca.wordpress.org/plugins/wp-discourse/advanced/](https://en-ca.wordpress.org/plugins/wp-discourse/advanced/)

---

_[View the full topic](https://meta.discourse.org/t/wp-discourse-1-4-0-release/65283)._
