Skip to content
Prev Previous commit
Automation: Updating built files with changes.
  • Loading branch information
wordpress-develop-pr-bot[bot] committed Nov 11, 2025
commit 8806eb616338de3136ce992e579ca3853f305dae
4 changes: 0 additions & 4 deletions src/wp-includes/Requests/src/Hooks.php
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,4 @@ public function dispatch($hook, $parameters = []) {

return true;
}

public function __wakeup() {
throw new \LogicException( __CLASS__ . ' should never be unserialized' );
}
}
14 changes: 0 additions & 14 deletions src/wp-includes/Requests/src/Iri.php
Original file line number Diff line number Diff line change
Expand Up @@ -717,20 +717,6 @@ public function is_valid() {
return true;
}

public function __wakeup() {
$class_props = get_class_vars( __CLASS__ );
$string_props = array( 'scheme', 'iuserinfo', 'ihost', 'port', 'ipath', 'iquery', 'ifragment' );
$array_props = array( 'normalization' );
foreach ( $class_props as $prop => $default_value ) {
if ( in_array( $prop, $string_props, true ) && ! is_string( $this->$prop ) ) {
throw new UnexpectedValueException();
} elseif ( in_array( $prop, $array_props, true ) && ! is_array( $this->$prop ) ) {
throw new UnexpectedValueException();
}
$this->$prop = null;
}
}

/**
* Set the entire IRI. Returns true on success, false on failure (if there
* are any invalid characters).
Expand Down
4 changes: 0 additions & 4 deletions src/wp-includes/Requests/src/Session.php
Original file line number Diff line number Diff line change
Expand Up @@ -265,10 +265,6 @@ public function request_multiple($requests, $options = []) {
return Requests::request_multiple($requests, $options);
}

public function __wakeup() {
throw new \LogicException( __CLASS__ . ' should never be unserialized' );
}

/**
* Merge a request's data with the default data
*
Expand Down
Empty file modified src/wp-includes/SimplePie/library/SimplePie.php
100644 → 100755
Empty file.
Empty file modified src/wp-includes/SimplePie/library/SimplePie/Cache/Memcached.php
100644 → 100755
Empty file.
Empty file modified src/wp-includes/SimplePie/library/SimplePie/Registry.php
100644 → 100755
Empty file.
Empty file modified src/wp-includes/SimplePie/src/Cache/Memcached.php
100755 → 100644
Empty file.
6 changes: 1 addition & 5 deletions src/wp-includes/SimplePie/src/IRI.php
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ public function __get(string $name)
$return = null;
}

if ($return === null && isset($this->scheme, $this->normalization[$this->scheme][$name])) {
if ($return === null && isset($this->normalization[$this->scheme][$name])) {
return $this->normalization[$this->scheme][$name];
}

Expand Down Expand Up @@ -623,10 +623,6 @@ protected function remove_iunreserved_percent_encoded(array $match)
*/
protected function scheme_normalization()
{
if ($this->scheme === null) {
return;
}

if (isset($this->normalization[$this->scheme]['iuserinfo']) && $this->iuserinfo === $this->normalization[$this->scheme]['iuserinfo']) {
$this->iuserinfo = null;
}
Expand Down
2 changes: 1 addition & 1 deletion src/wp-includes/SimplePie/src/SimplePie.php
Original file line number Diff line number Diff line change
Expand Up @@ -3306,7 +3306,7 @@ public function __call(string $method, array $args)
}

$class = get_class($this);
$trace = debug_backtrace(); // phpcs:ignore PHPCompatibility.FunctionUse.ArgumentFunctionsReportCurrentValue.NeedsInspection
$trace = debug_backtrace();
$file = $trace[0]['file'] ?? '';
$line = $trace[0]['line'] ?? '';
throw new SimplePieException("Call to undefined method $class::$method() in $file on line $line");
Expand Down
Loading