Automattic / Automattic/wp-telegram-bot

Improve response message for non-wpcom URL

Open
#17 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
17
Forks
6
PR merge metrics
No merged PRs in 30d

Description

When I attempt to subscribe to a site that isn't hosted by WordPress.com I'm given an error message back like `engadget.com//posts is not a WordPress.com site`

We should trim the `//posts` off of the response message.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the subscription handling path that produces the "is not a WordPress.com site" response for non-WordPress.com URLs. Reproduce the reported case with engadget.com and verify that the response no longer includes the trailing //posts segment.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
backend
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.