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

add a check to confirm we have a level object. #195

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

ipokkel
Copy link
Member

@ipokkel ipokkel commented Nov 7, 2024

All Submissions:

Changes proposed in this Pull Request:

Added a check to confirm that we have a level object to ensure the level name attribute is available when we create an approval status message.

Closes Issue: #187

How to test the changes in this Pull Request:

  1. Enable WP Debug and debug display.
  2. Check out for a level that requires approval.
  3. As admin, delete that level.
  4. Return to the Membership Account page for the user that needed approval.
  5. Confirm that the message reported in issue #187 is no longer displayed.

Other information:

  • Have you added an explanation of what your changes do and why you'd like us to include them?
  • Have you successfully run tests with your changes locally?

Changelog entry

Enter a summary of all changes on this Pull Request. This will appear in the changelog if accepted.

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

Successfully merging this pull request may close these issues.

1 participant