WordPress.org

Make WordPress Core


Ignore:
Timestamp:
05/01/2020 02:24:42 PM (18 months ago)
Author:
desrosj
Message:

External Libraries: Update the SimplePie library to the latest version (1.5.5).

This brings SimplePie in sync with the most up to date version, 1.5.5.

This update brings many bug fixes, small enhancements, and PHP compatibility fixes for newer versions of PHP.

For a full list of changes, see https://github.com/simplepie/simplepie/blob/master/CHANGELOG.md#155-may-1-2020.

Props dshanske, slushman, etruel, wpshades, dmenard, desrosj, hareesh-pillai, stevenkword, jrf, Ipstenu, johnbillion.
Fixes #36669.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/SimplePie/Net/IPv6.php

    r22798 r47733  
    66 * Takes the hard work out of managing a complete RSS/Atom solution.
    77 *
    8  * Copyright (c) 2004-2012, Ryan Parman, Geoffrey Sneddon, Ryan McCue, and contributors
     8 * Copyright (c) 2004-2016, Ryan Parman, Sam Sneddon, Ryan McCue, and contributors
    99 * All rights reserved.
    1010 *
     
    3434 *
    3535 * @package SimplePie
    36  * @version 1.3.1
    37  * @copyright 2004-2012 Ryan Parman, Geoffrey Sneddon, Ryan McCue
     36 * @copyright 2004-2016 Ryan Parman, Sam Sneddon, Ryan McCue
    3837 * @author Ryan Parman
    39  * @author Geoffrey Sneddon
     38 * @author Sam Sneddon
    4039 * @author Ryan McCue
    4140 * @link http://simplepie.org/ SimplePie
     
    5554 * @author elfrink at introweb dot nl
    5655 * @author Josh Peck <jmp at joshpeck dot org>
    57  * @author Geoffrey Sneddon <geoffers@gmail.com>
     56 * @author Sam Sneddon <geoffers@gmail.com>
    5857 */
    5958class SimplePie_Net_IPv6
     
    175174            return implode(':', $ip_parts);
    176175        }
    177         else
    178         {
    179             return $ip_parts[0];
    180         }
     176
     177        return $ip_parts[0];
    181178    }
    182179
     
    202199            return array($ipv6_part, $ipv4_part);
    203200        }
    204         else
    205         {
    206             return array($ip, '');
    207         }
     201
     202        return array($ip, '');
    208203    }
    209204
     
    255250            return true;
    256251        }
    257         else
    258         {
    259             return false;
    260         }
     252
     253        return false;
    261254    }
    262255
Note: See TracChangeset for help on using the changeset viewer.