# 在不使用 DiscourseConnect 时填写 discourse\_username

**URL:** <https://meta.discourse.org/t/filling-in-discourse-username-when-not-using-discourseconnect/212741>\
**Category:** WordPress\
**Created:** [2021 年12 月 21 日 03:24 UTC](https://meta.discourse.org/t/filling-in-discourse-username-when-not-using-discourseconnect/212741 "2021-12-21T03:24:03Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![angus](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/angus/32/341715_2.png) [@angus](https://meta.discourse.org/u/angus)\
**Post date:** [2024 年5 月 28 日 15:09 UTC](https://meta.discourse.org/t/filling-in-discourse-username-when-not-using-discourseconnect/212741/5 "2024-05-28T15:09:10Z")

</div>

好的，只是为了澄清

> [@angus](#):
>
> - 您的部分用户在 WordPress 和 Discourse 上会有不同的电子邮件地址。

这种情况现在不再发生了吗？

> [@mattdm](#):
>
> 有没有可能让 [WP Discourse](https://github.com/discourse/wp-discourse) 用户 webhook 就能正常工作？

只是想说明一下，它目前是可以正常工作的。您是在要求一项新功能 🙂

此外，您要求的新功能需要非常仔细地考虑。我知道几年前我说过这是可能的，但目前我有点担心将其作为插件的核心功能，因为这样的功能必须假定电子邮件地址在 WordPress 上得到了正确验证，但这不一定是一个安全的假设。

（WordPress 电子邮件验证）是网站管理员的责任，但开源开发的一个原则是避免创建在部分（即使是小部分）情况下会导致不良后果的东西，前提是您无法控制环境。当它仅限于 [DiscourseConnect](https://meta.discourse.org/t/13045?silent=true) 时，这个问题仍然存在，但得到了缓解。

我将更仔细地考虑一下，本周晚些时候给您回复。

---

_[View the full topic](https://meta.discourse.org/t/filling-in-discourse-username-when-not-using-discourseconnect/212741)._
