Repository navigation
Commit 4ad40b0
committed
Abilities API: Stop citing the author filter in parse_filter_int()'s docblock
The docblock said the parser keeps `author => 0` from dropping the author
filter, but the author filter is now `author_slug`, resolved by
`get_author_by_slug()`. `parse_filter_int()` only reads the `id` input and the
`parent` filter, so the docblock now describes those, as the AI plugin does
(WordPress/ai#1025).1 parent 155f3b7 commit 4ad40b0
1 file changed
Lines changed: 3 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
244 | 244 | | |
245 | 245 | | |
246 | 246 | | |
247 | | - | |
| 247 | + | |
248 | 248 | | |
249 | 249 | | |
250 | | - | |
251 | | - | |
252 | | - | |
| 250 | + | |
| 251 | + | |
253 | 252 | | |
254 | 253 | | |
255 | 254 | | |
| |||
0 commit comments