Make WordPress Core

Changeset 15553


Ignore:
Timestamp:
08/31/2010 06:24:41 PM (14 years ago)
Author:
ryan
Message:

Link directly to comment in email notification. Props lancewillett. fixes #12797

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/pluggable.php

    r15149 r15553  
    10491049    }
    10501050    $notify_message .= get_permalink($comment->comment_post_ID) . "#comments\r\n\r\n";
     1051    $notify_message .= sprintf( __('Permalink : %s'), get_permalink( $comment->comment_post_ID ) . '#comment-' . $comment_id ) . "\r\n";
    10511052    if ( EMPTY_TRASH_DAYS )
    10521053        $notify_message .= sprintf( __('Trash it: %s'), admin_url("comment.php?action=trash&c=$comment_id") ) . "\r\n";
Note: See TracChangeset for help on using the changeset viewer.