Automattic / Automattic/jetpack

Instant Search: Better handling of untitled posts in search results

Open
#25,438 1 comment 0 reactions 0 assignees View on GitHub
[Feature] Search [Plugin] Jetpack [Plugin] Search Enhancement
Dominant language
PHP
Stars
1.8k
Forks
898
Avg merge
1d 18h
Merged PRs (30d)
774

Description

### Impacted plugin

Jetpack, Search

### What

Posts without a title are visible in the minimal results but are inaccessible.

### How

What it looks like now:

![NoTitlesMinimal](https://user-images.githubusercontent.com/40267301/184114404-cbc6aad6-b0b7-4a4f-9382-58b3d401f48e.png)

Ideally, we'd detect this and either use a localized "Untitled" string or maybe the post slug. I'd favour the localized string because it might look odd if the site is not configured to use pretty permalinks.

Contributor guide

Open the contributing guide

Research direction

Start with the Jetpack Search Instant Search entry point for minimal results and inspect how posts without titles are rendered and localized. Use the screenshot and the existing result behavior to verify the change; done means untitled posts remain accessible and display an appropriate localized label.

Written by the indexing model from the issue text.

Assessment

Tech stack
php, wordpress
Domain
search
Issue type
Feature
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.