[wordpress插件] Administrator Access to PMPro Protected Content管理员对PMPro受保护内容的访问权限

wordpress 插件 文章 2020-02-04 20:40 676 0 全屏看文

AI助手支持GPT4.0

评分

0

0

描述

By default Paid Memberships Pro will not let an administrator get access to a protected post or page without making the administrator a member of one of the membership levels that are required for that post/page in the

默认情况下,付费会员Pro不会允许管理员访问受保护的帖子或页面,而无需使管理员成为该帖子/页面所需的成员级别之一。

“Require Membership” checkboxes in the post/page editor.

帖子/页面编辑器中的“需要会员资格”复选框。

This is contrary to what a traditional interpretation of the “Administrator” role represents for WordPress (or any user based security system).

这与WordPress(或任何基于用户的安全系统)对“管理员”角色的传统解释相反。

People expect the administratoroot account(s) on the system to have full access to administer and view the content on the site.

人们希望系统上的管理员/ root帐户具有访问和管理站点内容的完全访问权限。

This behavior also represents one of the frequent problems experienced when trying to use a WordPress front-end post or page editor;

此行为也表示尝试使用WordPress前端帖子或页面编辑器时遇到的常见问题之一;

The expected content for the post/page being edited either doesn’t show up, or is being redirected away from.

无法显示正在编辑的帖子/页面的预期内容,或者将其重定向。

This plugin will remove the PMPro access restrictions to content for any user assigned to the WordPress ‘administrator’ role.

此插件将删除分配给WordPress“管理员”角色的任何用户对内容的PMPro访问限制。

As of version 1.2, the same functionality has been extended to the PMPro [membership] short code.

从1.2版开始,相同的功能已扩展到PMPro [membership]短代码。

This plugin should be used with caution!

该插件应谨慎使用!

Credit

信用

This plugin uses Unlock Hd Icon by Ahkâm – Copyright (c) Ahkâm

此插件使用通过Ahkâm解锁高清图标 –版权所有(c)Ahkâm

This plugin uses the logo by Paid Memberships Pro – Copyright (c) Stranger Studios, LLC

该插件使用付费会员专业版的徽标–版权所有(c)Stranger Studios,LLC

p>

>

v1.2

v1.2

    • ENHANCEMENT: Add check override when using [membership] short code
    • 增强:使用[membership]短代码时添加检查覆盖

    • BUG FIX: Didn’t guarantee false return when user isn’t logged in or not an admin
    • BUG FIX:不保证用户未登录或不是管理员时的错误返回

    v1.1

    v1.1

      • BUG FIX: Didn’t prevent redirect(s) when accessing the Membership Account page
      • 错误修复:访问“会员帐户”页面时并未阻止重定向

      v1.0

      v1.0

        • Initial release of plugin
        • 插件的初始版本

安装步骤

    1. Upload the administrator-access-to-pmpro-protected-content directory to the /wp-content/plugins/ directory of your site.
    2. administrator-access-to-pmpro-protected-content 目录上载到站点的 / wp-content / plugins / 目录。

    3. Activate the plugin through the ‘Plugins’ menu in WordPress.
    4. 通过WordPress中的“插件”菜单激活插件。

    5. Verify that your administrator user has not been given a PMPro Membership Level
    6. 验证您的管理员用户未获得PMPro会员级别

    7. Attempt to view a post or page that has been protected by one or more PMPro Membership Level(s)
    8. 尝试查看受一个或多个PMPro会员级别保护的 帖子或页面

    9. Do a happy dance..?
    10. 跳舞很开心吗??

下载地址

https://downloads.wordpress.org/plugin/administrator-access-to-pmpro-protected-content.zip

https://downloads.wordpress.org/plugin/administrator-access-to-pmpro-protected-content.zip

-EOF-

AI助手支持GPT4.0