[wordpress插件] Disable User Registration禁用用户注册

wordpress 插件 文章 2020-04-18 15:30 480 0 全屏看文

AI助手支持GPT4.0

评分
74
描述

Un-checking “Anyone can register” in Settings only hides the sign-up link from login page, it doesn’t disable user registration and bots can continue to create users programatically.

在“设置”中取消选中“任何人都可以注册”只会在登录页面上隐藏注册链接,它不会禁用用户注册,并且漫游器可以通过编程方式继续创建用户。

This plugin stops them.

此插件可阻止它们。

Activate it, uncheck “Anyone can register” and the only way to add new users will be from Dashboard, being logged in with an account having the create_users capability, by going to Users > Add new

激活它,取消选中“任何人都可以注册”,添加新用户的唯一方法是从仪表板中,使用具有 create_users 功能的帐户登录,方法是转到 Users> Add new

.

Very Important Notice

非常重要的通知

If you managed to lock yourself out of the admin area and are trying to create a new user with administrator role by uploading and executing a php file on your server,

如果您设法将自己锁定在管理区域之外,并试图通过在服务器上上传并执行 php 文件来创建具有 administrator 角色的新用户,

this plugin will effectively block the attempt.

该插件将有效地阻止尝试。

You will need to rename or delete the folder of this plugin (in order to deactivate it) to be able to add users from scripts without being logged in into an account having the create_users capability.

您将需要重命名或删除此插件的文件夹(以使其停用),以便能够从脚本中添加用户而无需登录具有 create_users 功能的帐户。

Uninstall

卸载

    1. Deactivate from Plugins list in WordPress Dashboard…
    2. 从WordPress仪表板的“插件”列表中停用…

    3. …or rename/delete plugin folder (wp-content/plugins/disable-user-registration)
    4. ...或重命名/删除插件文件夹( wp-content / plugins / disable-user-registration

安装步骤

    1. Install the plugin from WP repository or upload it to the /wp-content/plugins/ directory of your website.
    2. 从WP存储库安装插件,或将其上传到网站的 / wp-content / plugins / 目录。

    3. Activate from ‘Plugins’ menu in WordPress.
    4. 从WordPress的“插件”菜单中激活。

    5. You’re done.

    6. 您已完成。

      No more bot created user accounts!

    7. 机器人不再创建用户帐户!

    8. Happy WordPress-ing!
    9. 快乐的WordPress-ing!

下载地址
https://downloads.wordpress.org/plugin/disable-user-registration.1.0.1.zip
-EOF-

AI助手支持GPT4.0