Make WordPress Core

Changeset 60947


Ignore:
Timestamp:
10/16/2025 07:43:53 PM (4 months ago)
Author:
swissspidy
Message:

External Libraries: Backport upstream PHP 8.5 fixes for SimplePie.

After the update to v1.9.0 in [60771], this merges a single bug fix, in absence of a new upstream release in time for 6.9 Beta.

References:

Props swissspidy.
Fixes #63961.

File:
1 edited

Legend:

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

    r60771 r60947  
    171171        }
    172172
    173         if ($return === null && isset($this->normalization[$this->scheme][$name])) {
     173        if ($return === null && isset($this->scheme, $this->normalization[$this->scheme][$name])) {
    174174            return $this->normalization[$this->scheme][$name];
    175175        }
     
    624624    protected function scheme_normalization()
    625625    {
     626        if ($this->scheme === null) {
     627            return;
     628        }
     629
    626630        if (isset($this->normalization[$this->scheme]['iuserinfo']) && $this->iuserinfo === $this->normalization[$this->scheme]['iuserinfo']) {
    627631            $this->iuserinfo = null;
Note: See TracChangeset for help on using the changeset viewer.