Skip to:
Content

bbPress.org

Ticket #2720: 2720.patch

File 2720.patch, 886 bytes (added by tharsheblows, 7 years ago)
  • src/includes/common/functions.php

     
    12751275                $topic_url
    12761276        );
    12771277
    1278         $message = apply_filters( 'bbp_forum_subscription_mail_message', $message, $topic_id, $forum_id, $user_id );
     1278        $message = apply_filters( 'bbp_forum_subscription_mail_message', $message, $topic_id, $forum_id );
    12791279        if ( empty( $message ) ) {
    12801280                return;
    12811281        }
    12821282
    12831283        // For plugins to filter titles per reply/topic/user
    1284         $subject = apply_filters( 'bbp_forum_subscription_mail_title', '[' . $blog_name . '] ' . $topic_title, $topic_id, $forum_id, $user_id );
     1284        $subject = apply_filters( 'bbp_forum_subscription_mail_title', '[' . $blog_name . '] ' . $topic_title, $topic_id, $forum_id );
    12851285        if ( empty( $subject ) ) {
    12861286                return;
    12871287        }