Automattic / Automattic/jetpack
JITMs: add filter to insert affiliate codes in upgrade notices
- Dominant language
- PHP
- Stars
- 1.8k
- Forks
- 898
- Avg merge
- 1d 18h
- Merged PRs (30d)
- 774
Description
It would be nice if WP developers and agencies were allowed to use their affiliate code in JITMs, via a filter, so they can configure the JITMs for the sites they have installed and manage for their clients.
Affiliate URLs look like this: `https://refer.wordpress.com/r/XXXX/jetpack/` and redirect to pages like this one: `https://jetpack.com/pricing/?affiliate=XXXX`
Contributor guide
Research direction
No files or tests are named. Start by locating the JITM upgrade-notice entry point and tracing how its affiliate URL is built; then define the filter's input and verify that configured affiliate codes produce the documented redirect URL without changing notices when unset.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php, wordpress
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100