Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Blaze: add new method to remotely check for eligibility (#28353)
* Blaze: add new method to remotely check for eligibility This will allow us to remotely check eligibility for a site, and potentially update rules without having to release a new version of the package. * Remove logging function * Remove to-do comment * fix tests by bypassing remote request in tests. * Fix return value for tests * Make new method public See Automattic/jetpack#28353 (comment) * Bypass API request on WordPress.com There, we can get the response directly. * Remove private site check This can now be done on WordPress.com. * Simplify list of checks by wrapping Jetpack-specific checks This will limit the number of checks we have to run on WordPress.com, and will also help with the tests. Committed via a GitHub action: https://github.com/Automattic/jetpack/actions/runs/3981773139
- Loading branch information