Automattic / Automattic/jetpack
Jetpack Feature Support: Refactor logic between simple/atomic and self-hosted
Open
[Focus] Blocks
[Status] Stale
- Dominant language
- PHP
- Stars
- 1.8k
- Forks
- 898
- Avg merge
- 1d 18h
- Merged PRs (30d)
- 774
Description
As suggested here: p1703171672294019/1703070004.603959-slack-C05PV073SG3, we want to check ways to unify logic of whether to show the feature or not. Currently, we need to have multiple checks like `is_wpcom_simple`. Instead, we want to investigate ways to rely solely on functions like `Current_Plan::supports` that will reduce complexity and reduce the amount of possible errors.
```[tasklist]
### Tasks
- [ ] https://github.com/Automattic/jetpack/issues/34762
```
Contributor guide
Assessment
This issue has not been assessed yet.