Loading core/modules/taxonomy/lib/Drupal/taxonomy/Tests/RssTest.php +4 −0 Original line number Diff line number Diff line Loading @@ -105,5 +105,9 @@ function testTaxonomyRss() { ), ); $this->assertRaw(format_xml_elements(array($test_element)), 'Term is displayed when viewing the rss feed.'); // Test that the feed page exists for the term. $this->drupalGet("taxonomy/term/{$term1->tid}/feed"); $this->assertRaw('<rss version="2.0"', "Feed page is RSS."); } } core/modules/taxonomy/taxonomy.pages.inc +1 −1 Original line number Diff line number Diff line Loading @@ -78,7 +78,7 @@ function taxonomy_term_feed(Term $term) { $channel['description'] = check_markup($term->description, $term->format, '', TRUE); $nids = taxonomy_select_nodes($term->tid, FALSE, config('system.rss')->get('items.limit')); node_feed($nids, $channel); return node_feed($nids, $channel); } /** Loading Loading
core/modules/taxonomy/lib/Drupal/taxonomy/Tests/RssTest.php +4 −0 Original line number Diff line number Diff line Loading @@ -105,5 +105,9 @@ function testTaxonomyRss() { ), ); $this->assertRaw(format_xml_elements(array($test_element)), 'Term is displayed when viewing the rss feed.'); // Test that the feed page exists for the term. $this->drupalGet("taxonomy/term/{$term1->tid}/feed"); $this->assertRaw('<rss version="2.0"', "Feed page is RSS."); } }
core/modules/taxonomy/taxonomy.pages.inc +1 −1 Original line number Diff line number Diff line Loading @@ -78,7 +78,7 @@ function taxonomy_term_feed(Term $term) { $channel['description'] = check_markup($term->description, $term->format, '', TRUE); $nids = taxonomy_select_nodes($term->tid, FALSE, config('system.rss')->get('items.limit')); node_feed($nids, $channel); return node_feed($nids, $channel); } /** Loading