[wp-trac] [WordPress Trac] #27140: possible bug in pre_comment_approved filter

WordPress Trac noreply at wordpress.org
Mon Feb 17 15:18:09 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:
----------------------------+-------------------------
Changes (by danielbachhuber):

 * status:  new => closed
 * version:  3.8.1 =>
 * resolution:   => worksforme
 * milestone:  Awaiting Review =>


Comment:

 > I would think a return of 0 means that the comment is ignored, no e-mail
 is sent and it certainly is not in the database. Or am I wrong??

 Returning "0" means the comment will be marked as ''unapproved'' and
 triggers the comment moderation email. "Unapproved" comments appear for
 you to either approve or mark as spam in the admin. If you do the former,
 then the comment will appear on the post.

 Returning "spam" means the comment will be marked as spam. No comment
 moderation email will be sent.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/27140#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list