[wp-trac] [WordPress Trac] #33903: Documentation for $comment_approved parameter is incomplete

WordPress Trac noreply at wordpress.org
Wed Sep 16 20:17:33 UTC 2015


#33903: Documentation for $comment_approved parameter is incomplete
--------------------------+-----------------------------
 Reporter:  cfinke        |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Comments      |    Version:  trunk
 Severity:  normal        |   Keywords:
  Focuses:  docs          |
--------------------------+-----------------------------
 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.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/33903>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list