Opened 4 years ago
Closed 4 years ago
#49206 closed defect (bug) (fixed)
Update `wp_allow_comment()` and `pre_comment_approved` docs with possible `trash` return value
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 5.4 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Comments | Keywords: | good-first-bug has-patch |
Focuses: | docs | Cc: |
Description
In wp_allow_comment()
, if wp_blacklist_check()
is true
and EMPTY_TRASH_DAYS
is defined and truthy, then trash
is returned for the value of $approved
.
The docs for wp_allow_comment()
and the pre_comment_approved
filter should be updated to reflect this.
Attachments (1)
Change History (3)
Note: See
TracTickets for help on using
tickets.
In 47286: