Opened 11 years ago
Closed 11 years ago
#34156 closed enhancement (fixed)
Clarify parameters in get_posts() docblock
| Reported by: | johnbillion | Owned by: | DrewAPicture |
|---|---|---|---|
| Priority: | normal | Milestone: | 4.4 |
| Component: | Query | Version: | |
| Severity: | normal | Keywords: | has-patch |
| Cc: | Focuses: | docs |
Description
The parameters listed in the docblock for get_posts() are confusing because it includes a subset of the arguments inherited from WP_Query in addition to its own parameters.
The parameters which are inherited from WP_Query and which do not have a different default value shouldn't be listed.
Attachments (1)
Change History (4)
Note:
See TracTickets
for help on using tickets.
Absolutely. I like this.