Code Duplication    Length = 4-4 lines in 2 locations

modules/sitemaps/sitemaps.php 2 locations

@@ 414-417 (lines=4) @@
411
		 */
412
		$discover_news_sitemap = apply_filters( 'jetpack_news_sitemap_generate', true );
413
414
		if ( true === $discover_news_sitemap ) {
415
			$news_sitemap_url = $this->finder->construct_sitemap_url( 'news-sitemap.xml' );
416
			echo 'Sitemap: ' . esc_url( $news_sitemap_url ) . "\n";
417
		}
418
419
		return;
420
	}
@@ 399-402 (lines=4) @@
396
		 */
397
		$discover_sitemap = apply_filters( 'jetpack_sitemap_generate', true );
398
399
		if ( true === $discover_sitemap ) {
400
			$sitemap_url      = $this->finder->construct_sitemap_url( 'sitemap.xml' );
401
			echo 'Sitemap: ' . esc_url( $sitemap_url ) . "\n";
402
		}
403
404
		/**
405
		 * Filter whether to make the news sitemap discoverable to robots or not. Default true.