src/Potter/Theme/Features.php
private function prepUrl($path)
    {
        $info = parse_url($path);

        if (!isset($info['host'])):
            return theme_url($info['path']);
        endif;

        return cleanURI($path);
    }
private function prepUrl($path)
    {
        $info = parse_url($path);

        if (!isset($info['host'])):
            return theme_url($info['path']);
        endif;

        return cleanURI($path);
    }
@param string $path

@return string