It looks like your domain is not set up on Cloudflare #7012
Labels
module: cloudflare
priority: low
Issues that can wait
type: enhancement
Improvements that slightly enhance existing functionality and are fast to implement
Describe the bug
I have a website in Russian
масла.сайт
. When setting up the Cloudflare addon I get the error “It looks like your domain is not set up on Cloudflare”. This happens because the$this->endpoints->get_zones( $zone_id );
function returns the domain name asмасла.сайт
and the$parsed_url = wp_parse_url( $site_url );
function asxn--80aa6ac0a.xn--80aswg
.To solve the problem, you need to use PHP's built-in
idn_to_utf8()
function:To Reproduce
Steps to reproduce the behavior:
The text was updated successfully, but these errors were encountered: