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/IRI.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
     
    391391        else
    392392        {
    393             trigger_error('This should never happen', E_USER_ERROR);
    394             die;
     393            // This can occur when a paragraph is accidentally parsed as a URI
     394            return false;
    395395        }
    396396    }
     
    825825        {
    826826            $parsed = $this->parse_iri((string) $iri);
     827            if (!$parsed)
     828            {
     829                return false;
     830            }
    827831
    828832            $return = $this->set_scheme($parsed['scheme'])
Note: See TracChangeset for help on using the changeset viewer.