diff options
Diffstat (limited to 'plugins/jetpack/modules/sitemaps/sitemap-finder.php')
-rw-r--r-- | plugins/jetpack/modules/sitemaps/sitemap-finder.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/jetpack/modules/sitemaps/sitemap-finder.php b/plugins/jetpack/modules/sitemaps/sitemap-finder.php index f1a1d773..87d0c2bc 100644 --- a/plugins/jetpack/modules/sitemaps/sitemap-finder.php +++ b/plugins/jetpack/modules/sitemaps/sitemap-finder.php @@ -1,4 +1,4 @@ -<?php +<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName /** * The functions in this class provide an API for handling * sitemap related URIs. @@ -32,7 +32,7 @@ class Jetpack_Sitemap_Finder { $url = jetpack_sitemap_uri( $filename ); if ( pathinfo( $filename, PATHINFO_EXTENSION ) === 'xsl' ) { - // strip scheme for sites where sitemap could be access via http or https + // Strip scheme for sites where sitemap could be access via http or https. $url = preg_replace( '/^https?:/', '', $url ); } |