Opened 10 years ago
Closed 10 years ago
#34156 closed enhancement (fixed)
Clarify parameters in get_posts() docblock
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | 4.4 | Priority: | normal |
| Severity: | normal | Version: | |
| Component: | Query | Keywords: | has-patch |
| Focuses: | docs | Cc: |
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.