Automattic / Automattic/jetpack

Related Posts Block: Deleted Posts Displayed

Open
#11,359 7 comments 0 reactions 0 assignees View on GitHub
[Block] Related Posts [Feature] Related Posts [Focus] Blocks [Pri] Normal [Status] Stale Bug
Dominant language
PHP
Stars
1.8k
Forks
898
Avg merge
1d 18h
Merged PRs (30d)
774

Description

Reported by @Stojdza at (p1HpG7-64l-p2 #comment-29564)

> I’ve deleted all posts from the test site, start a new post and add Related Posts Block. In the Editor, I’m seeing placeholder posts, but when I preview/publish post, it shows deleted posts. Is it also related to indexing?

#### Context / Source
This _might_ be due to the same underlying issue as https://github.com/Automattic/wp-calypso/issues/29750.

Contributor guide

Open the contributing guide

Research direction

Start at the Related Posts Block entry point and reproduce the report by deleting all posts, creating a new post, and checking the editor preview and published output. Compare the behavior with the linked Calypso issue and investigate whether stale indexing is involved; done means deleted posts no longer appear.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, php, react
Domain
backend, search
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.