[wp-trac] [WordPress Trac] #27140: possible bug in pre_comment_approved filter
WordPress Trac
noreply at wordpress.org
Mon Feb 17 15:30:05 UTC 2014
#27140: possible bug in pre_comment_approved filter
----------------------------+-------------------------
Reporter: realblueorange | Owner:
Type: defect (bug) | Status: closed
Priority: normal | Milestone:
Component: Comments | Version:
Severity: normal | Resolution: worksforme
Keywords: | Focuses:
----------------------------+-------------------------
Comment (by realblueorange):
Ah, in that case I think the codex needs changing. 'Disapproved' suggests
something different.
the wording "0 if the comment should be disapproved" might be clearer
worded as "0 if the comment is unapproved".
Sorry for the mixup. I guess there is no bug, and this filter cannot be
used to prevent the comment from making it into the database.
Isn't it an idea to have another returncode that has as an effect that the
comment is totally disregarded? Or do I need to make another ticket for
this (sorry, this is my first time on trac).
--
Ticket URL: <https://core.trac.wordpress.org/ticket/27140#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list