Opened 12 years ago
Closed 12 years ago
#2640 closed defect (bug) (duplicate)
bbp_notify_forum_subscribers: $user_id leftover
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Milestone: | Priority: | normal | |
| Severity: | trivial | Version: | 2.5.4 |
| Component: | General | Keywords: | |
| Cc: |
Description
While applying filters in bbp_notify_forum_subscribers() $user_id isnt' available in the context and for the filter anymore:
$message = apply_filters( 'bbp_forum_subscription_mail_message', $message, $topic_id, $forum_id, $user_id );
if ( empty( $message ) ) {
return;
}
and
$subject = apply_filters( 'bbp_forum_subscription_mail_title', '[' . $blog_name . '] ' . $topic_title, $topic_id, $forum_id, $user_id );
if ( empty( $subject ) ) {
return;
}
Change History (1)
Note: See
TracTickets for help on using
tickets.
Duplicate: #2620