diff options
Diffstat (limited to 'plugins/jetpack/modules/sitemaps/sitemap-buffer-news-fallback.php')
-rw-r--r-- | plugins/jetpack/modules/sitemaps/sitemap-buffer-news-fallback.php | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/plugins/jetpack/modules/sitemaps/sitemap-buffer-news-fallback.php b/plugins/jetpack/modules/sitemaps/sitemap-buffer-news-fallback.php index 013e2535..154c28c8 100644 --- a/plugins/jetpack/modules/sitemaps/sitemap-buffer-news-fallback.php +++ b/plugins/jetpack/modules/sitemaps/sitemap-buffer-news-fallback.php @@ -1,4 +1,5 @@ -<?php +<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName +// phpcs:disable Generic.Classes.DuplicateClassName.Found -- sitemap-builder.php will require correct class file. /** * Sitemaps (per the protocol) are essentially lists of XML fragments; * lists which are subject to size constraints. The Jetpack_Sitemap_Buffer_News @@ -10,12 +11,14 @@ */ /** - * A buffer for constructing sitemap image xml files for users without libxml support. + * A buffer for constructing sitemap news xml files for users without libxml support. * * @since 5.3.0 */ class Jetpack_Sitemap_Buffer_News extends Jetpack_Sitemap_Buffer_Fallback { - + /** + * Returns a DOM element that contains all news sitemap elements. + */ protected function get_root_element() { if ( ! isset( $this->root ) ) { |