Opened 9 years ago
Closed 9 years ago
#36896 closed defect (bug) (fixed)
Improve docs for the return value of WP_Comment_Query::get_comments()
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 4.6 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Comments | Keywords: | good-first-bug has-patch commit |
Focuses: | docs | Cc: |
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.
Wording shamelessly copied from
comment.php
https://core.trac.wordpress.org/browser/trunk/src/wp-includes/comment.php#L214.