Commit ca1f77a
committed
Bad Requests: Avoid PHP Warnings & Fatals from invalid input in
This includes:
- `E_WARNING: Array to string conversion in wp-includes/post.php:6072`
- `Uncaught TypeError: urldecode(): Argument #1 ($string) must be of type string, array given in wp-includes/post.php:6083`
See https://core.trac.wordpress.org/ticket/62828
git-svn-id: https://meta.svn.wordpress.org/sites/trunk@14416 74240141-8908-4e6f-9713-ba540dce6ec7year, monthnum and day fields.1 parent d6ad551 commit ca1f77a
1 file changed
Lines changed: 23 additions & 0 deletions
Lines changed: 23 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
43 | 66 | | |
44 | 67 | | |
45 | 68 | | |
| |||
0 commit comments