WordPress.org

Make WordPress Core


Ignore:
Timestamp:
11/05/2012 02:25:25 PM (8 years ago)
Author:
ryan
Message:

Update SimplePie to 1.3.1. Props rmccue, ocean90. fixes #22321

File:
1 edited

Legend:

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

    r22169 r22366  
    3434 *
    3535 * @package SimplePie
    36  * @version 1.3
     36 * @version 1.3.1
    3737 * @copyright 2004-2012 Ryan Parman, Geoffrey Sneddon, Ryan McCue
    3838 * @author Ryan Parman
     
    8181    {
    8282        $iri = SimplePie_IRI::absolutize(new SimplePie_IRI($base), $relative);
    83         if ( $iri )
    84             return $iri->get_uri();
    85         return $relative;
     83        if ($iri === false)
     84        {
     85            return false;
     86        }
     87        return $iri->get_uri();
    8688    }
    8789
Note: See TracChangeset for help on using the changeset viewer.