cloggier
↑
/wp-content/plugins/elementor/core
marsupiataab
hypermuffing
cloggier
hypermuffing
marsupiataab
import-export/
cloggier
marsupiataab
collection.php
8,499 B
cloggier
marsupiataab
exceptions.php
708 B
cloggier
marsupiataab
http.php
981 B
cloggier
marsupiataab
plugins-manager.php
2,906 B
cloggier
marsupiataab
static-collection.php
1,111 B
cloggier
marsupiataab
str.php
579 B
cloggier
marsupiataab
version.php
3,721 B
cloggier
marsupiataab
<?php namespace Elementor\Core\Utils; if ( ! defined( 'ABSPATH' ) ) { exit; // Exit if accessed directly } class Str { /** * Convert a non-latin URL to an IDN one. * Note: Max length is 64 chars. * * @param string $url - A URL to encode. * * @return string - IDN encoded URL ( e.g. `http://é.com` will be encoded to `http://xn--9ca.com` ). */ public static function encode_idn_url( $url ) { return preg_replace_callback( '/(https?:\/\/)(.+)/', function ( $matches ) { return $matches[1] . \Requests_IDNAEncoder::encode( $matches[2] ); }, $url ); } }
cloggier