Code Duplication    Length = 4-4 lines in 2 locations

src/wp-includes/functions.php 2 locations

@@ 1277-1280 (lines=4) @@
1274
 * @param bool $for_comments True for the comment feed, false for normal feed.
1275
 */
1276
function do_feed_rss2( $for_comments ) {
1277
	if ( $for_comments )
1278
		load_template( ABSPATH . WPINC . '/feed-rss2-comments.php' );
1279
	else
1280
		load_template( ABSPATH . WPINC . '/feed-rss2.php' );
1281
}
1282
1283
/**
@@ 1293-1296 (lines=4) @@
1290
 * @param bool $for_comments True for the comment feed, false for normal feed.
1291
 */
1292
function do_feed_atom( $for_comments ) {
1293
	if ($for_comments)
1294
		load_template( ABSPATH . WPINC . '/feed-atom-comments.php');
1295
	else
1296
		load_template( ABSPATH . WPINC . '/feed-atom.php' );
1297
}
1298
1299
/**