Commit 55c08d7
committed
AlternativeFunctions: allow for php://input used by file_get_contents()
Reported by remcotolsma in 49e7700#commitcomment-32391794
While a little esoteric in a WP context, using the WP File Wrapper functions is not a suitable alternative when `php://input` is being read.
Includes unit test.1 parent 7e54b98 commit 55c08d7
File tree
2 files changed
+8
-1
lines changed- WordPress
- Sniffs/WP
- Tests/WP
2 files changed
+8
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
202 | 202 | | |
203 | 203 | | |
204 | 204 | | |
205 | | - | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
206 | 212 | | |
207 | 213 | | |
208 | 214 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
| 53 | + | |
0 commit comments