mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-22 09:07:59 +01:00
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:
parent
ce1fc87461
commit
05bbdad540
@ -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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user