summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/jetpack/modules/sitemaps/sitemap-buffer-page-fallback.php')
-rw-r--r--plugins/jetpack/modules/sitemaps/sitemap-buffer-page-fallback.php7
1 files changed, 5 insertions, 2 deletions
diff --git a/plugins/jetpack/modules/sitemaps/sitemap-buffer-page-fallback.php b/plugins/jetpack/modules/sitemaps/sitemap-buffer-page-fallback.php
index 16f1e997..8f742915 100644
--- a/plugins/jetpack/modules/sitemaps/sitemap-buffer-page-fallback.php
+++ b/plugins/jetpack/modules/sitemaps/sitemap-buffer-page-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_Page
@@ -15,7 +16,9 @@
* @since 5.3.0
*/
class Jetpack_Sitemap_Buffer_Page extends Jetpack_Sitemap_Buffer_Fallback {
-
+ /**
+ * Returns a DOM element that contains all single page sitemap elements.
+ */
protected function get_root_element() {
if ( ! isset( $this->root ) ) {