Code Duplication    Length = 6-6 lines in 2 locations

wp-includes/feed-atom-comments.php 1 location

@@ 31-36 (lines=6) @@
28
	?>
29
>
30
	<title type="text"><?php
31
		if ( is_singular() )
32
			printf( ent2ncr( __( 'Comments on %s' ) ), get_the_title_rss() );
33
		elseif ( is_search() )
34
			printf( ent2ncr( __( 'Comments for %1$s searching on %2$s' ) ), get_bloginfo_rss( 'name' ), get_search_query() );
35
		else
36
			printf( ent2ncr( __( 'Comments for %s' ) ), get_wp_title_rss() );
37
	?></title>
38
	<subtitle type="text"><?php bloginfo_rss('description'); ?></subtitle>
39

wp-includes/feed-rss2-comments.php 1 location

@@ 36-41 (lines=6) @@
33
>
34
<channel>
35
	<title><?php
36
		if ( is_singular() )
37
			printf( ent2ncr( __( 'Comments on: %s' ) ), get_the_title_rss() );
38
		elseif ( is_search() )
39
			printf( ent2ncr( __( 'Comments for %1$s searching on %2$s' ) ), get_bloginfo_rss( 'name' ), get_search_query() );
40
		else
41
			printf( ent2ncr( __( 'Comments for %s' ) ), get_wp_title_rss() );
42
	?></title>
43
	<atom:link href="<?php self_link(); ?>" rel="self" type="application/rss+xml" />
44
	<link><?php (is_single()) ? the_permalink_rss() : bloginfo_rss("url") ?></link>