Skip to:
Content

bbPress.org

Changeset 2912


Ignore:
Timestamp:
02/18/2011 05:00:25 AM (10 years ago)
Author:
johnjamesjacoby
Message:

Clarify subscription notification email text. Props designsimply, hanni, westi. Fixes #1472.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bb-includes/functions.bb-posts.php

    r2860 r2912  
    661661        $user = bb_get_user( $user_id );
    662662       
    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 ) )
    664664            continue; /* For plugins */
    665665       
     
    667667            $user->user_email,
    668668            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 ) )
    670670        );
    671671    }
Note: See TracChangeset for help on using the changeset viewer.