Fix fatal error in SimplePie. see #22158.

git-svn-id: https://develop.svn.wordpress.org/trunk@22169 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Nacin 2012-10-10 21:38:10 +00:00
parent 03e616cc7c
commit ecc9b897d8
1 changed files with 3 additions and 1 deletions

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;
}
/**