Commit 80a2459
committed
Docs: Fix
The `$args` parameter is passed through `wp_parse_args()`, which accepts both arrays and query strings. Update the `@param` type from `array` to `array|string` to reflect this, consistent with other functions like `wp_list_categories()` and `get_terms()`.@param type for get_posts().1 parent 8a7d2ce commit 80a2459
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2599 | 2599 | | |
2600 | 2600 | | |
2601 | 2601 | | |
2602 | | - | |
| 2602 | + | |
2603 | 2603 | | |
2604 | 2604 | | |
2605 | 2605 | | |
| |||
0 commit comments