Code Duplication    Length = 4-4 lines in 2 locations

modules/sitemaps/sitemaps.php 2 locations

@@ 405-408 (lines=4) @@
402
		 */
403
		$discover_sitemap = apply_filters( 'jetpack_sitemap_generate', true );
404
405
		if ( true === $discover_sitemap ) {
406
			$sitemap_url      = $this->finder->construct_sitemap_url( 'sitemap.xml' );
407
			echo 'Sitemap: ' . esc_url( $sitemap_url ) . "\n";
408
		}
409
410
		/**
411
		 * Filter whether to make the news sitemap discoverable to robots or not. Default true.
@@ 420-423 (lines=4) @@
417
		 */
418
		$discover_news_sitemap = apply_filters( 'jetpack_news_sitemap_generate', true );
419
420
		if ( true === $discover_news_sitemap ) {
421
			$news_sitemap_url = $this->finder->construct_sitemap_url( 'news-sitemap.xml' );
422
			echo 'Sitemap: ' . esc_url( $news_sitemap_url ) . "\n";
423
		}
424
425
		return;
426
	}