John Blackbourn
01c9ea7540
Query: Be better at forcing data types for query vars.
...
Several query vars only accept a scalar value and pass the value through functions that assume a scalar value. Adding extra guard conditions to the types of query vars doesn't affect their functionality but does remove PHP notices and warnings that can otherwise be generated when a non-scalar value such as an array is present in a query var.
Props juliobox, xknown, SergeyBiryukov, dave1010, nacin, tellyworth, dd32, audrasjb, johnregan3
Fixes #17737
git-svn-id: https://develop.svn.wordpress.org/trunk@53891 602fd350-edb4-49c9-b593-d223f7449a82
2022-08-13 22:29:19 +00:00
..
2022-08-11 12:37:05 +00:00
2022-07-26 13:21:55 +00:00
2022-07-07 21:06:03 +00:00
2022-07-07 21:06:03 +00:00
2022-08-08 08:20:43 +00:00
2021-12-21 00:10:26 +00:00
2022-03-09 15:06:09 +00:00
2022-07-07 23:00:07 +00:00
2022-08-08 23:12:30 +00:00
2021-11-08 14:21:44 +00:00
2022-07-29 03:32:58 +00:00
2022-08-07 16:36:42 +00:00
2022-08-01 22:48:42 +00:00
2021-11-25 19:39:31 +00:00
2022-05-07 02:51:54 +00:00
2021-08-20 16:11:04 +00:00
2021-08-21 15:32:53 +00:00
2022-05-23 14:20:47 +00:00
2022-08-03 12:18:22 +00:00
2021-11-04 15:22:47 +00:00
2022-07-21 21:09:56 +00:00
2022-08-13 12:09:41 +00:00
2022-08-06 00:03:01 +00:00
2022-07-31 15:03:46 +00:00
2022-06-12 15:16:09 +00:00
2022-07-21 18:01:01 +00:00
2022-08-08 23:22:43 +00:00
2022-01-30 19:40:57 +00:00
2022-08-11 12:37:05 +00:00
2022-08-04 18:28:33 +00:00
2022-08-11 21:49:08 +00:00
2022-08-07 14:32:55 +00:00
2021-11-25 19:39:31 +00:00
2022-06-23 14:24:08 +00:00
2022-04-07 17:57:59 +00:00
2022-03-22 16:23:32 +00:00
2022-08-08 23:33:11 +00:00
2022-06-08 13:17:27 +00:00
2022-08-07 13:56:35 +00:00
2022-08-11 19:58:21 +00:00
2022-06-01 14:16:39 +00:00
2022-08-13 22:29:19 +00:00
2022-08-11 18:22:59 +00:00
2022-08-08 14:38:08 +00:00
2022-08-05 05:47:56 +00:00
2021-08-07 10:29:41 +00:00
2022-08-04 18:28:33 +00:00
2022-08-11 12:37:05 +00:00
2022-07-08 00:11:15 +00:00
2022-08-03 14:34:58 +00:00
2022-04-30 11:33:30 +00:00
2021-12-06 21:29:00 +00:00
2022-03-02 15:38:27 +00:00
2021-12-19 13:42:37 +00:00
2022-07-31 21:35:40 +00:00
2021-11-04 15:22:47 +00:00
2021-11-15 01:08:35 +00:00
2022-06-09 05:29:57 +00:00
2022-07-07 23:55:13 +00:00
2022-06-01 14:16:39 +00:00
2022-04-07 13:33:03 +00:00
2022-08-04 17:47:41 +00:00
2022-04-01 03:23:07 +00:00
2022-07-07 23:00:07 +00:00
2022-08-08 23:12:30 +00:00
2022-08-08 23:12:30 +00:00
2022-07-29 03:32:58 +00:00
2022-07-06 05:31:47 +00:00
2021-11-04 15:22:47 +00:00
2021-12-07 17:44:46 +00:00
2022-08-07 14:48:42 +00:00
2022-07-31 16:25:27 +00:00
2022-08-13 12:09:41 +00:00
2021-08-26 12:57:08 +00:00
2021-08-26 12:57:08 +00:00
2022-05-02 13:11:07 +00:00
2022-08-08 23:39:06 +00:00
2021-11-04 15:22:47 +00:00
2022-08-08 23:39:06 +00:00
2022-02-25 14:08:53 +00:00
2022-07-29 14:33:15 +00:00
2021-11-04 15:22:47 +00:00
2021-11-04 15:22:47 +00:00
2022-07-23 14:56:51 +00:00
2022-07-27 15:41:30 +00:00
2022-08-08 14:38:08 +00:00
2022-04-19 14:38:16 +00:00
2021-12-19 13:42:37 +00:00
2021-08-26 12:57:08 +00:00
2021-11-04 15:22:47 +00:00
2021-11-04 15:22:47 +00:00
2022-08-09 10:21:32 +00:00
2021-08-07 10:29:41 +00:00
2022-03-16 03:04:40 +00:00
2022-05-06 11:09:54 +00:00
2021-11-04 15:22:47 +00:00
2022-07-08 00:11:15 +00:00
2022-08-03 14:34:58 +00:00
2022-07-07 23:55:13 +00:00
2021-11-04 15:22:47 +00:00
2021-11-27 16:16:15 +00:00
2021-08-07 10:29:41 +00:00