WP-Discourse and "Quick Draft"

(Speck Of The Cosmos) #1

I have a wordpress user who has latched onto the Quick Draft in the Dashboard, but when she makes a quick draft and then goes back later to edit it, the post to Discourse checkbox isn’t checked and the category isn’t chosen. Is there any way to set the default for quick drafts to honor the settings for new posts?

Thanks :slight_smile:

(Simon Cossar) #2

Yes, I can reproduce that. I would expect the publish category to be set to the Default Discourse Category and the Publish to Discourse checkbox to be checked if the Auto Publish setting has been enabled. This is the way it works when a regular draft is created. I’ll see what’s going on with quick drafts.

(Simon Cossar) #3

Thanks for reporting this! The issue is that the code that sets the Publish category and Publish to Discourse metadata for a post isn’t run when a Quick Draft is saved. There will be a fix for this in the next update of the plugin. It will be available in the WordPress repo early next week. When a Quick Draft is saved, the Publish to Discourse status will be set to true if the Auto Publish setting is enabled, the publish category will be set from the Default Discourse Category setting.

(Speck Of The Cosmos) #4

Awesome! Thanks for the quick fix.

(Simon Cossar) #5

This should be working now in the latest release of the plugin (version 1.6.6.)