[wp-hackers] Why is Akismet returning more info in the $commentdata ?

Peter van der Does peter at avirtualhome.com
Sat Dec 19 18:02:58 UTC 2009

On Sat, 19 Dec 2009 00:24:24 -0500
Peter van der Does <peter at avirtualhome.com> wrote:

> But why are the returned into WordPress?
> The next function called with the preprocess_comment filter inherits
> all these fields as well.
> It just seems unnecessary.

There are even more elements added to the $comment_data array by the
same function. My brain was not working well at 11:30 PM.

The original has 8 elements and after Akismet the array has 48 elements.

Peter van der Does

GPG key: E77E8E98

IRC: Ganseki on irc.freenode.net
Twitter: @petervanderdoes

WordPress Plugin Developer
Blog: http://blog.avirtualhome.com
Forums: http://forums.avirtualhome.com
Twitter: @avhsoftware

More information about the wp-hackers mailing list