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

Admin Approvals Email variables getting mixed up between admin/user details. #114

Open
3 tasks done
andrewlimaza opened this issue Nov 22, 2019 · 1 comment
Open
3 tasks done

Comments

@andrewlimaza
Copy link
Collaborator

Describe the bug
The Pending Approval email for admins is pulling in only member data and not admin data when using default variables such as !!user_email!!

PS - This doesn't require the Email Templates Admin Editor installed. Just Paid Memberships Pro and the Approvals Add On.

To Reproduce
Steps to reproduce the behavior:

  1. Adjust the admin pending email to include non member variables such as !!user_email!!
  2. Create a test account for a level that requires approval.
  3. View content for !!user_email!!, this should be admin's email but is actually the member's email which is incorrect.

Expected behavior
The !!user_email!! and other default variables should pull in admin detail and not member's details.

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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants