Opened 10 years ago
Closed 10 years ago
#36896 closed defect (bug) (fixed)
Improve docs for the return value of WP_Comment_Query::get_comments()
| Reported by: | ocean90 | Owned by: | barryceelen |
|---|---|---|---|
| Priority: | normal | Milestone: | 4.6 |
| Component: | Comments | Version: | |
| Severity: | normal | Keywords: | good-first-bug has-patch commit |
| Cc: | Focuses: | docs |
Description
Currently: "@return int|array The list of comments." It should explain when the function returns an integer.
Attachments (2)
Change History (8)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Wording shamelessly copied from
comment.phphttps://core.trac.wordpress.org/browser/trunk/src/wp-includes/comment.php#L214.