为什么我的 Wordpress 用户编辑页面上填写了密码字段?
Why are the password fields filled on my Wordpress User Edit Page?
在 Wordpress 中,当我从管理员端 (user-edit.php) 编辑用户时,密码字段已经填写。这会导致如果我编辑任何其他用户的密码将被重置字段并单击更新用户。
密码字段填充了一整串随机字符。
我的网站过去不这样做。我在 WP 4.1 上看到它,但我有其他 4.1 安装没有这个问题。
我把所有的插件都停用了,还是没有解决问题。
是什么导致密码被预填充?
如果您使用 Pressable,这是由 Pressable 的 "Never Email Passwords" 插件引起的。
插件的自述文件指出:
永远不要通过电子邮件发送密码
NEP 是一个 WordPress 插件,可以做三件事:
- 隐藏 "Send this password to the new user by email" 复选框
仪表板的 "Add New User" 页面。
- 使用 64 个字符的字符串自动填充密码字段
wp_generate_password.
- 通过电子邮件将密码重置 link 发送给新用户。
https://github.com/pressable/never-email-passwords
.
Pressable 有许多 "Must-Use" 插件,存储在 mu-plugins 文件夹中,无法从 Wordpress 的管理部分停用。
在此处查看预装插件列表:
http://kb.pressable.com/faq/why-are-there-plugins-pre-installed-on-my-site/
.修复:
很遗憾,Pressable 不允许您删除此插件。如果删除它,它会自行重新安装。
我发现我可以编辑 mu-plugins/never-email-passwords/js/ 文件夹中的 javascript 文件,然后将其全部注释掉。但是,我的更改可能会被覆盖。
我制作了一个基于 Never Email Passwords 的快速插件来纠正这个问题。如果你想使用它,只需将它放在 mu-plugins 中即可。
在 Wordpress 中,当我从管理员端 (user-edit.php) 编辑用户时,密码字段已经填写。这会导致如果我编辑任何其他用户的密码将被重置字段并单击更新用户。
密码字段填充了一整串随机字符。
我的网站过去不这样做。我在 WP 4.1 上看到它,但我有其他 4.1 安装没有这个问题。
我把所有的插件都停用了,还是没有解决问题。 是什么导致密码被预填充?
如果您使用 Pressable,这是由 Pressable 的 "Never Email Passwords" 插件引起的。
插件的自述文件指出:
永远不要通过电子邮件发送密码
NEP 是一个 WordPress 插件,可以做三件事:
- 隐藏 "Send this password to the new user by email" 复选框 仪表板的 "Add New User" 页面。
- 使用 64 个字符的字符串自动填充密码字段 wp_generate_password.
- 通过电子邮件将密码重置 link 发送给新用户。
https://github.com/pressable/never-email-passwords
.
Pressable 有许多 "Must-Use" 插件,存储在 mu-plugins 文件夹中,无法从 Wordpress 的管理部分停用。
在此处查看预装插件列表:
http://kb.pressable.com/faq/why-are-there-plugins-pre-installed-on-my-site/
.修复:
很遗憾,Pressable 不允许您删除此插件。如果删除它,它会自行重新安装。 我发现我可以编辑 mu-plugins/never-email-passwords/js/ 文件夹中的 javascript 文件,然后将其全部注释掉。但是,我的更改可能会被覆盖。
我制作了一个基于 Never Email Passwords 的快速插件来纠正这个问题。如果你想使用它,只需将它放在 mu-plugins 中即可。