iandunn
d544fc7cb4
Feed: Merge multiple header values to avoid fatal error.
...
When SimplePie parses HTTP headers, it combines multiple values for the same header into a comma-separated string. `WP_SimplePie_File` overrides the parsing, but was leaving them as an array instead.
That lead to a fatal error in PHP 8, because other parts of the codebase ended up passing an array to a function that expected a string.
Props david.binda, litemotiv, inc2734, NicolasKulka, hellofromTonya, mbabker, skithund, SergeyBiryukov, desrosj, timothyblynjacobs.
Fixes #51056 . See #51956 .
Built from https://develop.svn.wordpress.org/trunk@49803
git-svn-id: http://core.svn.wordpress.org/trunk@49526 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-12-16 00:51:05 +00:00
..
2020-12-03 14:43:31 +00:00
2020-12-01 17:03:04 +00:00
2020-12-10 23:27:06 +00:00
2020-11-12 19:36:36 +00:00
2020-08-01 14:09:06 +00:00
2020-12-01 12:19:43 +00:00
2020-11-22 15:53:03 +00:00
2020-07-17 17:11:03 +00:00
2020-11-17 01:00:08 +00:00
2020-07-05 15:22:01 +00:00
2020-12-03 14:43:31 +00:00
2020-11-30 17:10:05 +00:00
2020-12-10 23:59:03 +00:00
2020-10-29 18:00:08 +00:00
2020-12-10 23:59:03 +00:00
2020-10-16 17:20:07 +00:00
2020-10-20 02:22:07 +00:00
2020-12-03 17:41:07 +00:00
2020-10-18 17:33:07 +00:00
2020-07-03 23:42:01 +00:00
2020-10-19 23:39:04 +00:00
2020-07-23 20:01:04 +00:00
2020-10-17 15:45:06 +00:00
2020-11-19 18:24:09 +00:00
2020-07-27 15:14:04 +00:00
2020-11-25 01:20:09 +00:00
2020-11-24 12:29:07 +00:00
2020-07-23 21:55:04 +00:00
2020-11-24 21:27:05 +00:00
2020-11-17 03:29:12 +00:00
2020-12-15 22:18:07 +00:00
2020-11-24 21:27:05 +00:00
2020-07-23 21:55:04 +00:00
2020-10-10 20:02:05 +00:00
2020-11-12 11:17:07 +00:00
2020-07-21 12:58:02 +00:00
2020-10-16 17:20:07 +00:00
2020-10-17 16:05:09 +00:00
2020-10-17 16:05:09 +00:00
2020-10-15 15:26:05 +00:00
2020-10-19 23:39:04 +00:00
2020-08-19 02:46:04 +00:00
2020-06-28 14:02:06 +00:00
2020-12-10 23:27:06 +00:00
2020-06-25 05:16:11 +00:00
2020-10-13 13:10:30 +00:00
2020-10-26 21:51:08 +00:00
2020-10-26 21:51:08 +00:00
2020-10-10 20:02:05 +00:00
2020-10-26 21:55:10 +00:00
2020-07-26 22:17:01 +00:00
2020-10-20 07:54:10 +00:00
2020-11-25 01:20:09 +00:00
2020-11-24 21:27:05 +00:00
2020-09-04 20:41:07 +00:00
2020-10-17 14:54:05 +00:00
2020-12-01 20:47:06 +00:00
2020-10-08 21:15:13 +00:00
2020-06-20 13:18:11 +00:00
2020-07-23 21:11:05 +00:00
2020-10-08 21:15:13 +00:00
2020-11-19 18:24:09 +00:00
2020-07-23 00:48:06 +00:00
2020-11-09 11:17:07 +00:00
2020-07-23 20:01:04 +00:00
2020-10-09 22:30:04 +00:00
2020-11-02 19:55:07 +00:00
2020-11-12 14:36:10 +00:00
2020-11-03 17:36:09 +00:00
2020-07-23 07:39:02 +00:00
2020-10-08 21:15:13 +00:00
2020-06-28 11:49:02 +00:00
2020-07-23 20:01:04 +00:00
2020-06-26 18:40:04 +00:00
2020-11-19 17:54:05 +00:00
2020-11-14 16:35:06 +00:00
2020-12-04 21:41:06 +00:00
2020-11-09 15:35:05 +00:00
2020-10-20 14:37:05 +00:00
2020-07-10 12:46:09 +00:00
2020-11-12 14:43:09 +00:00
2020-09-18 10:37:08 +00:00
2020-10-08 21:15:13 +00:00
2020-07-14 12:10:05 +00:00
2020-11-24 21:27:05 +00:00
2020-11-24 21:22:04 +00:00
2020-11-16 11:04:12 +00:00
2020-11-17 10:11:11 +00:00
2020-06-20 11:18:09 +00:00
2020-12-10 23:59:03 +00:00
2020-11-09 15:15:08 +00:00
2020-12-11 16:53:10 +00:00
2020-08-11 00:34:08 +00:00
2020-09-18 11:03:02 +00:00
2020-06-19 22:55:12 +00:00
2020-08-11 00:34:08 +00:00
2020-08-11 00:34:08 +00:00
2020-11-19 16:15:08 +00:00
2020-07-23 00:52:05 +00:00
2020-07-23 20:01:04 +00:00
2020-08-12 15:05:08 +00:00
2020-12-16 00:51:05 +00:00
2020-10-10 20:02:05 +00:00
2020-11-24 21:27:05 +00:00
2020-07-14 12:10:05 +00:00
2020-12-10 23:59:03 +00:00
2020-11-19 18:24:09 +00:00
2020-12-10 23:53:07 +00:00
2020-10-18 17:27:06 +00:00
2020-10-20 02:04:07 +00:00
2020-11-24 21:27:05 +00:00
2020-12-10 23:59:03 +00:00
2020-11-05 18:46:10 +00:00
2020-10-10 20:02:05 +00:00
2020-10-29 18:05:06 +00:00
2020-10-06 08:59:04 +00:00
2020-12-06 02:21:07 +00:00
2020-12-02 16:55:06 +00:00
2020-10-19 23:39:04 +00:00
2020-10-18 17:27:06 +00:00
2020-10-28 18:37:07 +00:00
2020-10-20 02:04:07 +00:00
2020-10-20 13:36:16 +00:00
2020-11-14 16:35:06 +00:00
2020-11-25 12:14:05 +00:00
2020-11-03 17:36:09 +00:00
2020-07-23 19:06:03 +00:00
2020-11-12 14:36:10 +00:00
2020-11-06 14:16:07 +00:00
2020-12-10 23:59:03 +00:00
2020-12-06 02:21:07 +00:00
2020-11-14 16:35:06 +00:00
2020-10-08 21:15:13 +00:00
2020-10-25 00:14:05 +00:00
2020-11-17 20:52:09 +00:00
2020-12-10 23:53:07 +00:00
2020-11-17 19:21:05 +00:00
2020-11-12 15:46:07 +00:00
2020-12-08 11:51:05 +00:00
2020-11-26 12:34:06 +00:00
2020-10-17 16:05:09 +00:00
2020-06-20 12:40:12 +00:00
2020-07-05 11:21:03 +00:00
2020-11-19 18:24:09 +00:00
2020-11-17 15:44:07 +00:00
2020-10-18 20:53:08 +00:00
2020-10-18 17:27:06 +00:00
2020-11-24 21:27:05 +00:00
2020-07-08 13:15:03 +00:00
2020-10-08 21:15:13 +00:00
2020-11-14 17:02:05 +00:00
2020-11-24 21:22:04 +00:00
2020-10-18 19:19:06 +00:00
2020-11-24 21:27:05 +00:00
2020-11-24 21:27:05 +00:00
2020-11-24 21:27:05 +00:00
2020-12-10 23:59:03 +00:00
2020-11-05 09:44:05 +00:00
2020-11-12 11:17:07 +00:00
2020-11-12 11:17:07 +00:00
2020-11-16 16:48:12 +00:00
2020-10-08 21:15:13 +00:00
2020-11-19 16:15:08 +00:00
2020-11-16 22:52:05 +00:00
2020-07-05 15:22:01 +00:00
2020-12-01 03:44:05 +00:00
2020-10-18 17:27:06 +00:00
2020-08-27 01:30:04 +00:00
2020-11-12 11:17:07 +00:00
2020-12-10 23:59:03 +00:00
2020-07-07 11:01:59 +00:00
2020-10-29 00:08:06 +00:00
2020-10-20 17:56:06 +00:00
2020-12-10 23:53:07 +00:00
2020-10-08 21:15:13 +00:00
2020-12-16 00:51:05 +00:00
2020-12-10 23:59:03 +00:00
2020-10-17 16:26:09 +00:00