Skip to:
Content

bbPress.org

Changeset 2388


Ignore:
Timestamp:
12/31/2009 01:18:12 AM (16 years ago)
Author:
matt
Message:

Better email format.

File:
1 edited

Legend:

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

    r2386 r2388  
    405405        $user = bb_get_user( $user_id );
    406406
    407         $message = __("There is a new post on: %1\$s \nReply by: %2\$s \nText: %3\$s \n\n%4\$s ");
     407        $message = __( "%2\$s wrote:\n\n %3\$s\n\nTopic Link: %4\$s\n\nYou're getting this mail because you subscribed to the topic, visit the topic and login to unsubscribe." );
    408408        bb_mail(
    409409            $user->user_email,
    410410            '[' . bb_get_option('name') . '] ' . get_topic_title( $topic_id ),
    411             sprintf( $message, get_topic_title( $topic_id ), get_user_name( $post->poster_id ), strip_tags( get_post_text( $post_id ) ), get_topic_link( $topic_id ) ),
     411            sprintf( $message, get_topic_title( $topic_id ), get_user_name( $post->poster_id ), strip_tags( get_post_text( $post_id ) ), get_post_link( $post_id ) ),
    412412            'From: '.bb_get_option('name').' <'.bb_get_option('from_email').'>'
    413413        );
Note: See TracChangeset for help on using the changeset viewer.