WordPress.org

Make WordPress Core

Ticket #14802: 14802.diff

File 14802.diff, 406 bytes (added by coffee2code, 9 years ago)

Patch mentioned in ticket.

  • wp-includes/comment.php

     
    588588                        $approved = 'spam';
    589589        }
    590590
    591         $approved = apply_filters('pre_comment_approved', $approved);
     591        $approved = apply_filters( 'pre_comment_approved', $approved, $commentdata );
    592592        return $approved;
    593593}
    594594