diff --git a/src/wp-includes/feed-atom-comments.php b/src/wp-includes/feed-atom-comments.php
index 1de77e3917..dc8060395c 100644
|
a
|
b
|
do_action( 'rss_tag_pre', 'atom-comments' ); |
| 30 | 30 | <title type="text"> |
| 31 | 31 | <?php |
| 32 | 32 | if ( is_singular() ) { |
| 33 | | /* translators: Comments feed title. %s: Post title. */ |
| | 33 | /* translators: Comments feed title. %s: Post title. Do not use HTML entities ( , etc.) - used in RSS feeds. */ |
| 34 | 34 | printf( ent2ncr( __( 'Comments on %s' ) ), get_the_title_rss() ); |
| 35 | 35 | } elseif ( is_search() ) { |
| 36 | | /* translators: Comments feed title. 1: Site title, 2: Search query. */ |
| | 36 | /* translators: Comments feed title. 1: Site title, 2: Search query. Do not use HTML entities ( , etc.) - used in RSS feeds. */ |
| 37 | 37 | printf( ent2ncr( __( 'Comments for %1$s searching on %2$s' ) ), get_bloginfo_rss( 'name' ), get_search_query() ); |
| 38 | 38 | } else { |
| 39 | | /* translators: Comments feed title. %s: Site title. */ |
| | 39 | /* translators: Comments feed title. %s: Site title. Do not use HTML entities ( , etc.) - used in RSS feeds. */ |
| 40 | 40 | printf( ent2ncr( __( 'Comments for %s' ) ), get_wp_title_rss() ); |
| 41 | 41 | } |
| 42 | 42 | ?> |
| … |
… |
while ( have_comments() ) : |
| 82 | 82 | $title = get_the_title( $comment_post->ID ); |
| 83 | 83 | /** This filter is documented in wp-includes/feed.php */ |
| 84 | 84 | $title = apply_filters( 'the_title_rss', $title ); |
| 85 | | /* translators: Individual comment title. 1: Post title, 2: Comment author name. */ |
| | 85 | /* translators: Individual comment title. 1: Post title, 2: Comment author name. Do not use HTML entities ( , etc.) - used in RSS feeds. */ |
| 86 | 86 | printf( ent2ncr( __( 'Comment on %1$s by %2$s' ) ), $title, get_comment_author_rss() ); |
| 87 | 87 | } else { |
| 88 | | /* translators: Comment author title. %s: Comment author name. */ |
| | 88 | /* translators: Comment author title. %s: Comment author name. Do not use HTML entities ( , etc.) - used in RSS feeds. */ |
| 89 | 89 | printf( ent2ncr( __( 'By: %s' ) ), get_comment_author_rss() ); |
| 90 | 90 | } |
| 91 | 91 | ?> |
diff --git a/src/wp-includes/feed-rss2-comments.php b/src/wp-includes/feed-rss2-comments.php
index 85a4079fa0..d36d5a8e30 100644
|
a
|
b
|
do_action( 'rss_tag_pre', 'rss2-comments' ); |
| 35 | 35 | <title> |
| 36 | 36 | <?php |
| 37 | 37 | if ( is_singular() ) { |
| 38 | | /* translators: Comments feed title. %s: Post title. */ |
| | 38 | /* translators: Comments feed title. %s: Post title. Do not use HTML entities ( , etc.) - used in RSS feeds. */ |
| 39 | 39 | printf( ent2ncr( __( 'Comments on: %s' ) ), get_the_title_rss() ); |
| 40 | 40 | } elseif ( is_search() ) { |
| 41 | | /* translators: Comments feed title. 1: Site title, 2: Search query. */ |
| | 41 | /* translators: Comments feed title. 1: Site title, 2: Search query. Do not use HTML entities ( , etc.) - used in RSS feeds. */ |
| 42 | 42 | printf( ent2ncr( __( 'Comments for %1$s searching on %2$s' ) ), get_bloginfo_rss( 'name' ), get_search_query() ); |
| 43 | 43 | } else { |
| 44 | | /* translators: Comments feed title. %s: Site title. */ |
| | 44 | /* translators: Comments feed title. %s: Site title. Do not use HTML entities ( , etc.) - used in RSS feeds. */ |
| 45 | 45 | printf( ent2ncr( __( 'Comments for %s' ) ), get_wp_title_rss() ); |
| 46 | 46 | } |
| 47 | 47 | ?> |
| … |
… |
do_action( 'rss_tag_pre', 'rss2-comments' ); |
| 85 | 85 | $title = get_the_title( $comment_post->ID ); |
| 86 | 86 | /** This filter is documented in wp-includes/feed.php */ |
| 87 | 87 | $title = apply_filters( 'the_title_rss', $title ); |
| 88 | | /* translators: Individual comment title. 1: Post title, 2: Comment author name. */ |
| | 88 | /* translators: Individual comment title. 1: Post title, 2: Comment author name. Do not use HTML entities ( , etc.) - used in RSS feeds. */ |
| 89 | 89 | printf( ent2ncr( __( 'Comment on %1$s by %2$s' ) ), $title, get_comment_author_rss() ); |
| 90 | 90 | } else { |
| 91 | | /* translators: Comment author title. %s: Comment author name. */ |
| | 91 | /* translators: Comment author title. %s: Comment author name. Do not use HTML entities ( , etc.) - used in RSS feeds. */ |
| 92 | 92 | printf( ent2ncr( __( 'By: %s' ) ), get_comment_author_rss() ); |
| 93 | 93 | } |
| 94 | 94 | ?> |
diff --git a/src/wp-includes/pluggable.php b/src/wp-includes/pluggable.php
index 1dbac5e1d7..9567aa3640 100644
|
a
|
b
|
if ( ! function_exists( 'wp_notify_postauthor' ) ) : |
| 1792 | 1792 | $notify_message = sprintf( __( 'New trackback on your post "%s"' ), $post->post_title ) . "\r\n"; |
| 1793 | 1793 | /* translators: 1: Trackback/pingback website name, 2: Website IP address, 3: Website hostname. */ |
| 1794 | 1794 | $notify_message .= sprintf( __( 'Website: %1$s (IP address: %2$s, %3$s)' ), $comment->comment_author, $comment->comment_author_IP, $comment_author_domain ) . "\r\n"; |
| 1795 | | /* translators: %s: Trackback/pingback/comment author URL. */ |
| | 1795 | /* translators: %s: Trackback/pingback/comment author URL. Do not use HTML entities ( , etc.) - used in emails. */ |
| 1796 | 1796 | $notify_message .= sprintf( __( 'URL: %s' ), $comment->comment_author_url ) . "\r\n"; |
| 1797 | 1797 | /* translators: %s: Comment text. */ |
| 1798 | 1798 | $notify_message .= sprintf( __( 'Comment: %s' ), "\r\n" . $comment_content ) . "\r\n\r\n"; |
| … |
… |
if ( ! function_exists( 'wp_notify_postauthor' ) ) : |
| 1806 | 1806 | $notify_message = sprintf( __( 'New pingback on your post "%s"' ), $post->post_title ) . "\r\n"; |
| 1807 | 1807 | /* translators: 1: Trackback/pingback website name, 2: Website IP address, 3: Website hostname. */ |
| 1808 | 1808 | $notify_message .= sprintf( __( 'Website: %1$s (IP address: %2$s, %3$s)' ), $comment->comment_author, $comment->comment_author_IP, $comment_author_domain ) . "\r\n"; |
| 1809 | | /* translators: %s: Trackback/pingback/comment author URL. */ |
| | 1809 | /* translators: %s: Trackback/pingback/comment author URL. Do not use HTML entities ( , etc.) - used in emails. */ |
| 1810 | 1810 | $notify_message .= sprintf( __( 'URL: %s' ), $comment->comment_author_url ) . "\r\n"; |
| 1811 | 1811 | /* translators: %s: Comment text. */ |
| 1812 | 1812 | $notify_message .= sprintf( __( 'Comment: %s' ), "\r\n" . $comment_content ) . "\r\n\r\n"; |