Yoast / Yoast/developer

Add assessment marker filter doesn't get disabled for published posts

Open
#341 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
15
Forks
23
PR merge metrics
No merged PRs in 30d

Description

Please give us a description of the issue

When we create a post and publish it, the code snippet to disable the assessment marker doesn't disable the eye icon.
Screenshot 2024-12-20 at 6 49 06 PM
When I create a new post and save it as draft instead of publishing, the eye icon is correctly disabled in the SEO analysis and Readability analysis from the sidebar.

Screenshot 2024-12-20 at 6 44 23 PM

The above case is true when I am on PHP 7.4.1. With PHP 8.0.0, the eye marker is never disabled on the sidebar.

  • I've read and understood the contribution guidelines.
  • I've searched for any related issues and avoided creating a duplicate issue.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the assessment-marker behavior for published and draft posts on PHP 7.4.1 and PHP 8.0, comparing the SEO analysis and Readability analysis sidebar. Trace the code behind the eye icon and the assessment marker filter; done means the disable snippet works for published posts as well as drafts across the reported PHP versions.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, php
Domain
backend, 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.