Hi,
Can you please reflect Discourse post status in WordPress? When I delete (hide) posts in Discourse – they are still visible in WordPress as article comments. I think this should consider Discourse post status. When I want to get rid of a post (e.g. moderation) – I also want it to disappear from WP.
You are most likely seeing a cached comment. Please try enabling “Load Comments With Ajax” in the Comment settings, then refresh the relevant Wordpress post. The comment will disappear. Without this setting enabled, the comment will disappear when your cache expires, or is invalidated.
I’m having a similar problem, but Load Comments with Ajax didn’t fix it.
I’m set to display a link to comments. If there’s no related topic, I don’t see a link. However, if there is a deleted topic, I now see a link to the deleted topic.
Is there any way to stop seeing links to deleted topics?
The easiest way currently is to just unlink the Discourse topic in the relevant Wordpress post edit UI.
To do this automatically requires webhooks. Currently the WP Discourse webhook functionality does not support automatically unlinking Discourse topics that have been deleted in Discourse. It may be a good feature addition however, and I’ll look at adding that to my worklist after chatting with @simon.
When I read this, I thought “if that works, I’ll be embarrassed.” Now I am. Maybe when I was trying it before I deleted the post before unlinking. But regardless, it works now. Cheers.