Automattic / Automattic/jetpack

Related Posts: Casting negates strict comparsion.

Open
#11,683 1 comment 0 reactions 0 assignees View on GitHub
[Feature] Related Posts [Pri] Low [Status] Stale Bug
Dominant language
PHP
Stars
1.8k
Forks
898
Avg merge
1d 18h
Merged PRs (30d)
774

Description

See https://github.com/Automattic/jetpack/pull/11560#pullrequestreview-218929990

#### Steps to reproduce the issue

n/a

#### What I expected
n/a

Contributor guide

Open the contributing guide

Research direction

Start with the linked pull request review at Automattic/jetpack#11560 and trace the Related Posts code discussed there. Identify where casting affects the strict comparison, then check the surrounding tests or reproduction coverage. Done means the comparison no longer has the reported casting behavior and the relevant tests pass.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.