WordPress.org

Make WordPress Core

Ticket #15515: 15515.2.patch

File 15515.2.patch, 504 bytes (added by johnbillion, 8 years ago)

Patch for commetn_save_pre

  • comment.php

     
    14531453        // Now extract the merged array.
    14541454        extract(stripslashes_deep($commentarr), EXTR_SKIP);
    14551455
    1456         $comment_content = apply_filters('comment_save_pre', $comment_content);
     1456        $comment_content = apply_filters('comment_save_pre', $comment_content, $commentarr['comment_ID']);
    14571457
    14581458        $comment_date_gmt = get_gmt_from_date($comment_date);
    14591459