Automattic / Automattic/jetpack

MailChimp Block: form labels appear when not in WordPress context (RSS feed, WordPress.com Reader)

Open
#15,752 1 comment 0 reactions 0 assignees View on GitHub
[Block] Mailchimp [Pri] Normal Bug
Dominant language
PHP
Stars
1.8k
Forks
898
Avg merge
1d 18h
Merged PRs (30d)
774

Description

#### Steps to reproduce

1. Start a new post (Site -> Posts -> Add New)
2. Add a MailChimp Block to the post, then publish.
3. View post in the Reader

#### What I expected
I expected to not see any part of the form and its associated debug notifications at all, since the post is being viewed in the Reader.

#### What happened instead
Instead, all status/alert messages of the MailChimp block were shown, i.e. "Processing…", "Success! You're on the list.", "Whoops! There was an error and we couldn't process your subscription. Please reload the page and try again."

#### Browser / OS version
Firefox, Chrome / MacOS Catalina version 10.15.4

#### Screenshot / Video

![MailChimp block bug](https://user-images.githubusercontent.com/11362923/81355901-cd66fa80-910a-11ea-81e4-d4e39993796b.png)

#### Context / Source

Originally discovered through #manual-testing when publishing a personal post

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the MailChimp Block steps and viewing the published post in the WordPress.com Reader, then inspect the block's rendering behavior outside the normal WordPress context. Done means the form and its status or alert messages are not shown in the Reader or RSS feed, while the block still works in the WordPress post view.

Written by the indexing model from the issue text.

Assessment

Tech stack
wordpress
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.