该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

WP Block Admin

描述

Block access to the admin interface based on user capability. The default is only editors and admins are allowed access, but the required capability can be set by editing the plugin file.

You can change the configuration of the plugin by modifying the file itself. The two config variables are on lines 18 and 21.

Support Questions

If your question is not answered here, you can try contacting me. However, I don’t actively support this plugin, so I’m not likely to make changes to meet your requirements, etc.
http://www.callum-macdonald.com/contact/

安装

  1. Download
  2. Upload to your /wp-contents/plugins/ directory.
  3. Activate the plugin through the ‘Plugins’ menu in WordPress.

常见问题

Can I change the redirection url?

Yes, you need to edit the plugin file and change the variable on line 21.

Can I change the required capability?

Yes. For more information see the codex for [https://codex.wordpress.org/Roles_and_Capabilities#Capabilities Roles and Capabilities]. Once you’ve chosen a capability, simply edit the plugin file at line 18 and replace “edit_others_posts” with your chosen capability.

I have another question…

If your question is not answered here, you can try contacting me. However, I don’t actively support this plugin, so I’m not likely to make changes to meet your requirements, etc.
http://www.callum-macdonald.com/contact/

评价

2016年9月3日
It's simple and still working(2016).
2016年9月3日
The code for this plugin is very simple which explains why it hasn't needed an update for several years. So far I've installed it on one site and no problems yet. It's a great solution for those sites where the user profile is provided by our front-end and in some cases the username/password are synced from an external source, or depend on external values and therefore can't be modified.
阅读所有7条评价

贡献者及开发者

“WP Block Admin” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

将“WP Block Admin”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

0.2.3.0

  • Version bump to relist the plugin on wordpress.org.

0.2.3

  • Redirect to the homepage, not the wordpress url (thanks Nancy).

0.2.2

  • Fixes a bug introduced in 0.2.1 using back ticks instead of quotes.
  • Excludes admin-ajax.php as well as async-upload.php.

0.2.1

  • Bugfix contributed by Sam hermans http://www.greenfudge.org/

0.2

  • Added option to set config vars as constants in wp-config.php

0.1.3

  • Bugfix contributed by Jonah Korbes http://neveradudelikethisone.com/