# 已标记并隐藏的帖子，WordPress 中显示 whisper 作者

**URL:** <https://meta.discourse.org/t/flagged-and-hidden-posts-whisper-authors-showing-up-in-wordpress/126409>\
**Category:** WordPress\
**Created:** [2019 年8 月 21 日 15:39 UTC](https://meta.discourse.org/t/flagged-and-hidden-posts-whisper-authors-showing-up-in-wordpress/126409 "2019-08-21T15:39:17Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

作者： ![simon](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/simon/32/339122_2.png) [@simon](https://meta.discourse.org/u/simon)\
发布日期： [2019 年8 月 21 日 18:26 UTC](https://meta.discourse.org/t/flagged-and-hidden-posts-whisper-authors-showing-up-in-wordpress/126409/3 "2019-08-21T18:26:36Z")

</div>

感谢报告此问题。我发现了两个独立的问题。第一个问题是，`TopicViewWordpressSerializer` 返回了隐藏帖子。我们需要停止返回隐藏帖子，或者在从 Discourse 返回的数据中添加 `hidden` 属性。这将允许插件处理隐藏帖子。

第二个问题是，Discourse 返回的话题参与者列表是基于请求用户可见的参与者来确定的。由于插件以管理员用户身份请求 Discourse 话题，因此那些在话题中创建过私密帖子的员工用户会被包含在参与者列表中。我需要进一步研究这个问题。

---

_[View the full topic](https://meta.discourse.org/t/flagged-and-hidden-posts-whisper-authors-showing-up-in-wordpress/126409)._
