-
Notifications
You must be signed in to change notification settings - Fork 3
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
Pre-populate name/email fields on Add new subscription form; See: websharks/comment-mail#204 #52
Conversation
@jaswsinc @raamdev I'm submitting the PR for this with the code you provided but it's not pre-populating the fields for the last name and email fields? |
@kristineds Were you logged into the site whenever you tested this? |
@jaswsinc When I was logged-in as a user, only the "First name" is pre-populated. This works perfectly, i.e. email and first name fields are pre-populated, when a cookie exists from previously leaving a comment. |
And I assume that your account in WordPress had both the First and Last name filled? In other words, do you feel there is a bug in that specific scenario? Or was the Last name missing from the form because it was missing in your account profile in WordPress? |
Cool! |
@kristineds Can we get an update here? |
@jaswsinc @raamdev I tested this again. See below for my observations. What are the possible causes for this?
|
@kristineds My last commit/tweak should correct this behavior. Working good on my side. If you can test it and confirm I'd appreciate it. Also, if it works for you, can you apply the same to the lite PR? |
@kristineds Try changing |
@jaswsinc That works. Thanks! 👍 This is ready for review. @raamdev |
@kristineds Reviewed, tested, and merged. Nice work! Thank you. |
Pre-populate name/email fields on Add new subscription form;
See: wpsharks/comment-mail#204