From 785d6b6acce9f572cd353c64e4f04fddde3596a2 Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Thu, 9 Feb 2012 20:17:23 +0000 Subject: [PATCH] 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 --- wp-includes/class-simplepie.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/class-simplepie.php b/wp-includes/class-simplepie.php index 9218024328..29201e1992 100644 --- a/wp-includes/class-simplepie.php +++ b/wp-includes/class-simplepie.php @@ -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;