Skip to content

[Atomic] Comments not working on password protected posts & pages in some browsers #21012

Open
@sajmes

Description

@sajmes

2023-04-13 Update from recent troubleshooting, thanks @masperber !

  • This bug only affects Atomic sites.
  • This bug affects both FSE and Classic themes.
  • This bug affects the Chrome and Opera browsers.
  • This bug does not affect the Firefox and Safari browsers.

Steps to Reproduce

WordPress.com

  1. On an AT site create a password protected post
  2. Attempt to comment on that post

Self-hosted WordPress

  1. Enable Jetpack
  2. From Jetpack > Settings > Discussion enable 'Let visitors use a WordPress.com, Twitter, Facebook, or Google account to comment'
  3. Create a password protected post
  4. Attempt to comment on that post

What I expected to happen

Comments should be accepted and added to the post when a comment is typed and 'post comment' is clicked.

What actually happened

After writing a comment and clicking 'post comment' there is a pause and then the comment box disappears. No comment is visible on the post itself nor in the site owner's list of comments.

Context

This was reported here: 4266004-zd-woothemes

I tested on my own site with user's illustratr theme and twenty twenty. I also tested with all user plugins disabled. Neither affected this issue. I could not post a comment.

I was able to post a comment when attempting to post as the site owner while using the healthcheck plugin in troubleshooting mode.

Deactivating the Jetpack comments module on the WordPress.com site allowed the comment to be posted.

Disabling 'Let visitors use a WordPress.com, Twitter, Facebook, or Google account to comment' from Jetpack > settings > discussion on the self hosted site allowed a comment to be posted.

Operating System

macOS

OS Version

11.5.2

Browser

Chrome/Chromium

Browser Version(s)

92.0.4515.159

Is this specific to applied theme? If so, what is the theme name?

No

Simple/Atomic

Atomic

Console and/or error logs

No response

Number of Users Impacted

Some users (<50%)

Available Workarounds

Deactivating the Jetpack comments module on the WordPress.com site allowed a comment to be posted.

Disabling 'Let visitors use a WordPress.com, Twitter, Facebook, or Google account to comment' from Jetpack > settings > discussion on the self hosted site allowed a comment to be posted.

Reproducibility

Consistent

Other information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Customer ReportIssues or PRs that were reported via Happiness. aka "Happiness Request", or "User Report"[Feature] Comments[Platform] Atomic[Pri] Normal[Type] BugWhen a feature is broken and / or not performing as intendedx-site cookiesIssues involving third-party cookies

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions