Opened 9 years ago
Closed 9 years ago
#33903 closed defect (bug) (fixed)
Documentation for $comment_approved parameter is incomplete
Reported by: | cfinke | Owned by: | SergeyBiryukov |
---|---|---|---|
Milestone: | 4.4 | Priority: | normal |
Severity: | normal | Version: | 4.4 |
Component: | Comments | Keywords: | |
Focuses: | docs | Cc: |
Description
The $comment_approved
parameter for wp_new_comment_notify_moderator()
and the comment_post
action is documented as being an int
that can be either 0
or 1
, but it can also have the string value spam
.
Patch forthcoming.
Attachments (1)
Change History (4)
Note: See
TracTickets for help on using
tickets.
Document the possible 'string' value of $comment_approved.