Skip to content

Approval message for Blocks or Shortcode for users awaiting approval. #192

@kimwhite

Description

@kimwhite

Describe the bug

BLOCKS:
A user awaiting approval can see member content in a block using the Enable content visibility for this block for members.
and no longer see content for non-members.

SHORTCODE:
When using the [membership level="0"] or [membership level="1,2,3"] shortcode,
while waiting for approval, the users see nothing. This can make the page blank.

To Reproduce

Steps to reproduce BLOCK behavior:

  1. create a page or post using with two paraphrase blocks
  2. Show one block to All Members and hide the other from All Members.
  3. Sign up with level requiring approval
  4. See Members Only Content

Steps to reproduce SHORTCODE behavior:

  1. create a page or post using two shortcodes. (most often this is a site using a page builder).
    [membership level="1,2,3,4,5,6"]Will only show up for Members.[/membership]
    and
    [membership level="0"]This is what non-members will see.[/membership]
  2. Sign up with a level requiring approval
  3. See nothing.

Screenshots
If applicable, please attach a screenshot to make your issue clearer.

Expected behavior
Users awaiting Approval should see an approval message on the page.

Isolating the problem (mark completed items with an [x]):

  • I have deactivated other plugins and confirmed this bug occurs when only Paid Memberships Pro plugin is active.
  • This bug happens with a default WordPress theme active, or Memberlite.
  • I can reproduce this bug consistently using the steps above.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions