diff --git a/wp-includes/functions.php b/wp-includes/functions.php index b9e69ca15e..f7cf0d003b 100644 --- a/wp-includes/functions.php +++ b/wp-includes/functions.php @@ -769,7 +769,7 @@ function do_feed() { $feed = 'rss2'; $for_comments = false; - if ( is_single() || get_query_var('withcomments') == 1 || $feed == 'comments-rss2' ) { + if ( is_singular() || get_query_var('withcomments') == 1 || $feed == 'comments-rss2' ) { $feed = 'rss2'; $for_comments = true; }