Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multi restriction warning. #2572

Open
wants to merge 8 commits into
base: dev
Choose a base branch
from

Conversation

actuallyakash
Copy link
Contributor

@actuallyakash actuallyakash commented Nov 13, 2023

Description

Currently, warning is showed for only 1 membership. This PR adds the warning for multiple memberships.
Also see #2523 (comment)

Fixes #2523

How has this been tested?

Manually.

Types of changes

Bug fix

Checklist:

  • This PR requires and contains at least one changelog file.
  • My code has been tested.
  • My code passes all existing automated tests.
  • My code follows the LifterLMS Coding & Documentation Standards.

@actuallyakash actuallyakash self-assigned this Nov 13, 2023
@actuallyakash actuallyakash marked this pull request as ready for review November 13, 2023 09:08
}

// Translators: %s = Membership links.
$msg = sprintf(
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We want to keep the messaging as-is if there is only one membership they need to be a member of.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Review in Progress
Development

Successfully merging this pull request may close these issues.

None yet

2 participants