[wp-trac] [WordPress Trac] #63716: xml_set_object() is deprecated in PHP 8.4, still used in SimplePie Parser for WordPress News Feed

WordPress Trac noreply at wordpress.org
Fri Jul 18 15:12:01 UTC 2025


#63716: xml_set_object() is deprecated in PHP 8.4, still used in SimplePie Parser
for WordPress News Feed
--------------------------------+------------------------------
 Reporter:  Andy Schmidt        |       Owner:  (none)
     Type:  defect (bug)        |      Status:  new
 Priority:  normal              |   Milestone:  Awaiting Review
Component:  External Libraries  |     Version:  6.8.2
 Severity:  normal              |  Resolution:
 Keywords:  close               |     Focuses:
--------------------------------+------------------------------
Changes (by sabernhardt):

 * keywords:   => close
 * component:  Administration => External Libraries


Comment:

 I do not think your site should have that anymore.

 SimplePie removed `xml_set_object()` in
 https://github.com/simplepie/simplepie/pull/851

 Then WordPress 6.7 updated the library to 1.8.0 (#55604).
 [https://github.com/WordPress/wordpress-develop/blob/6.8.2/src/wp-
 includes/SimplePie/src/Parser.php#L150-L154 wp-
 includes/SimplePie/src/Parser.php] (note `src`) with 6.8.2

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/63716#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list