-
Notifications
You must be signed in to change notification settings - Fork 797
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
Subscription block: it doesn't use the email I provide #39391
Comments
I can replicate this. I entered [email protected]: ...and the confirmation email showed [email protected] This is ONLY happening on AT sites. On Simple sites and self-hosted sites using Jetpack, the email shows grayed out and the field is not editable. |
It's very odd that it is only broken on AT sites. |
Oh, interesting, I didn't know this. I may have another piece of information to share then: I was actually responding to a forum request. According to the HTML, that site is probably using a jetpack legacy widget that wraps a jetpack block subscription. You can visit https://b2b-marketing.pl/ and see how it doesn't provide the uneditable grayed-out email field even if you're logged in to WordPress.com. Trying in my own site (jetpack connected, uses the jetpack subscription form), I do see the email uneditable. |
Support References This comment is automatically generated. Please do not edit it.
|
I did an investigation and landed on this diff: D128616-code It looks like this logic is overwriting the initial email when I'm EOD, so feel free to pick this up. |
This was also reported in #39267: 5695723-zd-a8c |
Are we certain? I observed the behavior on https://nonviolentleadership.com/, which has a Business subscription, but is not registering in our system as Atomic: Pc9OEs-v-p2 Reported it in this other issue: #39267 (comment) |
I created this diff to fix it D161772-code Can someone try it out? |
The above diff tests well for me. However, I'm not 100% sure if it won't cause other issues, so it would be better if more relevant team reviews it as well 🤔 |
Impacted plugin
Jetpack
Quick summary
The subscription block doesn't take into account the email you introduced if you are logged in to WordPress.com
Steps to reproduce
The expectation is that YYY would be used as an email. Instead, what happened was that the WordPress.com account linked to the XXX was automatically subscribed.
A clear and concise description of what you expected to happen.
No response
What actually happened
No response
Impact
Some (< 50%)
Available workarounds?
No but the platform is still usable
If the above answer is "Yes...", outline the workaround.
If Jetpack is going to use a different email for searching a WordPress.com account, it should be clear up-front. Perhaps the subscription block should display that logged-in WordPress.com account, or perhaps it should just use the email provided.
Platform (Simple and/or Atomic)
No response
Logs or notes
No response
The text was updated successfully, but these errors were encountered: