Ticket #1472: bb_notify.diff
File bb_notify.diff, 1.3 KB (added by , 12 years ago) |
---|
-
bb-includes/functions.bb-posts.php
660 660 661 661 $user = bb_get_user( $user_id ); 662 662 663 if ( !$message = apply_filters( 'bb_subscription_mail_message', __( "%1\$s wrote:\n\n%2\$s\n\nPost Link: %3\$s\n\nYou're getting this mail because you subscribed to the topic, visit the topic and login to unsubscribe." ), $post_id, $topic_id ) )663 if ( !$message = apply_filters( 'bb_subscription_mail_message', __( "%1\$s wrote:\n\n%2\$s\n\nRead this post on the forums: %3\$s\n\nYou're getting this email because you subscribed to '%4\$s.'\nPlease click the link above, login, and click ÒUnsubscribeÓ at the top of the page to stop receiving emails from this topic." ), $post_id, $topic_id ) ) 664 664 continue; /* For plugins */ 665 665 666 666 bb_mail( 667 667 $user->user_email, 668 668 apply_filters( 'bb_subscription_mail_title', '[' . bb_get_option( 'name' ) . '] ' . $topic->topic_title, $post_id, $topic_id ), 669 sprintf( $message, $poster_name, strip_tags( $post->post_text ), get_post_link( $post_id ) )669 sprintf( $message, $poster_name, strip_tags( $post->post_text ), get_post_link( $post_id ), strip_tags( $topic->topic_title ) ) 670 670 ); 671 671 } 672 672