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

git-svn-id: https://develop.svn.wordpress.org/trunk@19891 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren
2012-02-09 20:17:23 +00:00
parent 87fc8a6b70
commit 785d6b6acc

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;