# 弃用通知：“whiteList”已被替换…

**URL:** <https://meta.discourse.org/t/deprecation-notice-whitelist-has-been-replaced/238698>\
**Category:** Support\
**Created:** [2022年九月11日 16:45 UTC](https://meta.discourse.org/t/deprecation-notice-whitelist-has-been-replaced/238698 "2022-09-11T16:45:45Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![Bryan\_Joseph](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/bryan_joseph/32/273248_2.png) [@Bryan\_Joseph](https://meta.discourse.org/u/Bryan_Joseph)\
**Post date:** [2022年九月11日 18:41 UTC](https://meta.discourse.org/t/deprecation-notice-whitelist-has-been-replaced/238698/6 "2022-09-11T18:41:27Z")

</div>

调试起来很简单。添加了几个断点，我认为我已经找到了罪魁祸首：

> [@Elections Plugin](https://meta.discourse.org/t/elections-plugin/68521):
>
> Repo: [GitHub - angusmcleod/discourse-elections](https://github.com/angusmcleod/discourse-elections) This uses the Polls plugin as a base and adds controls and features specific to running elections. Enabling and Settings Elections are administered by “Election Admins”. By default, election admins are site admins. All moderators can be made election admins by toggling the elections\_admin\_moderator site setting. To do: allow any user to be designated an ‘Election Admin’. Elections can be enabled on a category basis in Category Settings \> “Cate…

我会联系开发者，让他们知道插件正在抛出错误和乱七八糟的东西：

 ![Screen Shot 2022-09-11 at Sunday, September 11, 2022 11.27 AM 1](https://global.discourse-cdn.com/meta/original/4X/c/2/7/c2716238eb909645676a6ccabafffda0a1eb8629.jpeg)

---

_[View the full topic](https://meta.discourse.org/t/deprecation-notice-whitelist-has-been-replaced/238698)._
