WordPress.org

Make WordPress Core

Changeset 22169


Ignore:
Timestamp:
10/10/2012 09:38:10 PM (9 years ago)
Author:
nacin
Message:

Fix fatal error in SimplePie. see #22158.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/SimplePie/Misc.php

    r21644 r22169  
    8181    {
    8282        $iri = SimplePie_IRI::absolutize(new SimplePie_IRI($base), $relative);
    83         return $iri->get_uri();
     83        if ( $iri )
     84            return $iri->get_uri();
     85        return $relative;
    8486    }
    8587
Note: See TracChangeset for help on using the changeset viewer.