Automattic / Automattic/jetpack

Excluding multiple categories from Related Posts disables it completely

Open
#24,196 1 comment 0 reactions 0 assignees View on GitHub
[Feature] Related Posts [Plugin] Jetpack [Status] Needs Author Reply
Dominant language
PHP
Stars
1.8k
Forks
898
Avg merge
1d 18h
Merged PRs (30d)
774

Description

### Impacted plugin

Jetpack

### Steps to Reproduce

1. Make sure that Jetpack is installed and connected to a WordPress.com account.
2. Enable the Related Posts Feature
3. Filter categories by using the snippet for that:
4. Related Posts stop from working.

### A clear and concise description of what you expected to happen.

Related Posts working on all posts except the ones on the categories filtered.

### What actually happened

Related Posts is disabled on all posts.

### Other information

This initially came through the forums: https://wordpress.org/support/topic/jetpackme_filter_exclude_category/?view=all

### Operating System

_No response_

### OS Version

_No response_

### Browser

Firefox

### Browser Version(s)

_No response_

Contributor guide

Open the contributing guide

Research direction

The issue names no source file, test, or entry point. Start by reproducing the failure with Jetpack Related Posts and the category-exclusion filter described in the steps and linked forum thread; done means Related Posts remains enabled for posts outside the excluded categories.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.