Automattic / jetpack

Security, performance, marketing, and design tools — Jetpack is made by WordPress experts to make WP sites safer and faster, and help you grow your traffic.
https://jetpack.com/
Other
1.59k stars 798 forks source link

Subscribe block: cannot submit email addresses while being logged in #39267

Closed Robertght closed 1 month ago

Robertght commented 1 year ago

Quick summary

While being logged into your WordPress.com account, you can't submit other email addresses using the Subscribe block.

Steps to reproduce

  1. Create a website and make sure you have a Subscribe block
  2. Try to use a different email and submit it while logged into your WordPress.com account(the email doesn't need to have a WordPress.com account)
  3. Check the message you receive. It should say success, but in reality, it didn't send anything.

What you expected to happen

To receive the email to confirm my subscription

What actually happened

I didn't receive anything

Context

5695723-zen

Platform (Simple, Atomic, or both?)

Simple, Atomic

Theme-specific issue?

no

Browser, operating system and other notes

No response

Reproducibility

Consistent

Severity

Some (< 50%)

Available workarounds?

Yes, easy to implement

Workaround details

The workaround is to submit the email address while being logged out of the WordPress.com account.

github-actions[bot] commented 1 year ago

Support References

This comment is automatically generated. Please do not edit it.

jamiepalatnik commented 1 year ago

📌 SCRUBBING : RESULT

📌 FINDINGS/SCREENSHOTS/VIDEO

📌 ACTIONS

filipanoscampos commented 1 year ago

Another case here 5829671-zd-woothemes

filipanoscampos commented 1 year ago

5924135-zd-woothemes

wojtekn commented 1 year ago

I've validated this issue, and it looks like it was fixed. I did the following:

  1. Create a Simple site with a free plan
  2. Added a Subscribe block in the Hello World post
  3. As a logged user, I filled the Subscribe block in frontend with another user's email address
  4. I received a success message:
Screenshot 2023-06-22 at 09 38 29
  1. I received an email confirmation saying, "Please confirm your subscription for Site Title [...]"

It was likely fixed in D111165-code or work that led to that change.

foleynotrose commented 2 months ago

Has this fix regressed?

I tried to subscribe to a WordPress.com site this weekend without noticing I was logged in as awocleeds@gmail.com. I put in my personal address e@gmail.com to the subscribe box, and got an instant confirmation that I was subscribed as a@gmail.com

image

Furthermore, when I logged out of a****@gmail.com, the box just persisted with the "Subscribed" message, so the only way I could subscribe from my emilyaxel@gmail.com account was to visit the site from an incognito window.

image

radtechgh commented 2 months ago

8697299-zen

jeherve commented 1 month ago

I'll close this as duplicate of #39391, since there is a patch that may fix the issue there.