Switch from Net_IPv6 to SimplePie_Net_IPv6. Props stephdau, rmccue. fixes #19991

git-svn-id: http://svn.automattic.com/wordpress/trunk@19891 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2012-02-09 20:17:23 +00:00
parent b447ad26e6
commit f483d85de2

View File

@ -12329,7 +12329,7 @@ class SimplePie_IRI
}
elseif ($host[0] === '[' && substr($host, -1) === ']')
{
if (Net_IPv6::checkIPv6(substr($host, 1, -1)))
if (SimplePie_Net_IPv6::checkIPv6(substr($host, 1, -1)))
{
$this->host = $host;
$this->valid[__FUNCTION__] = true;