Automattic / Automattic/jetpack

Enhancement: add filter to show full subscriber count

Open
#34,079 1 comment 0 reactions 0 assignees View on GitHub
[Feature] Memberships [Feature] Subscriptions [Plugin] Jetpack Customer Report [LEGACY] Enhancement
Dominant language
PHP
Stars
1.8k
Forks
898
Avg merge
1d 18h
Merged PRs (30d)
774

Description

### Impacted plugin

Jetpack

### What

Allow site owners to be able to convert "45.8K subscribers" to "45,800 subscribers" or the actual raw count (45,806).

### How

Related https://github.com/Automattic/jetpack/issues/31136

I suggest adding a filter in the join_text function: https://github.com/Automattic/jetpack/blob/58474d832dbfd47cb345623b53cadd588b4e6775/projects/plugins/jetpack/modules/memberships/class-jetpack-memberships.php#L762

The filter could accept a few values that allow for the current, default "short form", a longer rounded format, and the raw count.

7257522-zen

Contributor guide

Open the contributing guide

Research direction

Start with join_text in projects/plugins/jetpack/modules/memberships/class-jetpack-memberships.php at the linked location, and review the related issue #31136 for context. The change is done when site owners can select the existing short form, a longer rounded count, or the raw subscriber count through a filter.

Written by the indexing model from the issue text.

Assessment

Tech stack
php, wordpress
Domain
backend
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.