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

Using the pmpro_levels shortcode on a page not assigned as the Membership Levels page fails. #90

Open
kimcoleman opened this issue Oct 14, 2020 · 0 comments

Comments

@kimcoleman
Copy link
Member

In this line the logic to check the content of the page is only true IF the page is also the assigned "Membership Levels" page under Memberships > Settings > Page Settings https://github.com/strangerstudios/pmpro-multiple-memberships-per-user/blob/dev/includes/overrides.php#L154

The logic here needs to be updated to specifically check the content regardless of whether it is assigned in the $pmpro_pages global as $pmpro_pages['levels'];

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

No branches or pull requests

1 participant