Code Duplication    Length = 4-4 lines in 2 locations

modules/sitemaps/sitemaps.php 2 locations

@@ 410-413 (lines=4) @@
407
		 */
408
		$discover_sitemap = apply_filters( 'jetpack_sitemap_generate', true );
409
410
		if ( true === $discover_sitemap ) {
411
			$sitemap_url      = $this->finder->construct_sitemap_url( 'sitemap.xml' );
412
			echo 'Sitemap: ' . esc_url( $sitemap_url ) . "\n";
413
		}
414
415
		/**
416
		 * Filter whether to make the news sitemap discoverable to robots or not. Default true.
@@ 425-428 (lines=4) @@
422
		 */
423
		$discover_news_sitemap = apply_filters( 'jetpack_news_sitemap_generate', true );
424
425
		if ( true === $discover_news_sitemap ) {
426
			$news_sitemap_url = $this->finder->construct_sitemap_url( 'news-sitemap.xml' );
427
			echo 'Sitemap: ' . esc_url( $news_sitemap_url ) . "\n";
428
		}
429
430
		return;
431
	}