#63716 closed defect (bug) (worksforme)
xml_set_object() is deprecated in PHP 8.4, still used in SimplePie Parser for WordPress News Feed
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Milestone: | Priority: | normal | |
| Severity: | normal | Version: | 6.8.2 |
| Component: | Feeds | Keywords: | |
| Focuses: | Cc: |
Description
The Dashboard Widget "WordPress Events and News" relies on SimplePie which is not yet fully ready for PHP 8.4.
/wp-includes/SimplePie/Parser.php on line 162
triggers PHP deprecation message.
(Can be temporarily circumvented by opting out of WordPress Events and News.)
Change History (4)
#2
@
8 months ago
- Resolution set to worksforme
- Status changed from new to closed
Can't reproduce it now, must have been some odd caching issue, given that the site came from 6.6 (although I'm bewildered that it had showed up in the server logs - so it couldn't have been browser/client caching.)
Anyway, sorry for the (apparently) false alarm.
Note: See
TracTickets for help on using
tickets.
I do not think your site should have that anymore.
SimplePie removed
xml_set_object()in https://github.com/simplepie/simplepie/pull/851Then WordPress 6.7 updated the library to 1.8.0 (#55604).
wp-includes/SimplePie/src/Parser.php (note
src) with 6.8.2