src/Gwa/AbstractResolver.php
public function fixWpProtocolFilter($urls)
    {
        $protocol = $this->getSiteProtocol();

        foreach ($urls as $k => &$v) {
            if ((strpos($k, 'url') !== false) && (substr($v, 0, 2) === '//')) {
                $v = $protocol.ltrim($v, '//');
            }
        }

        return $urls;
    }
public function fixWpProtocolFilter($urls)
    {
        $protocol = $this->getSiteProtocol();

        foreach ($urls as $k => &$v) {
            if ((strpos($k, 'url') !== false) && (substr($v, 0, 2) === '//')) {
                $v = $protocol.ltrim($v, '//');
            }
        }

        return $urls;
    }
Fixes the protocol in urls. Replaces leading double slashes //
with the full protocol; https or http depending on context.

@param string

@return array