Code Duplication    Length = 4-4 lines in 2 locations

modules/sitemaps/sitemaps.php 2 locations

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