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

Restrict User Content

描述

This is a simple plugin that helps to clean up the admin side of WordPress by only showing the currently logged in user’s content the Post/Page/Media pages.

For the Media list, you can provide a list of user ID’s who’s Media will also be available to logged in users. It is highly recommended to create a user for this purpose.

Credits

This plugin was inspired by an article by Sarah Gooding on wpmudev and uses portions of that code. Please see the source code for further details.

安装

  1. Upload plugin-name.php to the /wp-content/plugins/ directory
  2. 通过WordPress的的“Plugins”菜单激活插件
  3. Add any additional user id’s in the settings page.

常见问题

Installation Instructions
  1. Upload plugin-name.php to the /wp-content/plugins/ directory
  2. 通过WordPress的的“Plugins”菜单激活插件
  3. Add any additional user id’s in the settings page.
Why would I want to give users access to other users media?

This would allow you to create set of standard or default media available to all users. In the case where users are creating content and don’t have an image, they can choose one from the “Media Pool”.

Why create a new user just for media?

If you create all of your site content with one user and allow that user’s media to be shared, then other users could get to your users content from the Media Library page and (depending on the role assiged to them) potentially modify the content.

You can use the above to your advantage by creating example content for users and uploading media to it.

评价

此插件暂无评价。

贡献者及开发者

“Restrict User Content” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

将“Restrict User Content”翻译成您的语言。

对开发感兴趣吗?

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

更新日志

1.0

  • plugin created

1.0.1

  • bug fix for undefined variable on re-activation because I’m a hack.
  • added proper cleanup if plugin is deleted – don’t know why you’d want to do something like that, but there it is.

1.0.2

  • minor fixes for the Media Library limitation

1.0.3

  • minor cleanup and fix

2.0

  • cleanup of code base
  • security fixes
  • Only showing the Mine count for posts/pages – thanks for the suggestion @drbellerive!