iandunn
27b776fd90
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.
Reviewed by SergeyBiryukov, iandunn.
Merges [49803] and [49805] to the 5.6 branch.
Fixes #51056 . See #51956 .
Built from https://develop.svn.wordpress.org/branches/5.6@49806
git-svn-id: http://core.svn.wordpress.org/branches/5.6@49529 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-12-16 14:26:06 +00:00
..
2020-12-03 14:47:29 +00:00
2020-12-01 17:06:05 +00:00
2020-11-12 20:20:12 +00:00
2020-11-12 19:36:36 +00:00
2020-08-01 14:09:06 +00:00
2020-12-01 12:21:40 +00:00
2020-11-17 04:31:08 +00:00
2020-07-17 17:11:03 +00:00
2020-11-17 01:00:08 +00:00
2020-05-21 09:10:12 +00:00
2020-07-05 15:22:01 +00:00
2020-12-03 14:47:29 +00:00
2020-11-30 17:26:08 +00:00
2020-10-18 06:29:05 +00:00
2020-10-29 18:00:08 +00:00
2020-12-01 20:57:05 +00:00
2020-10-16 17:20:07 +00:00
2020-10-20 02:22:07 +00:00
2020-12-03 17:43:04 +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-07-23 07:39:02 +00:00
2020-07-27 15:14:04 +00:00
2020-11-25 01:15:11 +00:00
2020-10-18 17:27:06 +00:00
2020-07-23 21:55:04 +00:00
2020-06-10 09:57:09 +00:00
2020-07-23 20:01:04 +00:00
2020-11-17 03:29:12 +00:00
2020-07-28 15:42:07 +00:00
2020-11-14 16:35:06 +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-05-01 20:12:06 +00:00
2020-06-03 17:40:12 +00:00
2020-10-16 17:20:07 +00:00
2020-06-12 21:42:09 +00:00
2020-05-01 19:07:09 +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-05-16 18:42:12 +00:00
2020-08-19 02:46:04 +00:00
2020-06-28 14:02:06 +00:00
2020-12-07 20:01: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:15:11 +00:00
2020-11-02 01:38:07 +00:00
2020-09-04 20:41:07 +00:00
2020-10-17 14:54:05 +00:00
2020-12-01 20:57:05 +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-10-08 21:15:13 +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-10-10 20:02:05 +00:00
2020-11-14 16:35:06 +00:00
2020-12-04 21:46: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-08 11:47:06 +00:00
2020-06-20 12:02:12 +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-11-04 02:47:05 +00:00
2020-11-09 15:15:08 +00:00
2020-11-05 09:44:05 +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-10-17 16:26:09 +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 14:26:06 +00:00
2020-10-10 20:02:05 +00:00
2020-11-08 11:47:06 +00:00
2020-07-14 12:10:05 +00:00
2020-10-30 04:59:08 +00:00
2020-11-17 20:09:05 +00:00
2020-10-18 17:27:06 +00:00
2020-10-20 02:04:07 +00:00
2020-11-17 20:09:05 +00:00
2020-10-08 21:15:13 +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-05-06 16:27:12 +00:00
2020-08-27 21:58:04 +00:00
2020-05-06 16:27:12 +00:00
2020-10-28 16:57:08 +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-17 10:11:11 +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-03 20:45:04 +00:00
2020-07-23 21:11:05 +00:00
2020-06-17 10:16:08 +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-11-17 03:29:12 +00:00
2020-11-17 19:21:05 +00:00
2020-11-12 15:46:07 +00:00
2020-12-04 21:46:06 +00:00
2020-10-29 18:08: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-06-22 21:26:16 +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-05-16 18:42:12 +00:00
2020-11-14 16:35:06 +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-10-18 17:27:06 +00:00
2020-10-18 19:19:06 +00:00
2020-11-09 15:15:08 +00:00
2020-10-18 17:27:06 +00:00
2020-09-20 16:23:07 +00:00
2020-12-01 20:57:05 +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-10-08 21:15:13 +00:00
2020-11-16 22:52:05 +00:00
2020-07-05 15:22:01 +00:00
2020-12-01 18:07:08 +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-11-16 17:28:08 +00:00
2020-05-26 09:37:10 +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-04 21:48:03 +00:00
2020-10-08 21:15:13 +00:00
2020-12-16 14:26:06 +00:00
2020-11-11 10:39:09 +00:00
2020-10-17 16:26:09 +00:00