Fix fatal error in SimplePie. see #22158.

git-svn-id: http://core.svn.wordpress.org/trunk@22169 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Andrew Nacin 2012-10-10 21:38:10 +00:00
parent ce1fc87461
commit 05bbdad540

View File

@ -80,7 +80,9 @@ class SimplePie_Misc
public static function absolutize_url($relative, $base)
{
$iri = SimplePie_IRI::absolutize(new SimplePie_IRI($base), $relative);
return $iri->get_uri();
if ( $iri )
return $iri->get_uri();
return $relative;
}
/**