Make WordPress Core


Ignore:
Timestamp:
09/07/2010 02:36:35 PM (14 years ago)
Author:
nacin
Message:

Pass some context to the pre_comment_approved hook. props coffee2code, fixes #14802.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/comment.php

    r15590 r15592  
    589589    }
    590590
    591     $approved = apply_filters('pre_comment_approved', $approved);
     591    $approved = apply_filters( 'pre_comment_approved', $approved, $commentdata );
    592592    return $approved;
    593593}
Note: See TracChangeset for help on using the changeset viewer.