Skip to:
Content

bbPress.org

Ticket #2620: 2620.patch

File 2620.patch, 898 bytes (added by mordauk, 7 years ago)
  • src/includes/common/functions.php

     
    12221222                $topic_url
    12231223        );
    12241224
    1225         $message = apply_filters( 'bbp_forum_subscription_mail_message', $message, $topic_id, $forum_id, $user_id );
     1225        $message = apply_filters( 'bbp_forum_subscription_mail_message', $message, $topic_id, $forum_id, null );
    12261226        if ( empty( $message ) ) {
    12271227                return;
    12281228        }
    12291229
    12301230        // For plugins to filter titles per reply/topic/user
    1231         $subject = apply_filters( 'bbp_forum_subscription_mail_title', '[' . $blog_name . '] ' . $topic_title, $topic_id, $forum_id, $user_id );
     1231        $subject = apply_filters( 'bbp_forum_subscription_mail_title', '[' . $blog_name . '] ' . $topic_title, $topic_id, $forum_id, null );
    12321232        if ( empty( $subject ) ) {
    12331233                return;
    12341234        }