Make WordPress Core


Ignore:
Timestamp:
10/16/2020 05:18:11 PM (4 years ago)
Author:
desrosj
Message:

External Libraries: Update the SimplePie library to version 1.5.6.

This version fixes a handful of PHP 8 compatibility issues.

A full list of changes included in this update can be found on GitHub: https://github.com/simplepie/simplepie/compare/1.5.5...1.5.6.

Props jrf, ayeshrajans.
Fixes #51521.

File:
1 edited

Legend:

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

    r47733 r49176  
    365365
    366366        // Check that the encoding is supported
     367        if (!in_array($input, mb_list_encodings()))
     368        {
     369            return false;
     370        }
     371
    367372        if (@mb_convert_encoding("\x80", 'UTF-16BE', $input) === "\x00\x80")
    368         {
    369             return false;
    370         }
    371         if (!in_array($input, mb_list_encodings()))
    372373        {
    373374            return false;
Note: See TracChangeset for help on using the changeset viewer.