开发者 | korobochkin |
---|---|
更新时间 | 2017年5月2日 23:00 |
捐献地址: | 去捐款 |
PHP版本: | 4.3.1 及以上 |
WordPress版本: | 4.3.1 |
版权: | GPLv2 or later |
版权网址: | 版权信息 |
This plugin helpfull if you want disable any accounts but not want delete the account. Deleting account is not good idea because you can delete good account. After deleting you can't restore account but with this plugin you can ban or unban accounts anytime. You can ban or unban users on /wp-admin/users.php page by clicking links bellow username. Be careful, you can ban yourself, administrators or other highlevel users.
The plugin adds only single meta option for each user (mark_user_as_spammer
). On uninstall action plugin completely removes this metas for all users.
You can also switch account status by manually editing mark_user_as_spammer
meta in wp_usermeta
table. 1
— spammer. 0
— not spammer.
wp_nonce_url()
before output the links) but page may look incorrect if you try to open something like site.com/users.php?"><script>alert('hi')</script>
. Script not working (thanks wp_nonce_url()
) but markup looks crashed.