[wp-trac] [WordPress Trac] #51956: Fatal error with PHP8 in header link RSS feed on dashboard widget

WordPress Trac noreply at wordpress.org
Tue Dec 8 17:52:52 UTC 2020


#51956: Fatal error with PHP8 in header link RSS feed on dashboard widget
----------------------------+-----------------------
 Reporter:  NicolasKulka    |       Owner:  (none)
     Type:  defect (bug)    |      Status:  assigned
 Priority:  high            |   Milestone:  5.6.1
Component:  Widgets         |     Version:
 Severity:  critical        |  Resolution:
 Keywords:  php8 has-patch  |     Focuses:  rest-api
----------------------------+-----------------------

Comment (by iandunn):

 Assuming this is a duplicate, it seems like `51056.diff` is a better
 solution that PR `795`.

 It seems valid for SimplePie's `get_links()` to expect a string, since
 it's parser combines multiple headers into a comma-separated string. That
 doesn't happen in Core b/c we override the File handler, though.

 https://core.trac.wordpress.org/ticket/51056#comment:3 has a more detailed
 explanation. It just took the build tool realization and a 6th reading for
 it to all fit together :)

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


More information about the wp-trac mailing list