jetpack
jetpack copied to clipboard
Jetpack Feature Support: Refactor logic between simple/atomic and self-hosted
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.
### Tasks
- [ ] https://github.com/Automattic/jetpack/issues/34762