Commit 082d382
committed
XML-RPC: Check for the required
This avoids a PHP fatal error if a string is passed as the content struct parameter instead of an array.
Follow-up to [20137].
Props josephscott, SergeyBiryukov.
Fixes #65682.
git-svn-id: https://develop.svn.wordpress.org/trunk@62830 602fd350-edb4-49c9-b593-d223f7449a82taxonomy argument in wp_editTerm().1 parent 02cadfa commit 082d382
2 files changed
Lines changed: 35 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2213 | 2213 | | |
2214 | 2214 | | |
2215 | 2215 | | |
2216 | | - | |
| 2216 | + | |
| 2217 | + | |
| 2218 | + | |
2217 | 2219 | | |
2218 | 2220 | | |
2219 | 2221 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
53 | 85 | | |
54 | 86 | | |
55 | 87 | | |
| |||
0 commit comments