'' !== $ray, 'cf_connecting_ip' => '' !== $ip, ); if ( '' !== $ray || '' !== $ip ) { return new Result( $this->get_id(), $label, Result::INFO, __( 'This site is being served through Cloudflare.', 'ai-blackout' ), __( 'Cloudflare sees every request before your server does, including requests that would be served from a cache. That makes it the strongest place to block AI crawlers, and it can see traffic this plugin never will.', 'ai-blackout' ), __( 'Cloudflare has its own AI crawler controls in your Cloudflare dashboard, under Security. This plugin does not manage them for you.', 'ai-blackout' ), $detail ); } return new Result( $this->get_id(), $label, Result::INFO, __( 'This request did not come through Cloudflare.', 'ai-blackout' ), __( 'Blocking is happening on your own server only. A site can be signed up to Cloudflare and still bypass it, if the DNS record is set to DNS-only rather than proxied. In that case Cloudflare sees nothing and cannot block anything.', 'ai-blackout' ), '', $detail ); } }