mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-22 17:18:32 +01:00
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:
parent
b447ad26e6
commit
f483d85de2
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user