Closed dparker1005 closed 1 year ago
If a user is logged out, pmpro_getMembershipLevelsForUser() will return false. We need to account for that possibility in our code.
pmpro_getMembershipLevelsForUser()
false
Enter a summary of all changes on this Pull Request. This will appear in the changelog if accepted.
All Submissions:
Changes proposed in this Pull Request:
If a user is logged out,
pmpro_getMembershipLevelsForUser()
will returnfalse
. We need to account for that possibility in our code.Other information:
Changelog entry