Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CUSTESC-36595: Retrieve the Wordpress domain only from the active zone
We recently noticed that a user got its zone incorrectly reported as inactive by the Wordpress plugin. After some investigations, it seems that two zones actually existed: an old purged one, and a new active zone. To guarantee that the plugin always retrieve the active one, if any, this commit changes the zone retrieval call to the Cloudflare API by adding a `status=active` query parameter to the request, [as documented here](https://developers.cloudflare.com/api/operations/zones-get).
- Loading branch information