Opened 11 years ago
Closed 11 years ago
#33903 closed defect (bug) (fixed)
Documentation for $comment_approved parameter is incomplete
| Reported by: | cfinke | Owned by: | SergeyBiryukov |
|---|---|---|---|
| Priority: | normal | Milestone: | 4.4 |
| Component: | Comments | Version: | 4.4 |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: | docs |
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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Document the possible 'string' value of $comment_approved.