WordPress.org

Plugin Directory

akismet

Opened 4 years ago

Closed 4 years ago

#1053 closed enhancement (fixed)

Akistmet injects 40 elements in $comment_data array

Reported by: petervanderdoes Owned by: matt
Priority: normal Severity: normal
Plugin: akismet Keywords: has-patch, akismet-2.4
Cc:

Description

Akismet injects 40 elements into the $commendata array and those elements are returned into the core.

As far as I know there is no need for these elements to be returned.

More info: Function is called during action: add_action('preprocess_comment', 'akismet_auto_check_comment', 1);

Attachments (1)

injection_removal.diff (787 bytes) - added by petervanderdoes 4 years ago.

Download all attachments as: .zip

Change History (4)

comment:2 tellyworth4 years ago

  • Keywords akismet-2.4 added

comment:3 josephscott4 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [274191]) Don't inject the extra Akismet data into $comment.

Fixes #1053 props petervanderdoes

Note: See TracTickets for help on using tickets.