WordPress.org

Make WordPress Core

Changeset 14803


Ignore:
Timestamp:
05/22/10 13:48:38 (4 years ago)
Author:
ryan
Message:

Email messages should be plain text. Props arena. see #13488

File:
1 edited

Legend:

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

    r14781 r14803  
    10191019 
    10201020    if ('comment' == $comment_type) { 
    1021         $notify_message  = sprintf( __( 'New comment on your post “%s”' ), $post->post_title ) . "\r\n"; 
     1021        $notify_message  = sprintf( __( 'New comment on your post "%s"' ), $post->post_title ) . "\r\n"; 
    10221022        /* translators: 1: comment author, 2: author IP, 3: author domain */ 
    10231023        $notify_message .= sprintf( __('Author : %1$s (IP: %2$s , %3$s)'), $comment->comment_author, $comment->comment_author_IP, $comment_author_domain ) . "\r\n"; 
     
    10301030        $subject = sprintf( __('[%1$s] Comment: "%2$s"'), $blogname, $post->post_title ); 
    10311031    } elseif ('trackback' == $comment_type) { 
    1032         $notify_message  = sprintf( __( 'New trackback on your post ”%s”' ), $post->post_title ) . "\r\n"; 
     1032        $notify_message  = sprintf( __( 'New trackback on your post "%s"' ), $post->post_title ) . "\r\n"; 
    10331033        /* translators: 1: website name, 2: author IP, 3: author domain */ 
    10341034        $notify_message .= sprintf( __('Website: %1$s (IP: %2$s , %3$s)'), $comment->comment_author, $comment->comment_author_IP, $comment_author_domain ) . "\r\n"; 
     
    10391039        $subject = sprintf( __('[%1$s] Trackback: "%2$s"'), $blogname, $post->post_title ); 
    10401040    } elseif ('pingback' == $comment_type) { 
    1041         $notify_message  = sprintf( __( 'New pingback on your post ”%s”' ), $post->post_title ) . "\r\n"; 
     1041        $notify_message  = sprintf( __( 'New pingback on your post "%s"' ), $post->post_title ) . "\r\n"; 
    10421042        /* translators: 1: comment author, 2: author IP, 3: author domain */ 
    10431043        $notify_message .= sprintf( __('Website: %1$s (IP: %2$s , %3$s)'), $comment->comment_author, $comment->comment_author_IP, $comment_author_domain ) . "\r\n"; 
     
    11121112    { 
    11131113        case 'trackback': 
    1114             $notify_message  = sprintf( __('A new trackback on the post ”%s” is waiting for your approval'), $post->post_title ) . "\r\n"; 
     1114            $notify_message  = sprintf( __('A new trackback on the post"%s" is waiting for your approval'), $post->post_title ) . "\r\n"; 
    11151115            $notify_message .= get_permalink($comment->comment_post_ID) . "\r\n\r\n"; 
    11161116            $notify_message .= sprintf( __('Website : %1$s (IP: %2$s , %3$s)'), $comment->comment_author, $comment->comment_author_IP, $comment_author_domain ) . "\r\n"; 
     
    11191119            break; 
    11201120        case 'pingback': 
    1121             $notify_message  = sprintf( __('A new pingback on the post ”%s” is waiting for your approval'), $post->post_title ) . "\r\n"; 
     1121            $notify_message  = sprintf( __('A new pingback on the post "%s" is waiting for your approval'), $post->post_title ) . "\r\n"; 
    11221122            $notify_message .= get_permalink($comment->comment_post_ID) . "\r\n\r\n"; 
    11231123            $notify_message .= sprintf( __('Website : %1$s (IP: %2$s , %3$s)'), $comment->comment_author, $comment->comment_author_IP, $comment_author_domain ) . "\r\n"; 
     
    11261126            break; 
    11271127        default: //Comments 
    1128             $notify_message  = sprintf( __('A new comment on the post ”%s” is waiting for your approval'), $post->post_title ) . "\r\n"; 
     1128            $notify_message  = sprintf( __('A new comment on the post "%s" is waiting for your approval'), $post->post_title ) . "\r\n"; 
    11291129            $notify_message .= get_permalink($comment->comment_post_ID) . "\r\n\r\n"; 
    11301130            $notify_message .= sprintf( __('Author : %1$s (IP: %2$s , %3$s)'), $comment->comment_author, $comment->comment_author_IP, $comment_author_domain ) . "\r\n"; 
Note: See TracChangeset for help on using the changeset viewer.