Describe the bug
In some WP Cloud environments, WP Rocket might not work because we're not able to detect the environment. Porkbun hosting suggests that setting the IS_ATOMIC constant to check if it's a WP Cloud environment will allow compatibility with them and all WP Cloud hosting.
Ideally, these three constants can be used according to WP Cloud's documentation:
IS_ATOMIC – Is defined & returns true if the site is hosted on WP Cloud infrastructure.
ATOMIC_SITE_ID – Returns the site’s Atomic ID.
ATOMIC_CLIENT_ID – Returns the client ID the site belongs to.
Additional context
Describe the bug
In some WP Cloud environments, WP Rocket might not work because we're not able to detect the environment. Porkbun hosting suggests that setting the
IS_ATOMICconstant to check if it's a WP Cloud environment will allow compatibility with them and all WP Cloud hosting.Ideally, these three constants can be used according to WP Cloud's documentation:
IS_ATOMIC– Is defined & returns true if the site is hosted on WP Cloud infrastructure.ATOMIC_SITE_ID– Returns the site’s Atomic ID.ATOMIC_CLIENT_ID– Returns the client ID the site belongs to.Additional context