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/Parser.php

    r21644 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
     
    279279        if (isset($attribs[SIMPLEPIE_NAMESPACE_XML]['base']))
    280280        {
    281             $this->xml_base[] = $this->registry->call('Misc', 'absolutize_url', array($attribs[SIMPLEPIE_NAMESPACE_XML]['base'], end($this->xml_base)));
    282             $this->xml_base_explicit[] = true;
     281            $base = $this->registry->call('Misc', 'absolutize_url', array($attribs[SIMPLEPIE_NAMESPACE_XML]['base'], end($this->xml_base)));
     282            if ($base !== false)
     283            {
     284                $this->xml_base[] = $base;
     285                $this->xml_base_explicit[] = true;
     286            }
    283287        }
    284288        else
Note: See TracChangeset for help on using the changeset viewer.